CY3220LINBUS-RD Cypress Semiconductor Corp, CY3220LINBUS-RD Datasheet - Page 23

KIT REF DESIGN LIN BUS

CY3220LINBUS-RD

Manufacturer Part Number
CY3220LINBUS-RD
Description
KIT REF DESIGN LIN BUS
Manufacturer
Cypress Semiconductor Corp
Series
PSoC®r
Datasheet

Specifications of CY3220LINBUS-RD

Main Purpose
Interface, LIN
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
CY8C27143, CY8C27443
Processor To Be Evaluated
CY8C27143-24PXI and CY8C27443-24PXI
Interface Type
RS-232
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
428-1926
LIN Bus 2.0 Reference Design
A. Checksum Type: This entry defines the checksum type
B. Data Count: This entry indicates the length of data car-
C. Buffer Pointer: This entry is the pointer to the buffer for
D. Data Direction: This entry indicates the direction of data
E. Protected ID: This entry is for the protected ID for the
October 25, 2006
used for the particular frame. There are two types of
checksums, CSUM_CLASSIC and CSUM_EXTENDED.
CSUM_CLASSIC is used for frames that belong to LIN
slaves of version 1.3 or less and for diagnostic frames.
CSUM_EXTENDED is used for LIN 2.0 slaves.
ried by the frame. For LIN1.x slaves, this parameter is
left as zero. When the l_sch_tick function finds that the
data count is zero, it calculates the standard length for
the frame from the protected ID.
this frame that is reserved in RAM. Enter the name of the
buffer in this entry. The compiler will translate this to the
RAM address and create the table.
flow. MASTER_TO_SLAVE indicates that the slave must
receive data from master and SLAVE_TO_MASTER
indicates that the slave must transmit a response to the
master. SLAVE_TO_SLAVE indicates that the data flow
is from one slave to another. In this type of transaction,
the master’s job is only to generate the header of the
frame.
particular frame.
Cypress Semiconductor – Rev. **
In addition to these user-defined frames, there are some
frames used by the master for diagnostics. They are the
master request and slave response frames. For both these
frames, the data count is eight, the checksum type is
extended, and the response buffer is abDiagBuffer.
_Frame1:
db 8
db CSUM_EXTENDED
db 0
db BufferFrame1
db MASTER_TO_SLAVE ; Direction
db 0xF0
_Frame2:
db CSUM_EXTENDED
db 2
db BufferFrame2
db SLAVE_TO_MASTER ; Direction
db 0x9C
_Frame3:
db CSUM_EXTENDED
db 1
db BufferFrame3
db SLAVE_TO_MASTER ; Direction
db 0x32
_Frame4:
db CSUM_EXTENDED
db 2
db BufferFrame4
db SLAVE_TO_MASTER ; Direction
db 0x80
Frame1:
Frame2:
Frame3:
Frame4:
;Data Count
; Checksum Type
; Data count
; Buffer address
; ID
; Checksum Type
; Data count
; Buffer address
; ID
; Checksum Type
; Data count
; Buffer address
; ID
; Checksum Type
; Data count
; Buffer address
; ID
3. Master Design IP
21

Related parts for CY3220LINBUS-RD