This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPL138 timer 调试问题

Other Parts Discussed in Thread: SYSBIOS

一开始,我用sysbios,用了clock模块,我选择的timer ID为any,没出现问题,但是linux系统占用了timer0,和timer1,所以我就把timer ID改为2了,

在jtag模式下,我首先连接DSP核,timer就能正常工作,如果这时候在连接下arm核,dsp的timer就不能正常工作了,把ARM核resume后dsp就能正常工作了。

我以为是timer2没有初始化导致的,后来我在main函数里添加了timer2的初始化代码,但是发现GPINT_GPEN、PRD34这几个寄存器不能赋值,配置好以后我在读

出来,发现值为0.请问这到底这么回事?timer2,timer3到底该怎么用?

timer模块有PSC控制吗?我在PSC那章没有看到关于timer的id