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

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
}
// This function reads the Node information from the nodes in cluster
void ReadNodeInformation(void)
{
WORD CPMSupplierId;
WORD DIASupplierId;
WORD CPMFunctionId;
WORD DIAFunctionId;
BYTE CPMVariant;
BYTE DIAVariant;
long CPMSerialNo;
long DIASerialNo;
}
October 25, 2006
do
{
}
while((bError == 1) && (Retries < 2));
// Configure Message 0x1001 of DIA
Retries = 0;
do
{
}
while((bError == 1) && (Retries < 2));
// Configure Message 0x1002 of DIA
Retries = 0;
do
{
}
while((bError == 1) && (Retries < 2));
// Read Node information from Slave CPM
ReadByIdentifier0(1, 0x1234, 0x2345, &CPMSupplierId, &CPMFunctionId, &CPMVariant);
// Read Serial Number of Slave CPM
ReadByIdentifier1(1, 0x1234, 0x2345, &CPMSerialNo);
// Read Node information from Slave DIA
ReadByIdentifier0(2, 0x1234, 0x2346, &DIASupplierId, &DIAFunctionId, &DIAVariant);
// Read Serial Number of Slave DIA
ReadByIdentifier1(2, 0x1234, 0x2346, &DIASerialNo);
bError = ConfigureNode(1, 0x1234, 0x1003, 0x32);
Retries++;
bError = ConfigureNode(2, 0x1234, 0x1001, 0x80);
Retries++;
bError = ConfigureNode(2, 0x1234, 0x1002, 0x85);
Retries++;
Cypress Semiconductor – Rev. **
5. Demonstration Projects
51

Related parts for CY3220LINBUS-RD