Part Number:TMS320F28388D
参考手册中对于Emulation Mode Bits描述如下,
Emulation Mode Bits. These bits select the behavior of the ePWM
time-base counter during emulation events
00: Stop after the next time-base counter increment or decrement
01: Stop when counter completes a whole cycle:
– Up-count mode: stop when the time-base counter = period (TBCTR
= TBPRD)
– Down-count mode: stop when the time-base counter = 0x00
(TBCTR = 0x00)
– Up-down-count mode: stop when the time-base counter = 0x00
(TBCTR = 0x00)
1x: Free run
Reset type: SYSRSn
请问什么时候会进入Emulation Mode?是连接仿真器的时候吗?
当在CCS中连接仿真器的时候ePWM模块中的TB会停止计数吗?
Eirwen:
Emulation Mode是JTAG仿真的时候。JTAG仿真时ePWM模块中的TB不停止计数。
,
Zhiqiang Ren:
你好。我还想问一下,如果设置了Up-count mode: stop when the time-base counter ,emulation events是指JTAG仿真的时候程序暂停的时候停止计数吗?还是指当JTAG仿真器接上DSP的时刻停止计数?还是说在仿真器仿真的整个过程中都会停?