How to receive both extended & standard CAN messages using enhanced FIFO in RTD?

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

How to receive both extended & standard CAN messages using enhanced FIFO in RTD?

858 Views
shawnyuan
Contributor II

I am configuring the RTD CAN RX enhanced FIFO. But I cannot make the CAN module to receive both extended&standard CAN messages.

 

The S32G2 reference manual mentioned the enhanced FIFO can receive 2 different CAN message types

enhaced fifo.jpg

But the RTD seems don't allow me to do that. It only let me to use all extended or standard filters.

The generated code cannot have num_enhanced_std_id_filters and num_enhanced_ext_id_filters non-zero at the same time. 

 

const Flexcan_Ip_ConfigType Flexcan_aCtrlConfigPB_VS_0[4U]=
{
/* Can Hardware Channel FLEXCAN_0 */
{
...
/* The number of standard ID filter elements */
0U,
/* The number of extended ID filter elements */
2U,

 

 

Does the RTD support this feature? If not, what is the alternative solution to receive extended&standard messages in a single CAN module?

0 Kudos
3 Replies

816 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

a

0 Kudos

745 Views
shawnyuan
Contributor II

Hi @Bio_TICFSL , can you provide more details? Thanks!

0 Kudos

807 Views
shawnyuan
Contributor II

Hi @Bio_TICFSL , can you provide more details

0 Kudos