标题: [NUC240] Dual CAN Application [打印本页] 作者: admin 时间: 2022-6-27 15:37 标题: [NUC240] Dual CAN Application 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.