background image

P A G E  14

 

P I C P L C 1 6  v 7 a  

U s e r  M a n u a l

LIN COMMUNICATION

LIN (Local Interconnect Network)

 is a inexpensive serial network protocol used for communication between components in 

vehicles, It effectively supports remote application within a car's network. The LIN Bus is particularly intended for mechatronic 
nodes in distributed automotive applications, but is equally suited to industrial applications.

The PICPLC16 v7a utilizes the 

MCP2003B

, it provides a physical 

interface to automotive and industrial LIN systems, in accordance to 
the LIN Bus Specifications Revision 2.2, SAE J2602 and ISO 17987. It 
is short circuit and overtemperature protected by internal circuitry. 
MCP2003B communicates with the target board MCU through the 
UART interface (RXD, TXD), with additional functionality provided by 
the CS and WAKE pins. 

COMMUNICA

TION

∫  

SW16.1 (TX) 

 

ON (up):

 connects the RG1 pin to the transmit data input

 

OFF (down):

 disconnects the RG1 pin from the transmit data input

∫  

SW16.2 (RX) 

 

ON (up):

 connects the RG2 pin to receive data output

 

OFF (down):

 disconnects the RG2 pin from the receive data output

∫  

SW16.3 (CS) 

 

ON (up):

 connects the RJ0 pin to the chip select input

 

OFF (down): 

disconnects the RJ0 pin from the chip select input

∫  

SW16.4 (WK)

 

ON (up):

 connects the RJ1 pin to the wake up input

 

OFF (down):

 disconnects the RJ1 pin from the wake up input

A four-pole DIP switch (SW16) located in the LIN COMM. section of the board, allow fully independent control of the UART RX and TX lines, 
and CS and WAKE lines.

Figure 7: LIN Communication view

Summary of Contents for PICPLC16 V7A

Page 1: ...U S E R M A N U A L mikroBUS SOCKETS CODEGRIP ON BOARD POWER RELAYS 16 16 ISOLATED INPUTS AMAZING CONNECTIVITY...

Page 2: ......

Page 3: ...solutions We are excited to have the opportunity to present you the NEW generation of our flagship development board the P I C P L C 1 6 v 7 a The A generation of the board brings you some awesome ne...

Page 4: ...Time saving embedded tools...

Page 5: ...r the board 10 Programmer debugger On board programmer 11 What is the CODEGRIP 10 Where to start 11 Programming with icd2 icd3 12 Communication Ethernet 13 LIN Communication 14 Connectivity mikroBUS s...

Page 6: ...rt you can connect accessory boards sensors and your custom electronics with ease Powerful on board CODEGRIP USB C programmer and In Circuit debugger will simplify programming and debugging whether yo...

Page 7: ......

Page 8: ...rogram mer and debugger and lots more The Hexiwea r Workstation is ready to be your strong ally in development We hope you will enjoy it as much as we do SCHEMATIC SCHEM ATIC U S E R M A N U A L mikro...

Page 9: ...a the USB cable On board is a very accurate programmable voltage reference VREF in the range from 0V to 3 3V VREF is very useful for many different applications including A D and D A converters compar...

Page 10: ...board is powered with external power supply source Make sure the power supply source is connected Otherwise the on board programmer cannot be enabled To power the board using screw terminals screw on...

Page 11: ...g visual feedback through its clean and comprehensive Graphical User Interface GUI To better understand how to operate and con gure PICPLC16 v7 development board and its integrated CODEGRIP module che...

Page 12: ...em in the same time Insert your ICD programmer cable into connector CN9 as shown in image PROGRAMMING WITH ICD2 ICD3 ICD4 PR O G R A MMING ONBOARD up Interface is enabled If an external debugger probe...

Page 13: ...an be detected and re transmitted This makes the Ethernet protocol very popular for communication over longer distances or in noisy environments The PICPLC16 v7a features standard RJ 45 Ethernet conne...

Page 14: ...y internal circuitry MCP2003B communicates with the target board MCU through the UART interface RXD TXD with additional functionality provided by the CS and WAKE pins C O MMUNIC ATIO N SW16 1 TX ON up...

Page 15: ...ng very good grip for the Click board preventing it to flip over or to be placed incorrectly mikroBUS is not made to be only a part of our development boards You can freely place mikroBUS host connect...

Page 16: ...mances for the used components they save developers of testing and troubleshooting often associated with the prototyping phase They enhance rapid development and accelerate time to market These ready...

Page 17: ......

Page 18: ...DIP switch and a single 2x5 pin header with the standard 2 54mm pitch The PORTs are labeled according to the MCU PORT they are routed to and they add so much to the connectivity potential of the boar...

Page 19: ...ilt in real time clock MCP79411 from Microchip are Providing information on seconds minutes hours days in a week and dates including correction for a leap year I2C serial interface Automatic power fai...

Page 20: ...vanically isolate signals brought to the microcontroller inputs from industrial devices Isolated digital inputs are designed specifically as digital input receivers for programmable logic control PLC...

Page 21: ...w you to easily connect oscilloscope GND reference when you monitor signals on microcontroller pins or signals of on board modules 1 2 GND pin located near the MCU and mikroBUS sockets GND pin located...

Page 22: ...please visit the Libstock website With user profiles you can get to know other programmers and subscribe to receive notifications on their code www libstock mikroe com Once you have chosen your compil...

Page 23: ...even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if nece...

Page 24: ...roe com If you are experiencing some problems with any of our products or just need additional information please place your ticket at www mikroe com support If you have any questions comments or busi...

Reviews: