Hello,
Does the LIN module provide loopback mode when it is configured for general-purpose I/O?
The following extract from the TRM implies that it doesn't.
Thank you.
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.
Hello,
Does the LIN module provide loopback mode when it is configured for general-purpose I/O?
The following extract from the TRM implies that it doesn't.
Thank you.
Hi Andrew,
When you configure LIN pins into GPIO pins then you can't perform loopback. Instead of you can do the following things,
Similar to the other GPIO pins, you can simply set the pin direction as output, set it high/low then read back on the input side to make sure it's matching. For additional error checking, on GPIO, you can also test for shorts by setting a pin high, the adjacent pin low, then readback both. Since we use zero dominant structures, if both read low, then the pins are shorted. This could also be applied to signals on board that are next to each other.
--
Thanks & regards,
Jagadish.