CY8CKIT-017 Cypress Semiconductor Corp, CY8CKIT-017 Datasheet

no-image

CY8CKIT-017

Manufacturer Part Number
CY8CKIT-017
Description
KIT DEV CAN/LIN EXPANSION BOARD
Manufacturer
Cypress Semiconductor Corp
Series
-r
Datasheets

Specifications of CY8CKIT-017

Accessory Type
Expansion Module
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
CY8CKIT-001, CY8CKIT-030, CY3280-22X45
Other names
428-3108
CY8CKIT-017 CAN/LIN Expansion Board
Kit Guide
Doc. # 001-57814 Rev. *B
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com

Related parts for CY8CKIT-017

CY8CKIT-017 Summary of contents

Page 1

... CY8CKIT-017 CAN/LIN Expansion Board Kit Guide Doc. # 001-57814 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com ...

Page 2

... Cypress is willing to work with the customer who is concerned about the integrity of their code. Code protection is constantly evolving Cypress are committed to continuously improving the code protection features of our products. 2 ® registered trademark of Cypress Semiconductor Corp. All other trademarks CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 3

... Using the LIN Transceiver NWAKE Pins........................................................21 4.3.4 LIN Master and Slave Configurations ............................................................21 4.4 Indicator LEDs ...........................................................................................................21 4.5 Port Options with CY8CKIT-001 DVK........................................................................22 4.5.1 Jumper Settings of CY8CKIT-001 DVK for Using Port B ...............................23 4.5.2 Debugging Restrictions When Using Port B ..................................................23 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev ...

Page 4

... BUS_CLK ........................................................................................ 33 5.1.4.6 LOOPCLK........................................................................................ 34 5.1.4.7 LCD ................................................................................................. 35 5.1.4.8 CAN_TX .......................................................................................... 35 5.1.4.9 CAN_RX .......................................................................................... 36 5.1.4.10 CAN_EN .......................................................................................... 38 5.1.4.11 CAN_LED_OK ................................................................................. 39 5.1.4.12 CAN_LED_WARN ........................................................................... 40 5.1.4.13 CAN_LED_ERR .............................................................................. 41 5.1.4.14 Design Wide Resources .................................................................. 42 5.2 Example Project 2: CAN_Example_2........................................................................ 44 A. Appendix A.1 Schematic.................................................................................................................. 45 A.2 BOM .......................................................................................................................... 46 4 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev ...

Page 5

... Introduction The CY8CKIT-017 CAN/LIN Expansion Board Kit (EBK expansion board that is used with the CY8CKIT-001 PSoC the CY3280-22X45 Universal CapSense Controller (UCC) kit. It enables you to evaluate the Controller Area Network (CAN) communication capability of PSoC 3 and PSoC 5 devices. You can design your own projects with an easy-to-use CAN component in Cypress's PSoC Creator™ ...

Page 6

... Because CAN and LIN are communication protocols necessary to have more than one CAN or LIN node in order to set up communication between nodes. Therefore recommended to have two CY8CKIT-001 DVK kits and two CY8CKIT-017 EBK kits. This enables you to setup CAN or LIN communication between two CAN or LIN nodes. An alternate recommendation is to have a CAN or LIN bus emulator or analyzer ...

Page 7

... Document Conventions Convention Courier New Italics [Bracketed, Bold] File > Open Bold Times New Roman Text in gray boxes CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Guide Version Description of Change ** Initial version of the guide *A CDT based Updates Added hyperlinks in *B minor text edits. Updated to include information about the kit's CD and the CY8CKIT-030 kit ...

Page 8

... Introduction 8 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 9

... Installation From Internet Follow these steps to install the CY8CKIT-017 CAN/LIN EBK software from the internet (this can be done to ensure that the latest software is installed): 1. Insert the kit CD into your computer. 2. Choose the Install the latest kit contents from web option on the auto run screen. This will direct you to a web page where the latest installer can be downloaded ...

Page 10

... The EBK board must be physically attached to a host board, such as the CY8CKIT-001 main board MiniProg3 device programmer must be connected to your computer in order to program this kit's example projects into the PSoC devices. Please follow instructions in the MiniProg3 kit documentation in order to connect it to your computer. 10 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 11

... Programming PSoC 3 Device The example projects are provided on the Start Page of PSoC Creator after the CY8CKIT-017 kit contents have been installed. This section provides details on programming the PSoC 3 device. To program the ‘CAN_Example_1’ project to the PSoC 3 silicon, follow these steps: 1 ...

Page 12

... Click on the example project, CAN_Example_1 located in Kits and Solutions on the Start Page of PSoC Creator. Figure 3-2. Start Page of PSoC Creator 5. Create a folder in the desired location and click OK. The project opens in PSoC Creator and is saved in that folder. 6. Build the project by selecting the Build option. 12 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 13

... Reset the device by pressing the switch SW4 on the DVK. Refer to the following figure. Figure 3-5. Reset 10.Follow the same steps (1 through 9) to program the second PSoC 3 (on a CY8CKIT-001 DVK with a second CY8CKIT-017 CAN/LIN EBK) with the 'CAN_Example_2' project. CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Kit Operation 13 ...

Page 14

... Hardware Connections 1. Connect the CAN/LIN Expansion Board to port A of CY8CKIT-001 DVK, as shown in Figure 3-6. Board Connected to Port A 2. Connect a second CY8CKIT-017 Expansion Board to Port second CY8CKIT-001 DVK, as shown in Figure 3- both CY8CKIT-001 DVK boards, connect the analog input from the potentiometer (VR slot in CY8CKIT-001 DVK) to the P1_6 on the DVK, as shown in Figure 3-7 ...

Page 15

... Power up one DVK board with the 12V power supply. Then power up the other DVK with a 12V power supply. The second DVK must be powered up within about 5 seconds of powering the first DVK. CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Figure 3-9. Connect the cable to the CAN DB9 con- ...

Page 16

... Using a CAN Bus Analyzer Tool This kit functions most effectively when two CY8CKIT-001 DVK kits and two CY8CKIT-017 EBK kits are available. However also possible to replace one CY8CKIT-001 DVK kit and one CY8CKIT- 017 EBK kit with a CAN bus analyzer or emulator tool. Or even possible to use any other CAN node to communicate with this kit ...

Page 17

... The "LEDs" functional block consists of three, active-low LEDs that can provide indications. These LEDs are driven by PSoC pins. The 40-pin (2 x 20) connector connects the configured PSoC I/O pins to the various circuits on the Expansion Board. CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B CAN Bus LIN Bus LIN Bus ...

Page 18

... By default, pin 9 of the CAN connector is left floating. However, if the "CANEXTPWR" jumper (JP3) is populated, pin 9 of the CAN connector is connected to the VIN power rail of the DVK and EBK. 18 for details on the clock configuration of this kit's example CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 19

... CAN circuit does not interfere with any other circuits that share the same pins. The footprints for R3, R5, and R10 are designed so that they can be reconnected easily with a "solder jumper" instead of repopulating the footprints with a 0 resistor. CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Hardware 19 ...

Page 20

... The footprints for R19, R23, R25, R20, R24, and R26 are designed so that they can be reconnected easily with a "solder jumper" instead of repopulating the footprints with a 0 resistor. 20 LIN2 NC (VBAT) LIN_BUS GND CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 21

... EBK are. In this case, isolating the LEDs ensures that they do not interfere with any other circuits that share the same pins. CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B shows how footprints in each circuit are populated by default to make a ...

Page 22

... P12_2 P12_2 P12_1 P12_1 P12_0 P12_0 V3_3 V3_3 VADJ VADJ GND GND V5_0 V5_0 VIN VIN GND GND CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B EBK_SEL ERR_LED OK_LED CAN_RX CAN_TX CAN_EN NC NC GND NC NC LIN1_TX LIN2_TX LIN1_RX LIN2_RX GND NC ...

Page 23

... VIN power supply of the DVK. One reason to use this would be if there are two CY8CKIT-001 boards (both with CY8CKIT-017 EBKs) that are connected to each other between their CAN connectors or LIN connectors. In this case useful to allow the VIN power supply of one DVK to power up the other DVK (and its EBK) through the LIN or CAN header. The " ...

Page 24

... Hardware 4.7 Default Switch and Jumper Settings Jumpers on the CY8CKIT-017 CAN/LIN Expansion Board have a default setting for 5V operation. For Default configuration, each of the jumpers must be set according to these instructions (any jump- ers on the board not mentioned below should have no jumper installed). ...

Page 25

... Example Projects The CAN_Example_1 project demonstrates the implementation of a CAN node using a CY8CKIT- 001 DVK, a CY8CKIT-009 PSoC 3 processor module, and a CY8CKIT-017 CAN/LIN EBK. The test setup shown in Figure 3-9 on page 15 DVKs, two CY8CKIT-009 PSoC 3 processor modules, and two CY8CKIT-017 CAN/LIN EBKs con- nected by a DB9 cable ...

Page 26

... Copy Received Data to Variable Update received value on LCD TxError == 0 && RxError == 0 No TxError > 127 or RxError > 127 No Turn On Amber, Turn Off Red CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev Yes Turn Off Amber and Red Turn On Red, Yes Turn Off Amber ...

Page 27

... PSoC Creator offers a flexible hardware and software co-design environment to create and configure the programmable peripherals. Figure 5-3. PSoC Creator Top Level Design For CAN_Example_1 Project CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B 11. for details on changing the project's pinout. ...

Page 28

... Any tabs not shown have default settings. This is valid for all components of all example projects. Figure 5-4. CAN Configuration: General Tab Figure 5-5. CAN Configuration: Timing Tab 28 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 29

... Figure 5-6. CAN Configuration: Interrupt Tab Figure 5-7. CAN Configuration: Receive Buffers Tab CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Example Projects 29 ...

Page 30

... Example Projects Figure 5-8. CAN Configuration: Transmit Buffers Tab 5.1.4.2 ADC The ADC component is used to sample the potentiometer input. Figure 5-9. ADC Configuration: Configure Tab 30 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 31

... Figure 5-10. ADC Configuration: Common Tab CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Example Projects 31 ...

Page 32

... The POT_IN pin is used to input the analog signal from the potentiometer. The pin’s drive mode is configured as High Impedance Analog, which is the default value. Figure 5-11. POT_IN Configuration: Pins > Type Tab Figure 5-12. POT_IN Configuration: Pins > General Tab 32 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 33

... Figure 5-13. STATUS_REG Configuration: Basic Tab 5.1.4.5 BUS_CLK The BUS_CLK is used as the latching clock for the STATUS_REG component. This is an existing, high-frequency clock in the chip. Figure 5-14. BUS_CLK Configuration: Configure Clock Tab CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Example Projects 33 ...

Page 34

... Example Projects 5.1.4.6 LOOPCLK LOOPCLK is configured to generate a 100 Hz clock, which is used to generate period in the firmware. Figure 5-15. LOOPCLK Configuration: Configure Clock Tab Figure 5-16. LOOPCLK Configuration: Advanced Tab 34 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 35

... CAN_TX is the CAN bus transmit signal pin. This pin is configured as an output pin with a strong drive mode. It must be connected to the CAN TX input of the external CAN transceiver. Figure 5-18. CAN_TX Configuration: Pins > Type Tab CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Example Projects 35 ...

Page 36

... CAN_RX is the CAN bus receive signal pin. This pin is configured as an input pin with a high imped- ance drive mode. It must be connected to the CAN RX pin of the external CAN transceiver. Figure 5-20. CAN_RX Configuration: Pin > Type Tab 36 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 37

... Figure 5-21. CAN_RX Configuration: Pins > General Tab Figure 5-22. CAN_RX Configuration: Pins > Input Tab CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Example Projects 37 ...

Page 38

... CAN_EN CAN_EN is external CAN transceiver enable signal pin. This pin is configured as an output pin with strong drive mode. Figure 5-23. CAN_EN Configuration: Pins > Type Tab Figure 5-24. CAN_EN Configuration: Pins > General Tab 38 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 39

... CAN_LED_OK CAN_LED_OK is configured as a software controlled output pin with strong drive mode and initial state as high. This pin is connected to the green LED on the CY8CKIT-017 CAN/LIN EBK. Figure 5-25. CAN_LED_OK Configuration: Pins > Type Tab Figure 5-26. CAN_LED_OK Configuration: Pins > General Tab CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc ...

Page 40

... CAN_LED_WARN CAN_LED_WARN is configured as a software controlled output pin with strong drive mode and initial state as high. This pin is connected to the amber LED on the CY8CKIT-017 CAN/LIN EBK. Figure 5-27. CAN_LED_WARN Configuration: Pins > Type Tab Figure 5-28. CAN_LED_WARN Configuration: Pins > General Tab 40 CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc ...

Page 41

... CAN_LED_ERR CAN_LED_ERR is configured as a software controlled output pin with strong drive mode and initial state as high. This pin is connected to the red LED on the CY8CKIT-017 CAN/LIN EBK. Figure 5-29. CAN_LED_ERR Configuration: Pins > Type Tab Figure 5-30. CAN_LED_WARN Configuration: Pins > General Tab CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc ...

Page 42

... PSoC CAN controller. All of the clock settings of this example project are shown in 42 CAN Bus Clock Accuracy on page 18 Figure 5-32 and Figure 5-33 on page CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Table 4-4 on Figure 5-31. for more 43. ...

Page 43

... Figure 5-32. Clock setting Figure 5-33. System Clock Configuration CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Example Projects 43 ...

Page 44

... The only difference between the two projects is the difference in their transmit and receive IDs. All sections describing the CAN_Example_1 project also apply to the CAN_Example_2 project except Figure 5-7 on page 29 message ID are interchanged. 44 and Figure 5-8 on page 30 where the transmit message ID and receive CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B ...

Page 45

... Schematic OK GREEN GREEN LED3 AMBER AMBER LED2 LED1 CONN CONN _CAN _CAN FEMALE FEMALE DB9 DB9 2 1 CAN_V+ PESD1CAN PESD1CAN CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B WARN RED RED ERR 2 1 BAT 7 GND 5 INH BAT 7 GND 5 INH 8 VCC ...

Page 46

... Molex Inc Molex Inc Panasonic -ECG Panasonic -ECG Panasonic -ECG Panasonic -ECG Panasonic -ECG NXP Semiconductors NXP Semiconductors Keystone Electronics CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B Mfr Part Number 06035A470KAT2A C0603C104K5RACTU C0603C102J5GACTU 06035C221JAT2A PESD1CAN,215 LTST-C170KRKT LTST-C170KYKT LTST-C170KGKT PESD1LIN,115 ...

Related keywords