Lin2Can IsoTP Sample¶
This example demonstrates the usage of IsoTP over LIN.
To use the example use 2 boards, flash one with the isotp sample in responder configuration and the other one with the isotp sample in commander configuration (see below on how to do that).
The 2 boards will then transfer isotp packages over LIN bidirectionally.
Build and flash¶
Build the application with for the responder with:
west build --board ardep samples/lin2can/isotp
Or build the application with for the commander with:
west build --board ardep samples/lin2can/isotp -DDTC_OVERLAY_FILE=commander.overlay
Then flash it using dfu-util:
west ardep dfu