MCF5213 BDM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCF5213 BDM

1,792 次查看
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 回复

871 次查看
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 项奖励
回复