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!
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!
-----------------------------------------------------------------------------------------------------------------------
Hi Robin_Shen:
Thank you for your reply, which is very useful to me.
Best Regards,
Zhibing Sheng