CY8CKIT-017 Cypress Semiconductor Corp, CY8CKIT-017 Datasheet - Page 25

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
5.1
CY8CKIT-017 CAN/LIN Expansion Board Kit Guide, Doc. # 001-57814 Rev. *B
5.
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
DVKs, two CY8CKIT-009 PSoC 3 processor modules, and two CY8CKIT-017 CAN/LIN EBKs con-
nected by a DB9 cable.
The CAN_Example_2 project is programmed into the second CY8CKIT-001 DVK making it a CAN
node which can communicate with the CAN node created by programming CAN_Example_1 into the
first CY8CKIT-001 DVK. The two example projects are exactly identical except that their transmit
and receive ID's are reversed.
Example Project 1: CAN_Example_1
In the CAN_Example_1 project, the CAN component is configured to transmit messages at a baud
rate of 500 kbps in full TX/RX mode. This CAN node has a transmit ID of 0x2FF, and a receive ID of
0x3FF. The potentiometer present on the first CY8CKIT-001 DVK is sampled by a Sigma Delta ADC
that is configured with 8-bit resolution and a sampling rate of 10 ksps. The result of the conversion is
stored in a variable in the ISR at the end of each ADC sample.
CAN messages are scheduled to be transmitted every 100 ms. The ADC samples are transmitted in
these CAN messages. Every 10 ms a “CAN message received” flag is polled. This flag is set every
time a CAN message is received. If the flag is set, the received data is copied from the receive buffer
to a variable. The LCD present on the first CY8CKIT-001 DVK displays the updated value of both the
transmited and received data. Three LEDs (green, amber, and red) present on the CY8CKIT-017
show the status of the CAN transmission.
The green LED flashes any time a CAN message is received successfully. The amber LED turns on
continuously any time either CAN error counter is between 0 and 127, inclusive. The red LED turns
on whenever either CAN error counter exceeds 127.
Figure 3-9 on page 15
consists of two CAN nodes, created using two CY8CKIT-001
25

Related parts for CY8CKIT-017