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.

关于sysBios和Timer的两个问题

Other Parts Discussed in Thread: SYSBIOS

(1)在平台6670下按照Task Mutex Example建立了一个新project,使用CSL_chipReadReg()函数时老是报错,说该函数没有定义,可是我明明已经加了包含该函数声明的头文件了,如果我手动添加,,/ti.csl.ae66库,则又会在编译时提示错误:/ti.csl.ae66" , line3:error#7:unrecognized token。

(2)在平台6670下按照CPI 6670 notify Example建立一个新的project,然后需要用到timer我就使用了函数Timer_create( ),编译通过,debug时该函数报错:ti.sysbios.timer.timer64.timer: line476:E_notAvailable: Timer not available。然而我在该函数之前调用Timer_getStatus() 获取我所需要的Timer ID时,发现该Timer是free状态的,我已经在sysbios配置文件下加入了timer64组件。

请问是什么原因,有什么办法解决?谢谢!

  • 1)请检查在调用CSL_chipReadReg()函数的C代码里是否已经增加了包含定义该函数的.h文件的代码

    2)方便的话,能不能把工程发来看下

    谢谢!

x 出现错误。请重试或与管理员联系。