AnsweredAssumed Answered

MPC5748G receive extended ID and standard ID at the same mb

Question asked by wang mian on Aug 21, 2018
Latest reply on Sep 11, 2018 by wang mian

My OS is freertos,and components version is S32_SDK_C55

before I receive can data ,I must config first,but I don't know what kind frame I will receive(extended ID and standard ID) 

Now I can only receive 1 kind frame in the same MB.

What's the solution about this?

 

 

flexcan_data_info_t dataInfo =
{
.data_length = len,
.msg_id_type = FLEXCAN_MSG_ID_STD,
.enable_brs = false,
.fd_enable = false,
.fd_padding = 0U
};

/* Configure RX message buffer with index RX_MSG_ID and RX_MAILBOX*/
FLEXCAN_DRV_ConfigRxMb(INST_CANCOM1, mailbox, &dataInfo, msgid);

Outcomes