Q ABOUT S32K144 CAN RX&RXINTERRPT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Q ABOUT S32K144 CAN RX&RXINTERRPT

672 Views
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.

Labels (1)
Tags (1)
0 Kudos
0 Replies