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.

TMS570lS1224 ADC 中断读取数据只能进行一次

Other Parts Discussed in Thread: HALCOGEN

利用PWM触发ADC中断后,只能进入中断一次读取数据后就跳到这里死循环了

prefetchEntry
                 b prefetchEntry

怎么才能在连续触发进入中断读取数据呢?

  • 程序非法访问了数据,引起了Data Abort的异常.比如你PC指针没有跳转到正确的函数入口,而是跳转到了没有程序的地方。

    如果使用Keil开发环境,在Halcogen生成工程时,要选择生成Keil的工程,而不是CCS的工程。

    这里有一个用Halcogen建立Keil工程的说明:

    http://www.keil.com/appnotes/docs/apnt_210.asp