How can I test the CAN peripheral and driver without a CAN transceiver and CAN bus connected?
09-02-2016
03:04 PM
4,231 Views
lpcware
NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
0 Replies