APGRD004 Microchip Technology, APGRD004 Datasheet

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
Interior Ambient Lighting Module
with LIN Interface
User’s Guide
© 2008 Microchip Technology Inc.
DS51714A

Related parts for APGRD004

APGRD004 Summary of contents

Page 1

... Interior Ambient Lighting Module © 2008 Microchip Technology Inc. with LIN Interface User’s Guide DS51714A ...

Page 2

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 3

... Chapter 3. Software Components 3.1 Software Components .................................................................................... 9 Appendix A. Schematic for the PC Board A.1 Highlights ..................................................................................................... 15 Appendix B. LIN Handler Flowchart B.1 Highlights ..................................................................................................... 17 Index ............................................................................................................................. 19 Worldwide Sales and Service .................................................................................... 20 © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE USER’S GUIDE Table of Contents DS51714A-page iii ...

Page 4

... Interior Ambient Lighting Module with LIN Interface User’s Guide NOTES: DS51714A-page iv © 2008 Microchip Technology Inc. ...

Page 5

... Index – The index lists the user guide content in an alphabetical order. • Worldwide Sales and Service – This is a list of Microchip owned sales and service centers. © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE USER’S GUIDE ...

Page 6

... N‘Rnnnn Text in angle brackets < > Courier New font: Plain Courier New Italic Courier New Square brackets [ ] Curly brackets and pipe character Ellipses... © 2008 Microchip Technology Inc. Represents Referenced books MPLAB Emphasized text ...is the only compiler... A window the Output window A dialog ...

Page 7

... Microchip consultant program member listing • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives DS51714A-page 3 © 2008 Microchip Technology Inc. ...

Page 8

... Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (March 2008) • Initial Release of this Document. © 2008 Microchip Technology Inc. ® II device programmers and the Plus and PICkit™ 1 development programmers. ® ...

Page 9

... Chapter 1. Interior Ambient Lighting Module with LIN Interface Thank you for purchasing Microchip Technology’s Interior Ambient Lighting Module with Local Interconnect Network (LIN) interface PC board. This chapter provides an over view of this product, lists its features and also provides a brief about the device functionality (see Figure 1-1). ...

Page 10

... Note: The firmware files are located on the included software CD-ROM and are located in a directory called Source. The PDF files for additional reference are on the software CD. © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE BLOCK DIAGRAM MCP2021-500 ...

Page 11

... For more information, refer to “PIC12F609/HV609, PIC12F615/HV615 Data Sheet” (DS41302) and “PIC12F683 Data Sheet” (DS41211) available on the Microchip web site. © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE USER’S GUIDE I/O CONNECTIONS Function ...

Page 12

... Connectors 2.1.4 Figure 2-1 illustrates the system connector and Figure 2-2 illustrates the programming connector. FIGURE 2-1: Note: Pin 1 denoted by square pad. FIGURE 2-2: Note: Pin 1 denoted by semi-square pad. © 2008 Microchip Technology Inc. . The MCP2021-500 transceiver’s DC SYSTEM CONNECTOR + BAT ...

Page 13

... Table 3-1 lists and describes the basic modules of this software. TABLE 3-1: BBSLAVE.asm IDTABLE.inc RGB615_xxxxxx.asm © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE USER’S GUIDE BASIC SOFTWARE MODULE Module LIN handler/driver slave task routines. LIN identifier descriptor table. ...

Page 14

... ID Byte provides the functional ID bits, and Register 3-2 to Register 3-7 provide the command format. REGISTER 3-1: Parity bit 7 1 bit 7-6 bit 5-0 © 2008 Microchip Technology Inc. remove comment semi-colon to select processor. comment out those zones not to be responded to. ID BYTE bit 6 bit 5 bit 4 bit 3 ...

Page 15

... THIRD DATA BYTE (GREEN) Green Saturation bit 6 bit 5 bit 4 bit 0xFF FOURTH DATA BYTE (BLUE) Blue Saturation bit 6 bit 5 bit 4 bit 0xFF (1) Select Intensity bit 2 bit 1 bit 0x1F (1) bit 2 bit 1 bit 0 (1) bit 2 bit 1 bit 0 (1) bit 2 bit 1 bit 0 © 2008 Microchip Technology Inc. ...

Page 16

... REGISTER 3-7: bit 7 bit 7-0 Checksum<7:0>: Checksum of Data Bytes as Defined in the LIN Specification Table 3-2 lists some typical command frames. TABLE 3-2: Frame © 2008 Microchip Technology Inc. (1) FIFTH DATA BYTE (ZONE) (Reserved) bit 6 bit 5 bit 4 bit 3 ZONE3 SIXTH DATA BYTE (CHECKSUM) ...

Page 17

... This could be added at point ‘A’ marked in the LIN handler flowchart. Bus errors, thus detected, can be accumulated and reported. • The usage of the internal timer/counter to determine bus time-out and Idle conditions. DS51714A-page 13 STATUS REQUEST ID Number bit 6 bit 5 bit 4 bit bit 2 bit 1 bit © 2008 Microchip Technology Inc. ...

Page 18

... NOTES: © 2008 Microchip Technology Inc. Software Components DS51714A-page 14 ...

Page 19

... Figure A-1 illustrates the schematic. FIGURE A-1: PC BOARD SCHEMATIC D1 V BAT C1 1N4004 2 LIN bus 6 2 LIN GND MCP2021-500 D2 220 pF GND 1 © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE USER’S GUIDE BLUEdrv TP5 1 TP2 GREENdrv TP4 1 REDdrv 1 CS/WAKE FAULT/TXE ...

Page 20

... Interior Ambient Lighting Module with LIN Interface User’s Guide NOTES: DS51714A-page 16 © 2008 Microchip Technology Inc. ...

Page 21

... This appendix provides a detailed flowchart for getting started using the Interior Ambient Lighting Module with LIN Interface. B.1.1 LIN Handler Flowchart Figure B-1 illustrates the flowchart. © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE USER’S GUIDE DS51714A-page 17 ...

Page 22

... BREAK ERROR RETURN ID ERROR NO YES ID parity bits OK RETURN PARITY ERROR Calculate Parity bits and Store Calculate Checksum and Store Transmit Next Data From Buffer Decrement MESSAGE_COUNTER NO MESSAGE_COUNTER = 0 ? YES RETURN OK YES YES Checksum OK? NO RETURN CHECKSUM ERROR © 2008 Microchip Technology Inc. ...

Page 23

... Firmware Function ..................................................... 9 Flowchart LIN Handler....................................................... 18 H Hardware Components .............................................. 7 I I/O Connections ......................................................... 7 Interior Ambient Lighting Module ............................... 5 Internet Address......................................................... 3 © 2008 Microchip Technology Inc. INTERIOR AMBIENT LIGHTING MODULE WITH LIN INTERFACE USER’S GUIDE Index L LIN.............................................................................. 9 LIN Communications Protocol.................................. 10 M Microchip Internet Web Site ....................................... 3 P Packaging ...

Page 24

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords