Hi
I need to configure TPS653850 through SPI interface, is there any code sample for the MCRC calculation?
BR
Saman
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I need to configure TPS653850 through SPI interface, is there any code sample for the MCRC calculation?
BR
Saman
Howdy.
Our expert on this part is busy at the moment. Please expect a response by Friday.
Thanks for your patience.
Best,
- David Martinez
Hello Saman,
We do not have any example code regarding an MCRC calculation. Can you outline exactly what it is you're trying to do?
Regards,
Alex
Hi Alex,
I am trying to write to a TPS653850 register (for example SENS_CTRL which WR_Address is 0x7B), with the value of 0x00, the MCRC value that should be transferred to the TPS653850 should be 0x35 (CRC-8) or 0xD0 (CRC-8/ROHC assuming initial value of 0xFF).

But none of the above MCRC do not work (the register is not updated) . However, based on the evaluation SDI investigation with oscilloscope I realized that the correct value of the MCRC should be 0xE2. So, If I sent this MCRC through the MCU, the register will be updated.
On the other hand, It is mentioned at the TPS653850 datasheet that CRC8 standard is used for MCRC calculation, but it seems that it is not following none of the standard CRC8 which is available on the net like: https://crccalc.com/ or https://www.lddgo.net/en/encrypt/crc
Can you help me on this issue?
I hope you have understood my problem, otherwise let me know.
BR
Saman
Hi,
Sorry for the delay. Please expect a response on Wednesday.
Best,
David
Hey Saman.
The device expert for this part has been unavailable this week unfortunately. He told me he'll be back tomorrow to review your inquiries.
Thanks,
David Martinez
Hi Saman,
Unfortunately we cannot support this device on the public E2E forums due to NDA restrictions. Please reach out through email or work with your field team post on the internal E2E forums.
Best regards,
Layne J