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.
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
Hi, we have received your question and feedback to engineer, please expect the response. Thanks.
Hi, you can use either way. But I like to use the #1: use one mailbox to send the data.
If I want to use multiple messageboxes to send data, what should I do?use the #2?