M52233DEMO General Purpose IO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

M52233DEMO General Purpose IO

1,821 Views
hammondsp
Contributor I
Hi,

I have been trying to figure out ways to configure the GPIO on my M52233DEMO board for a while now, and simply can't figure out how to do everything I want to do. I am still having the following problems with the IO devices:

1 - I am unable to locate on the board where several of the GPIO pins are, and have been unsuccessful in finding online documentation that clearly states their locations. I have only found the locations of AS, QS, TA, TC, UA, and UB on the board. Where are the rest?

2 - I have only been able to work with digitally data, is there a way to configure for analog input/output on a single pin?

Any help would be appreciated.

-SPH
Labels (1)
0 Kudos
Reply
3 Replies

518 Views
mjbcswitzerland
Specialist V
SPH

Use the DEMO52233 circuit diagram together with the M52235 data sheet (not the RM) - the document is named "MCF52235DS Rev. 3, 02/2007".

Here you see a table of all pin functions for various device types (the DEMO52233 has the 80 pin chip on it and so doesn't support all GPIO) - starts at page 17.

In the DEMO52233 diagram most pins are referenced by function name and from the table you can quite easily see exactly which GPIO they correspond to.

As an aid I have attached a screen shots of the uTasker simulator simulating the DEMO52233 board and the M52235EVB (which has the 112 pin device on it). You can see which ports are missing on the smaller device. Pins with '-' are not available on the particular chip.


Note that the device has 8 analog inputs but these can not be used as analogue outputs (no DAC). To use them, simply set them for ADC use in the PANPAR register
PANPAR = 0xff; // this sets all 8 ADC pin for ADC use

Regards

0 Kudos
Reply

518 Views
wkl3
Contributor I
uTasker, et al,
 
Is this correct that the MCF52233DEMO cannot be configured as outputs to connect to a DAC?
 
I've been attempting to connect pins 10 to 24 (even) to connect to a DAC0808.  I cannot get the signal levles on these pins to change.
 
>Note that the device has 8 analog inputs but these can not be used as analogue outputs (no DAC). To >use them, simply set them for ADC use in the PANPAR register
>PANPAR = 0xff; // this sets all 8 ADC pin for ADC use
 
WKL3
0 Kudos
Reply

518 Views
hammondsp
Contributor I
I appreciate the helpful info, it has helped me out quite a bit.
0 Kudos
Reply