MCF5213 BDM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCF5213 BDM

1,362件の閲覧回数
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
ラベル(1)
0 件の賞賛
1 返信

441件の閲覧回数
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 件の賞賛