MCF5213 BDM

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

MCF5213 BDM

1,330 Views
amprel
Contributor I
Hello everybody !
 
A quick question (actually, two) regarding the MCF5213. Is it possible to use the following BDM pins: DDATA[3:0], PST[3:0] as general-purpose pins ? If yes, how can these pins be configured this way to avoid that, when debugging, the BDM interferes with them ?
 
Thanks in advance !
 
Alessandro
Labels (1)
0 Kudos
1 Reply

409 Views
mpeters
Contributor I
"Is it possible to use the following BDM pins: DDATA[3:0], PST[3:0] as general-purpose pins?"

The answer to this question is yes. By default, these pins come up as GPIO out of reset. You can confirm this by checking the bit settings in the PDDPAR Register of the GPIO module (Port Debug Data Pin Assignment Register). Therefore you don't have to do anything special to use these pins as GPIO, they're GPIO by default.

One thing to point out: by using these pins for GPIO functionality, you lose the ability to do Real Time Trace debugging.

Also, if you choose to use the BDM pins for GPIO, depending on your BDM interface, you might have to route the ALLPST signal from the processor to all of the PST[3:0] pins on the BDM header. The ALLPST signal is a logical AND of the PST[3:0] signals, and may be required for doing debugging of the PST[3:0] signals aren't being used. This is required for the P&E Wiggler that comes with our evaluation boards, but may not be required for other BDM interfaces.

Regards,
mpeters

Message Edited by mpeters on 2006-10-09 06:17 PM

0 Kudos