NUMAKER CAN sample

Committer:
ccli8
Date:
Wed May 13 13:20:28 2020 +0800
Revision:
6:b9714e564dee
Parent:
2:8a2db010edc3
Update to mbed-os 5.15.3 and relevant modifications

1. Update to mbed-os 5.15.3.
2. Fix mutex lock error in interrupt mode on receive side.
3. Disable interrupt mode on receive side. It is not supported on Nuvoton targets.

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