This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS1114: CAN 多字节数据如何发送

Part Number: TMS570LS1114

For example, I have 100 bytes of data to send,

1、If several transmit messages should be assigned to one message object, the whole message object has
to be configured before the transmission of this message is requested.

#define D_COUNT  8 

uint8 tx_data[D_COUNT][8] = {0};

for(cnt=0;cnt<D_COUNT;cnt++)
{
canTransmit(canREG1, canMESSAGE_BOX1, tx_ptr); 
tx_ptr +=8;
}

2、The transmission of multiple message objects may be requested at the same time. They are subsequently
transmitted, according to their internal priority.

#define D_COUNT  8 

uint8 tx_data[D_COUNT][8] = {0};

for(canMESSAGE_BOX=1;canMESSAGE_BOX<D_COUNT;canMESSAGE_BOX++)
{
canTransmit(canREG1, canMESSAGE_BOX, tx_ptr); 
tx_ptr +=8;
}

The above are two examples I gave,,I don't understand how to send multi-byte data,Is there any other way?Is it possible to use FIFO to send