2127427_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2127427_en-US

2127427_en-US

LPC5536 MCAN RF0F Interrupt

Hello,

Why am I getting this interrupt (IR:RF0F) if the IE:RF0FE is set to 0?


I'm trying to figure this out by monitoring the IE register and it is changing from 0x3800000 to 0x3800001, the bit number 3 is not being set at anytime.


Best regards,

Cristiano Rodrigues



Re: LPC5536 MCAN RF0F Interrupt

Hello @microcris 

The flag of kMCAN_RxFifo0FullFlag is to avoid Rx FIFO overflow.


Thank you.

Alice

Re: LPC5536 MCAN RF0F InterruptHello @Alice_Yang!

Thank you for your answer.
It is all fine with the IE register. I was just stating that the IE:RF0FE (it is the bit number 2 and not the bit number 3) was not being set and the and the IR:RF0F was being triggered. If it is an hardware thing, it is all right then.
It is just a little bit annoying to have a kStatus_MCAN_TxIdle and a kStatus_MCAN_UnHandled with result set to kMCAN_RxFifo0FullFlag for every received message.

Re: LPC5536 MCAN RF0F Interrupt

Hello @microcris 

Thanks for your question.

The flag (IR:RF0F) is automatically set by the hardware and has no relation to the interrupt enable register IE:RF0FE. The IE register notifies the CPU to execute the interrupt handler. Regarding the change of IE bit 0 from 0 to 1, please debug the code to check where this bit is being modified.

Thank you.

BR

Alice

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 11:58 PM
更新者: