Q ABOUT S32K144 CAN RX&RXINTERRPT

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

Q ABOUT S32K144 CAN RX&RXINTERRPT

1,407件の閲覧回数
462803281
Contributor I

Hello everyone. I am using the S32K144 chip. I use KEIL software to encode. I encountered some problems when I debugged the CAN bus.

1.CAN reception can only receive previously set identifiers. If I want to receive all CAN data, regardless of his ID, how do I configure registers?

2. CAN receive interrupt CAN0_ORed_0_15_MB_IRQHandler can not enter, in addition to configuring NVIC, what registers need to be configured?

This is my configuration:

S32_NVIC->ICPR[2] |= 1 << (CAN0_ORed_0_15_MB_IRQn % 32);
S32_NVIC->ISER[2] |= 1 << (CAN0_ORed_0_15_MB_IRQn % 32);
S32_NVIC->IP[CAN0_ORed_0_15_MB_IRQn] = 0xA;

Thanks for you answer.

ラベル(1)
タグ(1)
0 件の賞賛
返信
0 返答(返信)