[NUC240] Dual CAN Application

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

20 May 2020, 17:13

  • Application: The code is a demonstration of how to use dual CAN.
  • BSP Version: NUC230/240 Series BSP CMSIS v3.01.001
  • Hardware: NuEdu-EVB-NUC240 v2.0
The peripherals of Nuvoton’s CAN are directly designed by Bosch, so there is no problem with CAN compatibility. Before using it, everyone needs to have a basic idea. It is not like
RS485, one byte per byte is slowly transmitted. Instead, the complete packet data is stored in the register and then moved to the internal cache. The data is automatically transmitted or received through the hardware. Avoid interrupting the modification of the packet data. In the main, the program must disable the CAN interrupt when reading and writing the packet data.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1213192350
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 41 guests