Forums

Using address pin as GPIO on 56F805 with PE

Started by Bruno Tremblay April 26, 2005

Hello,

            I’ve already done this when I was using the SDK but I can’t figure how to do it with Processor Expert. What I want to do is: while still using A0-A5 as address pin I want to use A6-A15 as there GPIO pin. I’ve try to set the external bus with an Ext16IO bean at 0x2000. Then, when I try to set the GPIOA, PE gives me an error.

 

If I can’t do it with PE, is there a work around?

 

 

Thanks

 

Bruno

 

 



--- In motoroladsp@moto..., "Bruno Tremblay" <btremblay@g...>
wrote:
> Hello,
>
> I've already done this when I was using the SDK but I
can't
> figure how to do it with Processor Expert. What I want to do is:
while still
> using A0-A5 as address pin I want to use A6-A15 as there GPIO pin.
I've try
> to set the external bus with an Ext16IO bean at 0x2000. Then, when
I try to
> set the GPIOA, PE gives me an error.
>
> If I can't do it with PE, is there a work around?
>
> Thanks
>
> Bruno

You can always use the macros in PE_Types.h and the #defines in
IO_Map.h to directly bang the bits required to setup the GPIO pins as
you desire.




Slightly off topic.

I used to program the 56F80X family of DSPs with Codewarrior 5.0. Now, I am
implementing HC908s as a low cost replacement in low-end applications.

Questions:
1) Does anybody know any other Motorola/Yahoo group as good as this one? I
searched but got nothing.
2) Regarding Codewarrior environment, is it the same for HC908s as for
56F80x? I have found several similarities and want to apply all I know from
the 56800 into HC908s.

Thanks!
Mariano