AnsweredAssumed Answered

CAN : Sending multiple 8 byte over one message ID

Question asked by Sushma Mantagani on Feb 11, 2019
Latest reply on Feb 12, 2019 by Sushma Mantagani

Hello,

I'm using flexcan at 500Kbps .Is it possible to send different 8 bytes value(assigned to different message buffer box) with same CAN ID?

 

  uint8_t BmsStatus1[8] = {88,12,34,45,66,97,54,43};

  uint8_t BmsStatus11[8] = {0,2,3,4,5,6,7,0};

 

FLEXCAN_DRV_ConfigTxMb(INST_CANCOM1,MB,&dataInfo,MSG_ID);
FLEXCAN_DRV_ConfigTxMb(INST_CANCOM1,MB9,&dataInfo,MSG_ID);

 

FLEXCAN_DRV_Send(INST_CANCOM1, MB9, &dataInfo1, MSG_ID, &BmsStatus10); 
FLEXCAN_DRV_Send(INST_CANCOM1, MB, &dataInfo, MSG_ID, &BmsStatus1);

 

With this functions in code; I'm able to receive only BmsStatus1. How to get multiple 8 byte value for single message ID over multiple transmission?

 

Both Rx and Tx code are attached. 

Attachments

Outcomes