AnsweredAssumed Answered

S32K148 FLEXCAN FITLER CAN_ID

Question asked by WANG LI on Nov 26, 2019
Latest reply on Nov 26, 2019 by Alexandru Nan

HI,Dear

 

use S32K148 FLEXCAN

I need add ID;

 

code:

FLEXCAN_DRV_Init(INST_CANCOM1, &canCom1_State, &canCom1_InitConfig0);
flexcan_data_info_t dataInfo =
{
.data_length = 8U,
.msg_id_type = FLEXCAN_MSG_ID_STD,
.enable_brs = true,
.fd_enable = false,
.fd_padding = 0U
};
/* Configure RX message buffer with index RX_MSG_ID and RX_MAILBOX */
FLEXCAN_DRV_ConfigRxMb(INST_CANCOM1, RX_MAILBOX, &dataInfo, 0x1);

 


Only receive ID 0X1,how to add more ID?

help me,please

 

thanks

BRS

Grayli

Outcomes