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

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
/* Uncomment this to enable the Sleep operation
*/
}
October 25, 2006
TransferStatus = (char)l_ifc_read_status();
UpdateFrame1();
if (BufferFrame2[0] & bfLAST_TRANSACTION_OK)
// Enable Global Interrupts
M8C_EnableGInt;
// Infinite loop
// Inside the while Loop, following operations are performed.
// 1. l_ifc_read_status is called to check the status of the LIN core.
// 2. Frame1 data is updated with the Switch status
// 3. Frame2 status is checked to find if it has been updated.
//
// 4. The bfGOTO_SLEEP in the LIN status register is checked.
//
while(1)
{
}// End of While loop
// Read LIN Core Status
// Update the switch states in Frame1
// Check if Frame2 is updated
{
}
if (TransferStatus & bfSTATUS_GOTO_SLEEP)
{
}
then the received data is processed to control the indicator lamps.
the GoToSleep function is called
BufferFrame2[0] &= ~bfLAST_TRANSACTION_OK;
ProcessFrame2();
GotoSleep();
// Clear the Last Transaction OK flag
// Process the received data
// Check if Goto Sleep flag is set
Cypress Semiconductor – Rev. **
If set,
If yes,
5. Demonstration Projects
55

Related parts for CY3220LINBUS-RD