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

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
3. Master Design IP
actually send the command, point the l_sch_set function to
a master request frame and call the l_sch_tick function.
ld_read_by_id
C Prototype: void ld_read_by_id(l_u8 NAD, l_u16
supplier_id,
char* data);
Description: This call requests the node with the NAD to
return the property associated with the ID parameter. When
the next call to ld_is_ready returns true, the RAM area spec-
ified by data contains between one and five bytes of data
according to the request.
Parameters:
NAD: The NAD of the node.
supplier_id: The supplier_id of the slave.
function_id: The function ID of the slave.
id: Indicates the property to read.
data: Pointer to the RAM buffer where the slave response is
deposited.
Returns: None.
Usage Notes: When this function is called, the diagnostic
buffer in the RAM is updated with all the parameters. To
actually send the command, point the l_sch_set function to
a master request frame and call l_sch_tick function. Then
follow the master request frame with a slave response frame
to get the slave’s response.
ld_conditional_change_nad
C Prototype: void
ld_conditional_change_NAD(l_u8 NAD, l_u8 id,
l_u8 byte, l_u8 mask, l_u8 invert, l_u8
new_NAD);
Description: This call changes the NAD if the node proper-
ties fulfill the test specified by id, byte, mask and invert. For
details, refer to the LIN Diagnostics Specification in the LIN
2.0 protocol document.
Parameters:
NAD: The NAD of the node.
Id, byte, mask, invert: Test conditions.
new_NAD: The new NAD to assign to the slave.
Returns: None.
Usage Notes: When this function is called, the diagnostic
buffer in the RAM is updated with all the parameters. To
actually send the call, point the l_sch_set function to a mas-
ter request frame and call the l_sch_tick function.
28
l_u16
function_id,
Cypress Semiconductor – Rev. **
l_u8
id,
3.8
3.8.1
The following tables list the time taken by some of the impor-
tant branches of the ISR in the LIN master node. The CPU
overhead for various conditions are roughly computed using
these tables.
Note that the times indicated are approximate and may
change during future revisions of the firmware
Table 3-5. Synchro Break Interrupt
Table 3-6. Synchro Break Bit Time Interrupt
Table 3-7. TX Interrupt
Table 3-8. TX Bit Time Interrupt
Table 3-9. RX Interrupt
Table 3-10. RX Bit Time Interrupt
Sl. No.
1
Sl. No.
1
Sl. No.
1
Sl. No.
1
2
Sl. No.
1
2
3
Sl. No.
1
2
Break field sent
Once every bit time for 14 bits
When a data byte is sent
Once every bit time
When all bytes have been transmit-
Data byte received
Frame reception complete, normal
Frame reception complete, slave
Once in 5 bit times, normal
Once in 5 bit times, slave not
ted
response
responding
Time Study
ISR Timing
Stage
Stage
Stage
Stage
Stage
Stage
LIN Bus 2.0 Reference Design
864
63
58
65
989
95
1679
1776
27
970
No. Of Cycles
No. Of Cycles
No. Of Cycles
No. Of Cycles
No. Of Cycles
No. Of Cycles
October 25, 2006
.
Time(
36.00
Time(
2.63
Time(
2.42
Time(
2.71
41.21
Time(
3.96
69.96
74.00
Time(
1.13
40.42
µ
µ
µ
µ
µ
µ
S)
S)
S)
S)
S)
S)

Related parts for CY3220LINBUS-RD