Nuvoton
/
NuMaker-mbed-can
NUMAKER CAN sample
README.md@8:7310cfa7f71c, 16 months ago (annotated)
- Committer:
- cyliang
- Date:
- Tue Mar 14 09:53:27 2023 +0000
- Revision:
- 8:7310cfa7f71c
- Parent:
- 2:8a2db010edc3
Revise the reserved pins of M467 CAN0/CAN1
Who changed what in which revision?
User | Revision | Line number | New 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 |