Tool/software:
The DSP28335 accesses the TCAN4551 chip via SPI to realise the data transmitting and receiving function.The baud rate of SPI is 5MHZ.The arbitration field of CANFD is configured as 500KHZ and the data field is configured as 2MHZ.
The number of 5 packets are sent outward over the CANFD bus with the following frame IDs and periods:
0x11B (10ms period), 0x12A (20ms period), 0x6F7 (10ms period), 0x50D (1280ms period), 0x6F5 (1280ms period)
No frame loss when there is no other data on the bus. When the load rate on the bus goes to about 40%, data with frame IDs 0x6F5 and 0x50D lose frames more severely. Data with other frame IDs also have occasional frame loss.
The data was examined by the TSMater tool and the frame loss was found as follows:
The configuration or status parameters of some registers of the CANFD chip are as follows:
register address |
Data |
0x000C |
0x00000008 |
0x8000 |
0xC80004A0 |
0x0820 |
0x00000000 |
0x0824 |
0x000901D5 |
0x1018 |
0x00000300 |
0x1040 |
0x00000000 |
0x1044 |
0x000A300F |
0x1050 |
0x000901D5 |
0x10C4 |
0x00000000 |
0x10CC |
0x00000001 |
0x10D8 |
0x00000001 |
0x1084 |
0x000C0000 |
0x1088 |
0x00000000 |
0x10A0 |
0x80020030 |
0x10B0 |
0x000200C0 |
0x10C0 |
0x600004F8 |
0x10C8 |
0x00000007 |
0x10F0 |
0x00000000 |
please help me to see if there are any problems with the configuration of these registers and the status messages read back.
Can you communicate with me via email if it's convenient to follow up?
Keep safe.