NUMAKER CAN sample

Committer:
ccli8
Date:
Wed Apr 17 17:47:56 2024 +0800
Revision:
11:36d172d475fa
Parent:
2:8a2db010edc3
Support loopback mode

To enable loopback mode, both TX and RX are required to enable.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shliu1 2:8a2db010edc3 1 # Getting started CAN sample with TX and RX on mbed OS
shliu1 2:8a2db010edc3 2
shliu1 2:8a2db010edc3 3
shliu1 2:8a2db010edc3 4 ### Import NuMaker-mbed-can from on-line IDE
shliu1 2:8a2db010edc3 5 1. Please choose Nuvoton NuMaker-PFM-XXX as your target platform.
shliu1 2:8a2db010edc3 6 2. Please press the left-up icon "New", then choose "NuMaker CAN sample" from the template list.
shliu1 2:8a2db010edc3 7 3. Your NuMaker-mbed-can program is existed.
shliu1 2:8a2db010edc3 8
shliu1 2:8a2db010edc3 9 #### Now compile
shliu1 2:8a2db010edc3 10 Please press compile icon.
shliu1 2:8a2db010edc3 11
shliu1 2:8a2db010edc3 12 #### Burn Code & Execute
shliu1 2:8a2db010edc3 13 1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "mbed" disk.
shliu1 2:8a2db010edc3 14 2. Copy the built binary file into "mbed" disk on you PC.
shliu1 2:8a2db010edc3 15 3. Make sure to plug CAN test devices in. Press device's reset button to execute, LED1, LED2 and LED3 will flash