Other Parts Discussed in Thread: TCAN4550
Hi,
I am using TCAN4550 along with NXP's imx8 nano board to transmit and receive the messages.when i am sending CAN messages from simulator to TCAN and further to NANO board,there is huge CAN message loss when sending multiple CAN messages with frequency 1,2,5,10,20,50ms. SPI baud rate configured is 4mbps and TCAN is configured with 56 RXFIFO elements and all messages are stored in RXFIFO0.can i avoid message loss with just 1 RXFIFO?please help how can i avoid message loss when sending multiple messages at a time.
here are the configurations -
*/
TCAN4x5x_MRAM_Config MRAMConfiguration = {0};
MRAMConfiguration.SIDNumElements = 5;//1; // Standard ID number of elements, you MUST have a filter written to MRAM for each element defined
MRAMConfiguration.XIDNumElements = 5;//1; // Extended ID number of elements, you MUST have a filter written to MRAM for each element defined
MRAMConfiguration.Rx0NumElements = 64;//5; // RX0 Number of elements
MRAMConfiguration.Rx0ElementSize = MRAM_64_Byte_Data; // RX0 data payload size
MRAMConfiguration.Rx1NumElements = 5;//0; // RX1 number of elements
MRAMConfiguration.Rx1ElementSize = MRAM_64_Byte_Data; // RX1 data payload size
MRAMConfiguration.RxBufNumElements = 0; // RX buffer number of elements
MRAMConfiguration.RxBufElementSize = MRAM_64_Byte_Data; // RX buffer data payload size
MRAMConfiguration.TxEventFIFONumElements = 0; // TX Event FIFO number of elements
MRAMConfiguration.TxBufferNumElements = 2; // TX buffer number of elements
MRAMConfiguration.TxBufferElementSize = MRAM_64_Byte_Data; // TX buffer data payload size
Thanks in advance.
Regards,
Bipin