Solved! Go to Solution.
Affected by the registers(Lock control register (address 0Ah)), there is a problem with the above test, and the results are not read correctly
Supplementary data
REG:
TS: 22H
ECS: 60H
SES: 61H
TES: 63H
WES: 64H
CanTrcv_30_Tja1145_SpiOutBuffer is spi tx data
CanTrcv_30_Tja1145_SpiInBuffer is spi feedback data
CanTrcv_30_Tja1145_SpiOutBuffer is written to the following register:
26H length 3bytes data:0x03 0x00 0x00
29H length 3bytes data:0x00 0x15 0x00
2CH length 3bytes data:0x00 0xFC 0x1F
2FH length 1bytes data:0x08
Timing reference attachment and the figure below:
TJA1145AF.jpg is the picture of the chip. Does it support 32-byte writing(Above picture form)?
Affected by the registers(Lock control register (address 0Ah)), there is a problem with the above test, and the results are not read correctly