background image

CY8CKIT-026 CAN and LIN Shield Kit Guide, Doc. No. 002-03798 Rev. *C

65

56

1

R3

22K

RES

 

SMD

 

22

 

KOHM

 

1%

 

1/10

 

W

 

0603

Panasonic 
Electronic 
Components

ERJ-
3EKF2202V

ASK

Yes

Yes

57

1

R7

1K

RES

 

SMD

 

1

 

KOHM

 

1%

 

1/8

 

W

 

0805

Panasonic 
Electronic 
Components

ERJ-
6ENF1001V

ASK

Yes

Yes

58

2

R10,R25,

47K

RES

 

SMD

 

47

 

KOHM

 

1%

 

1/8

 

W

 

0805

Panasonic 
Electronic 
Components

ERJ-
6ENF4702V

ASK

Yes

Yes

59

1

R22

1K

RES

 

SMD

 

1

 

KOHM

 

1%

 

1/10

 

W

 

0603

Panasonic 
Electronic 
Components

ERJ-
3EKF1001V

ASK

Yes

Yes

60

1

R40

120

 

ohm

RES SMD 120 OHM 
1% 1/8 W 0805

Panasonic 
Electronic 
Components

ERJ-
6ENF1200V

ASK

Yes

Yes

61

3

TP1,TP2,TP5,

RED

TEST

 

POINT

 

43

 

HOLE

 

65

 

PLATED

 

RED

Keystone 
Electronics

5000

ASK

Yes

Yes

62

4

TP3,TP4,TP29,T
P30

BLACK

TEST

 

POINT

 

43

 

HOLE

 

65

 

PLATED

 

BLACK

Keystone 
Electronics

5001

ASK

Yes

Yes

63

24

TP6,TP7,

 

TP8,

 

TP9,

 

TP10,

 

TP11,

 

TP12,

 

TP13,

 

,TP14,TP15,

 

TP16,TP17,TP18
,TP19,TP20,TP2
1,TP22,TP23,TP
24,TP25,

 

TP26,

 

TP27,TP28,TP31

WHITE

TEST POINT 43 
HOLE 65 PLATED 
WHITE

Keystone 
Electronics

5002

ASK

Yes

Yes

64

1

U1

S6BP202A

S6BP202A

 

is

 

a

 

single

 

output

 

Buck

Boost

 

DC/

DC,

 

TSSOP

16

 

PIN

Cypress

S6BP202A

No

No

No

Table 5-1.  Bill of Materials (BOM)

 (continued)

Item

Qty

Reference

Value

Description

Manufacturer

Mfr Part 
Number

Sub 

Allowed

ROHS

UL 

Certified

Summary of Contents for CY8CKIT-026

Page 1: ...CY8CKIT 026 CAN and LIN Shield Kit Guide Doc No 002 03798 Rev C Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 www cypress com...

Page 2: ...ANTABILITY AND FITNESS FOR A PARTICULAR PUR POSE To the extent permitted by applicable law Cypress reserves the right to make changes to this document without fur ther notice Cypress does not assume a...

Page 3: ...l Layer Transceiver Circuits 20 3 4 Status LEDs 22 3 5 Port Options with CY8CKIT 042 044 Pioneer Kit 23 3 6 Power Supply Configurations 24 4 Kit Operation 30 4 1 Default Jumper Settings on CY8CKIT 026...

Page 4: ...from the factory default may affect its performance and cause interference with other apparatus in the immediate vicinity If such interference is detected suitable mitigating measures should be taken...

Page 5: ...station is not available use appropriate ESD protection by wearing an antistatic wrist strap attached to the chassis ground any unpainted metal surface on your board when handling parts Handling Board...

Page 6: ...bles you to evaluate the Controller Area Network CAN and Local Interconnect Network LIN slave communication capability of Cypress devices You can design your own projects with easy to use CAN and LIN...

Page 7: ...Using CAN Bus Analyzer Tool on page 32 and Using LIN Bus Analyzer Tool on page 35 for more details on using a CAN analyzer or LIN analyzer tool with this kit For detailed information about the differe...

Page 8: ...re compatible development platforms from Cypress This Kit provides example projects targeting the CY8CKIT 042 PSoC 4 Pioneer Kit and CY8CKIT 044 PSoC 4 M Series Pioneer Kit For FM4 Kit CAN example pro...

Page 9: ...rogrammer The PSoC Programmer software is used to program the PSoC 4 devices on the CY8CKIT 042 kit and CY8CKIT 044 kit with hex files PSoC Programmer is installed along with PSoC Creator You can also...

Page 10: ...cal Interconnect Network USB Universal Serial Bus Table 1 2 Document Convention for Guides Acronym Definition Courier New Displays file locations user entered text and source code C cd icc Italics Dis...

Page 11: ...KIT version for a 32 bit machine and C Program Files x86 Cypress CY8CKIT 026 CAN and LIN SHIELD KIT version for a 64 bit machine This folder will contain the kit example projects To open the examples...

Page 12: ...LIN Shield Kit software from the internet this is done to ensure the latest software is installed 1 Go to kit web page 2 Download and run the installer executable file CY8CKIT026Setup exe 3 Run the in...

Page 13: ...n is complete the kit contents are available at the following location C Program Files x86 Cypress CY8CKIT 026 CAN and LIN SHIELD KIT version Note Follow all on screen prompts to proceed with the inst...

Page 14: ...h Arduino headers of the CY8CKIT 044 042 Pioneer Kit You can also attach this board to any Arduino based kit controller must support CAN LIN protocol Modify pin assignments of the example projects to...

Page 15: ...LIN bus The LEDs functional block consists of three active low LEDs that can provide indications These LEDs are driven by PSoC pins The Arduino connector connects the configured PSoC I O pins to the...

Page 16: ...026 CAN and LIN Shield Kit Guide Doc No 002 03798 Rev C 16 Hardware Figure 3 2 and Figure 3 3 show the top and bottom view of the CY8CKIT 026 Figure 3 2 CY8CKIT 026 Top View Figure 3 3 CY8CKIT 026 Bot...

Page 17: ...Three signals are used between this circuit and the CAN PSoC 4 controller These signals are CAN_RX CAN_TX and CAN_EN Data signals on the CAN bus are driven to the PSoC CAN2_RX signal Data signals on...

Page 18: ...TJA1055 has CAN Bus termination pins as RTH and RTL which are connected to CAN_H and CAN_L with 120 respectively 3 2 4 CAN Bus Termination for CAN2 Transceiver The CAN specification requires that CAN...

Page 19: ...Figure 3 5 Choke Footprints for CAN1 and CAN2 transceivers 3 2 6 CAN Signal Connector for CAN1 Transceiver Table 3 2 shows the pinout of the 3 pin female CAN signal connector J19 on the shield board C...

Page 20: ...s are LIN1_RX LIN1_TX and LIN1_NSLP For the LIN2 circuit the signals are LIN2_RX LIN2_TX and LIN2_NSLP Data signals on the LIN bus are sent to the PSoC by the LINx_RX signal Data signals driven by the...

Page 21: ...in Figure 3 7 Figure 3 7 NWAKE Test Points 3 3 2 1 LIN Signal Connector for LIN transceivers Table 3 4 shows the pinout of the 3 pin female LIN signal connector J15 for LIN1 and J6 for LIN2 on the sh...

Page 22: ...Ds are active low and they must each be driven with a sink current of approximately 2 mA to turn them ON The three LEDs Red Yellow and Green see Figure 3 8 are connected to the D13 D12 and D11 pins of...

Page 23: ...oneer Kits through the Arduino header connector Table 3 7 shows how the signals on the CAN and LIN shield board map to the pins on Arduino header of the CY8CKIT 042 and CY8CKIT 044 Pioneer Kits Table...

Page 24: ...his will only allow CAN2 to be used since CAN1 LIN1 and LIN2 require a 12 V supply J3 1 P2 6 P0 2 D8 2 P3 6 P0 3 D9 3 P3 4 P2 7 D10 4 P3 0 P6 0 D11 5 P3 1 P6 1 D12 6 P0 6 P6 2 D13 7 GND GND GND 8 P1 7...

Page 25: ...er adapters to supply different boards The J13 jumper is used to connect the VIN supply from to the CAN1 connector pin J17 pin9 The J21 jumper is used to connect the VIN supply from to the CAN2 connec...

Page 26: ...ided on the CAN and LIN shield board for 12 V to 5 V dc dc conversion The regulated 5 V is supplied to CAN transceivers status LEDs and the baseboard based on the J20 jumper selection Figure 3 11 show...

Page 27: ...uide Doc No 002 03798 Rev C 27 Hardware 3 6 3 2 Cypress PMIC An optional 12 V 5 V circuit is provided on the kit using a Cypress PMIC which is not populated Figure 3 12 shows the Cypress PMIC schemati...

Page 28: ...der to supply 5 V to the Shield Kit the baseboard has to be powered through 5 V USB and the power selection jumper on baseboard J9 on CY8CKIT 042 and CY8CKIT 044 must be set at 5 V 2 Powering baseboar...

Page 29: ...t with 5 V CAN and LIN communications are possible Baseboard power selection jumper J9 on CY8CKIT 042 044 should be at 3 3 V only if USB is not connected to the baseboard Short pin 3 and 4 Power baseb...

Page 30: ...n page 19 and CAN Signal Connector for CAN2 Transceiver on page 19 for details of CAN TX and RX pin connections See the Example Projects on page 37 for the specific pin connections used in the example...

Page 31: ...nnection details for CAN1 and CAN2 transceivers Figure 4 1 Connected CAN and LIN Shield Boards Note If CAN1 is used on one kit and CAN2 is used on another kit J10 should be removed on the kit which us...

Page 32: ...Y8CKIT 026 Shield Kits are available However it is also possible to replace one CY8CKIT 044 Pioneer Kit and one CY8CKIT 026 Shield Kit with a CAN bus analyzer or emulator tool It is even possible to u...

Page 33: ...up to send and receive CAN messages at proper intervals with proper length and message ID and at a proper baud rate If you use any other CAN node to communicate with this kit then you may need to mod...

Page 34: ...e microcontroller If you are using different pins for LIN the corresponding pin connections on the Arduino header must be changed 3 Connect VBAT LIN bus and GND of the LIN analyzer LIN master to eithe...

Page 35: ...is also possible to use any other LIN master node to communicate with this example project If you use a LIN bus analyzer or emulator tool then the tool must be set up to send and receive frames with...

Page 36: ...CY8CKIT 026 CAN and LIN Shield Kit Guide Doc No 002 03798 Rev C 36 Kit Operation Figure 4 6 LIN Analyzer Connection to CY8CKIT 026 s LIN2 Transceiver...

Page 37: ...kit example projects will be available in the Firmware folder in the installation location 5 1 Using the Kit Example Projects Perform these steps to open and use the example projects 1 Launch PSoC Cr...

Page 38: ...ble 5 1 3 CAN2 transceiver works with 5 V whereas CAN1 transceiver requires 12 V input supply 4 If you have chosen CAN1 transceiver then external 12 V supply has to be connected through J11 J12 or J17...

Page 39: ...Kbps c Touch the CapSense gesture pad buttons Center Right Left Up Down and observe the data on CAN analyzer software as provided in Table 5 2 d The Sys Tec CAN analyzer is used as an example for thi...

Page 40: ...olor and Brightness of the RGB LED on the second board as provided in Table 5 3 5 To observe the data that is transmitted through CAN bus using UART connect the baseboard to a PC using a USB cable and...

Page 41: ...nsceivers U6 CAN1 and U4 CAN2 Connect J2_13 and J2_15 to the appropriate CANx_Rx and CANx_Tx pins of the transceiver connector J19 CAN1 or J9 CAN2 as provided in Table 5 4 3 CAN2 transceiver works wit...

Page 42: ...2 Make sure that the power supply and jumper settings are proper as explained in the Hardware Connections on page 41 3 Perform these steps if you are using any CAN analyzer for receiving the data a I...

Page 43: ...e the RGB LED status on the baseboard as explained in Table 5 5 Additional transmit messages may be added to change the LED state color or brightness h If an error is displayed on the CAN analyzer sof...

Page 44: ...own in Figure 5 3 c Whenever you receive data over CAN bus you can observe the data on UART serial terminal software as shown in Figure 5 6 Figure 5 6 Receiver UART Data on Serial Terminal Note For mo...

Page 45: ...V supply through the VBAT pin then you can power the board with that supply without using any additional 12 V supply since the corresponding jumper J16 for LIN1 J7 for LIN2 are populated by default 5...

Page 46: ...USB Message Center software provided by Silicon Engines on your PC and connect the LIN analyzer to PC through USB cable If a different analyzer is being used install the appropriate software 4 Open th...

Page 47: ...r 7 If a frame with ID 0x10 is received from the master analyzer then the slave controls the RGB LED based on the received data command from master as provided in Table 5 8 Note that the message must...

Page 48: ...e InFrame in LIN slave is configured with only 2 bytes named as InSig and InArraySig the rest of the data bytes 3 to 8 are ignored by the slave When the OutFrame is received from the analyzer as marke...

Page 49: ...ved from the LIN master1 the slave either stores or sends the CapSense linear slider centroid position to the master If a predefined frame is received from the LIN master2 the slave either controls ch...

Page 50: ...r software and go to Configure LIN USB set the LIN Bus Baud Rate to 19200 bps and then select the LIN 2 0 2 1 Protocol checkbox as shown in Figure 5 7 b If you are using any other analyzer make sure t...

Page 51: ...e ignored by the slave After receiving this command the slave will store the current CapSense linear slider centroid position When the OutFrame1 is received from the analyzer as shown in the above fig...

Page 52: ...data command from master as provided in Table 5 11 Note that the frame must contain eight data bytes even though the first data byte is the only one used by the slave The other seven data bytes may b...

Page 53: ...to 8 are ignored by the slave When the OutFrame2 is received from the analyzer as marked in this figure the slave responds to the frame with the RGB LED status along with frame ID as 13 11 AA where 13...

Page 54: ...798 Rev C 54 A Appendix A 1 Schematics Figure A 1 Power Supply Circuit Schematic 4 5 6 5 4 7 8 0 0 12 3 4 5 6 5 7 8 9 7 4 5 6 5 7 8 4 5 6 5 7 8 9 8 9 8 8 8 0 1 23 3 0 1 23 3 0 1 23 3 4 7 3 4 3 8 8 8 8...

Page 55: ...002 03798 Rev C 55 Figure A 2 CAN1 and CAN2 Transceiver Circuit Schematic 0 0 0 1 2 2 23 23 23 2 8 3 23 2 8 3 B 9 C B 9 C C C B C B B B C C B C B 8 4 0 1 23 3 0 1 23 3 0 1 23 3 A A 4 8 8 C 8 8 A A A...

Page 56: ...Kit Guide Doc No 002 03798 Rev C 56 Figure A 3 LIN1 and LIN2 Transceiver Circuit Schematic 0 1 0 1 1 2 9 4 3 3 2 3 1 2 9 4 3 3 2 3 8 8 0 1 23 3 0 1 23 3 0 1 23 3 A 8 8 A 8 8 A 8 A 8 8 8 8 8 3 8 3 8 8...

Page 57: ...de Doc No 002 03798 Rev C 57 Figure A 4 Arduino Header and Status LEDs Schematic 0 0 0 0 0 9 03A 0 9 02A 0 9 0 0 9 03A 0 9 02A 0 9 0 0 0 0 9 03A 0 9 02A 0 9 03A 0 9 02A 8 4 0 1 23 3 0 1 23 3 0 1 23 3...

Page 58: ...CY8CKIT 026 CAN and LIN Shield Kit Guide Doc No 002 03798 Rev C 58 A 2 Gerber Files Figure A 5 CY8CKIT 026 Primary Side...

Page 59: ...CY8CKIT 026 CAN and LIN Shield Kit Guide Doc No 002 03798 Rev C 59 Figure A 6 CY8CKIT 026 Secondary Side...

Page 60: ...CY8CKIT 026 CAN and LIN Shield Kit Guide Doc No 002 03798 Rev C 60 Figure A 7 CY8CKIT 026 Primary Silk Screen...

Page 61: ...CY8CKIT 026 CAN and LIN Shield Kit Guide Doc No 002 03798 Rev C 61 Figure A 8 CY8CKIT 026 Secondary Silk Screen...

Page 62: ...Murata Electronics GCM188R71H 103KA37D ASK Yes Yes 9 2 D1 D5 PESD1LIN TVS DIODE 15VWM 24VWM SOD323 NXP Semiconductors PESD1LIN 115 ASK Yes Yes 10 2 D3 D6 PESD1CAN TVS DIODE 24VWM 50VC SC 70 SOT 323 N...

Page 63: ...ectronic Components ERJ 3EKF4702V ASK Yes Yes 28 15 R6 R8 R9 R15 R16 R18 R19 R21 R23 R24 R29 R33 R34 R35 R37 ZERO RES SMD 0 0 OHM JUMPER 1 10 W Panasonic Electronic Components ERJ 3GEY0R00V ASK Yes Ye...

Page 64: ...2 C9 C12 22uF CAP CER 22 UF 16 V 20 X7R 1210 TDK Corporation CGA6P1X7R1 C226M250AC ASK Yes Yes 47 1 C27 1uF CAP CER 1UF 16 V 10 X7R 0805 TDK Corporation CGA4J2X7R1 C105K125AA ASK Yes Yes 48 2 D2 D4 P...

Page 65: ...8 W 0805 Panasonic Electronic Components ERJ 6ENF1200V ASK Yes Yes 61 3 TP1 TP2 TP5 RED TEST POINT 43 HOLE 65 PLATED RED Keystone Electronics 5000 ASK Yes Yes 62 4 TP3 TP4 TP29 T P30 BLACK TEST POINT...

Page 66: ...ed Getting Started on page 7 Updated Beginner Resources on page 8 Updated description Updated Hardware Requirements on page 8 Updated description Updated Additional Learning Resources on page 9 Update...

Page 67: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Cypress Semiconductor CY8CKIT 026...

Reviews: