How can I test the CAN peripheral and driver without a CAN transceiver and CAN bus connected?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I test the CAN peripheral and driver without a CAN transceiver and CAN bus connected?

3,496 Views
lpcware
NXP Employee
NXP Employee

Use the internal loopback feature of the CAN controller. This allows the controller to receive what it transmits without the bus being used. Typically this mode is enabled by setting a bit in the control register before enabling the CAN controller.

"FAQ contribution from Embedded Systems Academy, experts in CAN bus. For more information visit www.esacademy.com"

Labels (1)
Tags (1)
0 Kudos
Reply
0 Replies