34
CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *D
Code Examples
5.1.4.1
CAN
CAN is the core component in this code example. The component enables you to set the message
IDs and the transmission mode.
In the CAN_Example_1 project, the transmit message ID is set to 0x2FF, the receive message ID is
set to 0x3FF, and the baud rate is set to 500 kbps. The transmission mode is set to full TX/RX mode.
The CAN_Example_2 project has the same settings, except that the transmit message ID is set to
0x3FF and the receive message ID is set to 0x2FF.
Notes
■
For details of parameters, refer to the component datasheets.
■
The component figure shows only tabs in which settings have been changed from default states
or in which critical settings exist for proper operation. Any tabs not shown have default settings.
This is valid for all components of all code examples.
Figure 5-4. CAN Configuration: General Tab
Figure 5-5. CAN Configuration: Timing Tab