S32K1xx:interruption problem

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

S32K1xx:interruption problem

774 Views
shengzhibing
Contributor II

Hi:

status_t FLEXCAN_DRV_ConfigRxMb(uint8_t instance,uint8_t mb_idx,const flexcan_data_info_t *rx_info,uint32_t msg_id)

void FLEXCAN_DRV_InstallEventCallback(uint8_t instance,flexcan_callback_t callback,void *callbackParam)

if i want to enter interrupt when i receive two or more message,what should set?

Thank you for your answer!

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

690 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Zhibing,

You may need to use the RX FIFO instead of use Message Buffer to achieve it.
About the RX FIFO, you can refer: What is the difference between RX FIFO and message box
You can refer this: Example S32K144 FlexCAN RXFIFO DMA S32DS.ARM.2018.R1

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

690 Views
shengzhibing
Contributor II

Hi Robin_Shen:

Thank you for your reply, which is very useful to me.

Best Regards,

Zhibing Sheng

0 Kudos