
4 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *D
Contents
4.3.2 LIN Circuit Isolation........................................................................................26
4.3.3 Using the LIN Transceiver NWAKE Pins .......................................................27
4.3.4 LIN Master and Slave Configurations............................................................27
4.4 Indicator LEDs...........................................................................................................27
4.5 Port Options with CY8CKIT-001 DVK .......................................................................28
4.5.1 Jumper Settings of CY8CKIT-001 DVK for Using Port B...............................29
4.5.2 Debugging Restrictions When Using Port B..................................................29
4.6 Power Supply Configurations....................................................................................29
4.7 Default Switch and Jumper Settings..........................................................................30
5. Code Examples 31
5.1 Code Example 1: CAN_Example_1 ..........................................................................31
5.1.1 Running the Code Example...........................................................................33
5.1.2 Hardware Connections ..................................................................................33
5.1.3 Verifying Output .............................................................................................33
5.1.4 PSoC Creator Project Details ........................................................................33
5.1.4.1 CAN.................................................................................................34
5.1.4.2 ADC.................................................................................................36
5.1.4.3 POT_IN............................................................................................38
5.1.4.4 STATUS_REG.................................................................................39
5.1.4.5 BUS_CLK ........................................................................................39
5.1.4.6 LOOPCLK........................................................................................40
5.1.4.7 LCD .................................................................................................41
5.1.4.8 CAN_TX ..........................................................................................41
5.1.4.9 CAN_RX..........................................................................................42
5.1.4.10 CAN_EN..........................................................................................44
5.1.4.11 CAN_LED_OK.................................................................................45
5.1.4.12 CAN_LED_WARN...........................................................................46
5.1.4.13 CAN_LED_ERR ..............................................................................47
5.1.4.14 Design Wide Resources..................................................................48
5.2 Code Example 2: CAN_Example_2 ..........................................................................50
5.3 Code Example 3: LIN_Example ................................................................................50
5.3.1 Firmware Flowcharts......................................................................................51
5.3.2 Running the Code Example...........................................................................52
5.3.3 Hardware Connections ..................................................................................52
5.3.4 Verifying Output .............................................................................................52
5.3.5 PSoC Creator Project Details ........................................................................53
5.3.5.1 LIN Slave.........................................................................................53
5.3.5.2 Character LCD.................................................................................56
5.3.5.3 Timer ...............................................................................................56
5.3.5.4 ISR Component...............................................................................57
5.3.5.5 Design Wide Resources..................................................................57
A. Appendix 61
A.1 Schematic..................................................................................................................61
A.2 Bill of Materials (BOM)...............................................................................................62
A.3 Regulatory Compliance Information..........................................................................62