TLE5012B interface

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello,
I have some questions about CRC calculation with Data transfert.
See my file below.
693.attach
0 Likes
3 Replies
User270
Level 5
Level 5
5 solutions authored First solution authored
Hello,

Your code is fine to calculate the crc8. Only command and data words will be used for crc (-> 0x80,0x03...0x97,0xca). Using this the crc result will be 0xFC.
What is the source of your transfer example? It seems that this is not a real transfer of TLE5012 with x8+x4+x3+x2+x0 crc polynom.
0 Likes
Not applicable
Hello Forix,
The transfer example is a snapshot of my logic analyser. This is a real data transfer between a TLE5012B and my µC (STM32).
I did the same test as you with frame "0x80,0x03...0x97,0xca" and the result "0xfc" is different from SAFETYWORD (0xc5).
I sent a request to INFINEON (via SILICA) and I await news.
0 Likes
Not applicable
I found the problem.
The problem is the delay (Twr_delay) between the command and the data1. The DataSheet indicates 130ns mini but not typical value. I did a lot of testing and it run well with 10µs (!!).
0 Likes