Re: DMA 中斷沒有反應?
|
||||
---|---|---|---|---|
版主
|
在還沒看程式前先說一下 : "在DMA0 interrupt裏面加了兩句printf(), " 在中斷裡用 printf( )? 你枝到她要花多少執行時間嗎? 中斷的執行時間是越短越好,加了 printf( ) 會不會造成資料被蓋掉的情形。
發表於: 2009/4/28 10:31
|
|||
|
DMA 中斷沒有反應?
|
||||
---|---|---|---|---|
新會員
|
我參考了Microchip的CE100_ADC_IIR_Filter例子,
它本來用dsPIC33FJ256GP701, 我把它修改成dsPIC33FJ128GP802, 但問題出來了。 原來, 我在DMA0 interrupt裏面加了兩句printf(), 然後在Debugger>Stimulus裏, 做一個Register Injection, 把一堆數據注入到AD1BUF0裏面, 看看DMA interrupt有沒有觸發事件。 在原來的dsPIC33FJ256GP701是沒有問題的, 换成dsPIC33FJ128GP802的話, complie是通過了, 但沒發觸發DMA interrupt。 我把project打包成zip文件 有哪位大大可以幫忙看一下嗎? Attach file: Link only for registered users
發表於: 2009/4/28 4:21
|
|||
|