APGRD004 Microchip Technology, APGRD004 Datasheet - Page 22

REF DESIGN MOD AUTO AMBNT LIGHT

APGRD004

Manufacturer Part Number
APGRD004
Description
REF DESIGN MOD AUTO AMBNT LIGHT
Manufacturer
Microchip Technology
Datasheets

Specifications of APGRD004

Main Purpose
Lighting, RGB LED Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
MCP2021, PIC12F615
Primary Attributes
4 Tiny Boards, Each Have: RGB LED, LIN Transceiver, Voltage Regulator, MCU
Secondary Attributes
LIN Commands are Interpreted to Control 16,383 Colors and 1,023 Dimming Levels
Silicon Manufacturer
Microchip
Silicon Core Number
APGDT001
Kit Contents
4 Ambient Lighting Modules, Documentation
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
APGRD004
Manufacturer:
MICROCHIP
Quantity:
12 000
FIGURE B-1:
DS51714A-page 18
Interior Ambient Lighting Module with LIN Interface User’s Guide
MESSAGE_COUNTER
Measure Length of Each
MESSAGE_COUNTER
LIN_HANDLER
and Store in Counter
Calculate Baud Rate
= Data Length + 1
Receive Buffer
bit in Sync Char
Put Data into
YES
Decrement
Break char
YES
Next char
received?
Next char
received?
received?
ID = Char
Receive
Stop bit
frame?
valid?
done?
Is ID
YES
YES
YES
YES
LIN HANDLER FLOWCHART
Entered by an Interrupt-On-Change (falling edge)
NO
NO
NO
NO
NO
NO
MESSAGE_COUNTER
= 0?
ID ERROR
RETURN
BREAK ERROR
NO
Break length
< 10 tbits?
RETURN
NO
YES
PARITY ERROR
ID parity bits
RETURN
OK?
NO
YES
MESSAGE_COUNTER
MESSAGE_COUNTER
CHECKSUM ERROR
Checksum and Store
Parity bits and Store
© 2008 Microchip Technology Inc.
Data From Buffer
Transmit Next
Decrement
Checksum
Calculate
RETURN
RETURN
Calculate
= 0 ?
OK?
OK
NO
YES
YES
NO

Related parts for APGRD004