|
TICK 的修改在 dsp.cfg 文件中 e7 g8 K$ m! Q
- x; v( B N" S" U1 u, R# T, W
151 /* configure SysBios to use the lower half of Timer 1 */
# d9 |5 P$ l2 F9 U. [152 var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');
2 F$ I4 Q" d9 M( e/ l X153 var Clock = xdc.useModule('ti.sysbios.knl.Clock');3 G6 N _! H4 _4 @2 r9 R' W) `
154 Timer.timerSettings[1].master = true;# z9 d' S; u- E
155 Timer.defaultHalf = Timer.Half_LOWER;
6 Y5 ^, h* J, h; L. s156 Clock.timerId = 1;
5 j. L, u% C4 ^) y# \+ i157 Clock.tickPeriod = 5; //5us
* F# q2 u4 ^8 p0 i3 P
+ a. o! ]( n3 H+ i3 @1 v修改后重新编译程序
% s* `* T" T# [, E" g |
|