Other Parts Discussed in Thread: MSPM0L1227, MSPM0G3519, MSPM0G3507, MSPM0L1306
Tool/software:
Hi Team,
Do we have an example code for communication SBC TLIN1431 with MSPM0L1227 over SPI with CRC feature enabled?
Thank you,
Daria
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.
Tool/software:
Hi Team,
Do we have an example code for communication SBC TLIN1431 with MSPM0L1227 over SPI with CRC feature enabled?
Thank you,
Daria
Hi Daria,
We only have the LIN example for MSPM0G3507/MSPM0G3519/MSPM0L1306 devices currently, but MSPM0L1227 have UART with LIN supported, and it is easy to migrate a LIN example for MSPM0L1227 based on LIN example of MSPM0G3507: LIN
As for TLIN1431, our LIN example achieves the LIN protocol with CRC feature, not specify the LIN transceiver.
Best Regards,
Pengfei
Hi Pengfei,
They are looking for example code for communication to SBC TLIN1431,
e.g. How to enable and service window watchdog module present in TLIN1431.
They tried disable window watchdog / also tried configuring 64ms window time and service but still microcontroller is being reset. I am looking hints in this direction or example code if available.
Thanks,
Daria
Hi Daria,
We do not have an example in MSPM0 for TLIN1431 communication.
As for your question about watchdog configuration, I think one way is to set a much smaller service period than the setting watchdog period. Another point is that as it is a windowed watchdog, it is also important to make sure the service signal is within the open window, the observing the waveform of nRST and watchdog service signal may be helpful for debugging.
Hi Pengfei,
Do you have sample code CRC8H27 with polynomial 0x2F used for TLIN1431device ?
Thanks,
Daria
Hi Daria,
MSPM0 support CRC16-CCITT and CRC32- ISO3309 polynomial functions, please see Chapter 22 CRC of MSPM0 G-Series 80-MHz Microcontrollers Technical Reference Manual (Rev. B) for more details.
Which CRC algorithm is customer desiring for ?
Best Regards,
Pengfei