如题,am5726平台,sysbios版本:bios_6_52_00_12
我们自制的板子没有用官方评估版的19.2m晶振,使用的是20m晶振。发现Task_sleep函数延时不准。不准的比率恰好和晶振的比率相同。
请问,sysbios的系统节拍定时器如何设置,是在linux下做的初始化,还是在dsp侧。系统默认的节拍定时器是GPtimer5吗?
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.
非常感谢,我现在把定时器0~15都改为20M。时间正常了。不过对系统定时器还有几个疑问
1,从手册上来看,整个芯片只有16个定时器,在多核运行时,需要人工去配置,来分配定时器的使用?
2,timer12只能使用内部时钟源,怎么做到可配置的?
3,我在cfg文件里配置了Clock.timerId = 0,1,2,3;都会编译报错ti.sysbios.timers.dmtimer.Timer.Instance#0 : Timer device unavailable.这几个定时器是被谁占用了?
我工程的配置文件选择了ti.platforms.evmDRA7XX:dsp1,是不是定时器就是按上图分配的?