Other Parts Discussed in Thread: TCAN4550
Hi,
We use T1CAN development board for simple communication with PCAN, encountered the following problems:
1. The register configuration of the board is completed. After sending CAN frames successfully for several times, the subsequent sending fails, and the register 0x1018 INIT[0] is 1. If INT[0] is reset to 0, the message can be sent successfully. This happens when the hardware is just starting to initialize. Then restart and reconfigure other baud rate, and CAN send and receive normally. We have tested CAN baud rate 500k,1M, and CAN FD baud rate up to 4M, and the situation is similar. There will be problems in the first few times of CAN sending and receiving.
2.When the baud rate of CANFD reaches 5M, the initial situation of sending data is similar to that mentioned in question 1. After some CAN data is successfully sent, ESI is displayed as 1. You CAN continue sending CAN data until it fails. Reset INIT to continue sending data successfully. No data is sent,TCAN is successful in receiving data.
As shown in the figure above,INIT[0] is1.Reset register 0x1018 INIT[0] is 0,Send data successfully.
As shown in the figure above,register 0x1018 data0x4300,register 0x1044 data0xA006F.
During this period,TCAN received data successfully.
The register configuration process is as follows.
Register 0x800 data【0xC8000462】Standby
Register 0x1018 data【0x4303】
Clock Feq 40MHz Sample point 75%
Register 0x101C data【0xE001E07】 1M Prescaier=0 tesg1=28 tesg2=9 SJW=9
Register 0x100C data【0x800411】 5M Prescaier=0 tesg1=4 tesg2=1 SJW=1
Register 0x1048 data【0x0505】 TDC
Register 0x1018 data【0x4303】
According to TCAN4550 Software User Guide.pdf ,confgure TXFIFI RX FIFO etc.
Register 0x830 data【0xFFFFFAFF】
Register 0x800 data【0xC80004A2】Normal Mode
We are looking forward to hearing back from you.
Best Regards!