background image

CAN/LIN/J2602 PICtail

 (Plus) Daughter Board User’s Guide

DS70319B-page 18

 2011 Microchip Technology Inc.

2.2.8

CAN Transceivers (U3, U4)

A pair of MCP2551 CAN transceivers (see Reference 11 and Reference 14) provide 
the interface between the ECAN modules on the dsPIC33F, PIC24 or PIC18 control 
device and the CAN bus. The transceiver converts the signals from the ECAN modules 
on the dsPIC33F, PIC24 or PIC18 device to a pair of differential CAN bus signals. 

2.2.9

CAN Bus Termination Jumpers (JP4, JP5)

Termination Jumpers (JP4, JP5) are provided to terminate the CAN bus. Jumper JP4 
(see Reference 12) places a 120 ohm termination resistor across the CAN bus con-
nected to CAN1. Jumper JP5 (see Reference 16) places a 120 ohm termination 
resistor across the CAN bus connected to CAN2.

2.2.10

CAN Bus Connectors (P1, P2)

Nine-pin D-type connectors connect the CAN/LIN/J2602 PICtail (Plus) Daughter Board 
to a CAN bus. CAN1 connector P1 (see Reference 13) connects ECAN 1 module on 
the dsPIC33F, PIC24 or PIC18 control device to the CAN bus via the CAN transceiver. 
CAN2 connector P2 (see Reference 15) connects ECAN 2 module on the dsPIC33F or 
PIC24 device and the ECAN1 module’s alternate pinout on the PIC18 device to the CAN 
bus via the CAN transceiver. 

For PIC18 devices, the alternate pinout of the ECAN1 module can be used on two sets 
of pins chosen by the J15 and J16 jumpers. Choose the correct pinout corresponding 
to the PIC18 device used. The CAN bus provides high and low differential signals.

2.2.11

Alternate LIN1 and LIN2 Module Pinout Jumpers (J4, J8, J13, J14)

For PIC18 devices, depending on which device is used and how many pins it has, the 
LIN1 and LIN2 module will be available on two different sets of pins. The J4, J8, J13 
and J14 jumpers are used to select between these two options (see Reference 17).

2.2.12

Alternate CAN1 Module Alternate Pinout Jumpers (J15, J16)

For PIC18 devices, depending on which device is used and how many pins it has, the 
CAN 1 module’s alternate pinout chosen by its internal multiplex will be available on 
two different sets of pins. The J15 and J16 jumpers are used to select between these 
two options (see Reference 18).

2.2.13

PIC18 Explorer Board PICtail™ Connector (J3, J5, J6, J9, J11)

PIC18 Explorer Board PICtail connector (see Reference 19) is made up of five connec-
tors that carry signals from the I/O pins of the PIC18 device on the PIC18 Explorer 
Board to the CAN/LIN/J2602 PICtail (Plus) Daughter Board. This connector handles 
the following signals:

• 9V, 5V and 3.3V DC input to the CAN/LIN/J2602 PICtail (Plus) Daughter Board
• Signals from the ECAN module on the PIC18 device to the CAN transceivers on 

the CAN/LIN/J2602 PICtail (Plus) Daughter Board

• Signals from the UART modules on the PIC18 device to the LIN transceivers on 

the CAN/LIN/J2602 PICtail (Plus) Daughter Board

• LIN Bus Fault Communication

Содержание CAN/LIN/J2602 PICtail Plus

Страница 1: ...ss mainly focus on the distribution of electronic components Line cards we deal with include Microchip ALPS ROHM Xilinx Pulse ON Everlight and Freescale Main products comprise IC Modules Potentiometer...

Страница 2: ...2011 Microchip Technology Inc DS70319B CAN LIN J2602 PICtail Plus Daughter Board User s Guide...

Страница 3: ...y Incorporated in the U S A All other trademarks mentioned herein are property of their respective companies 2011 Microchip Technology Incorporated Printed in the U S A All Rights Reserved Printed on...

Страница 4: ...apter 2 Hardware 2 1 Board Setup 15 2 2 Hardware Components 16 2 3 Auxiliary Header Pinouts 19 Chapter 3 CAN LIN J2602 PICtail Plus Daughter Board Tutorial Program 3 1 PIC18 Tutorial Overview 21 3 2 d...

Страница 5: ...CAN LIN J2602 PICtail Plus Daughter Board User s Guide DS70319B page 4 2011 Microchip Technology Inc NOTES...

Страница 6: ...chapter provides a functional overview of the CAN LIN J2602 PICtail Plus Daughter Board and identifies the major hardware components Appendix A Drawings and Schematics This appendix provides detailed...

Страница 7: ...ave Bold characters A dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in an...

Страница 8: ...tool specific Readme files in the Readmes subdirectory of the MPLAB IDE installation directory The Readme files contain update information and known issues that may not be included in this user s gui...

Страница 9: ...C compilers and other language tools These include the MPLAB C18 and MPLAB C30 C compilers MPASM and MPLAB ASM30 assemblers MPLINK and MPLAB LINK30 object linkers and MPLIB and MPLAB LIB30 object lib...

Страница 10: ...les Office Field Application Engineer FAE Technical Support Customers should contact their distributor representative or field application engineer FAE for support Local sales offices are also availab...

Страница 11: ...ughter Board User s Guide DS70319B page 10 2011 Microchip Technology Inc DOCUMENT REVISION HISTORY Revision A January 2008 Initial Release of this Document Revision B March 2011 Added support for PIC1...

Страница 12: ...opment of PIC18 based applications on the PIC18 Explorer Develop ment Board It offers two interfaces one for a CAN bus and one for a LIN bus Although CAN and LIN protocols are used most extensively in...

Страница 13: ...BOARD CONNECTED TO EXPLORER 16 DEVELOPMENT BOARD FIGURE 1 2 CAN LIN J2602 PICtail Plus DAUGHTER BOARD CONNECTED TO PIC18 EXPLORER DEVELOPMENT BOARD CAN LIN J2602 PICtail Plus Daughter Board Explorer 1...

Страница 14: ...ning an output signal and placing it on the LIN bus A Power down mode turns the transmitter and voltage regulator off leaving only the receiver and wake up circuits in operation Each LIN circuit inclu...

Страница 15: ...to a differential signal for the CAN bus All PIC18 devices have one CAN module which is connected to the CAN1 transceiver U3 For some PIC18s there is an optional alternate pinout for the CAN module th...

Страница 16: ...testing or monitoring of the application For their specific pinouts see Section 2 3 Auxiliary Header Pinouts FIGURE 2 1 CAN LIN J2602 PICtail Plus DAUGHTER BOARD The daughter board obtains 9V DC inpu...

Страница 17: ...sceiver U4 5 LIN2 Bus Connector J12 15 CAN2 Bus Connector P2 6 LIN Power Select Jumper J2 16 CAN2 Bus Termination Jumper JP5 7 LIN1 Master Slave Jumper JP12 17 Alternate LIN 2 Module Pinout Jumpers J4...

Страница 18: ...re can be only one Master node on a LIN bus 2 2 4 LIN Transceivers U1 U2 A set of MCP2021 LIN transceivers see Reference 8 and Reference 4 provide the interface between the UART modules on the dsPIC33...

Страница 19: ...two sets of pins chosen by the J15 and J16 jumpers Choose the correct pinout corresponding to the PIC18 device used The CAN bus provides high and low differential signals 2 2 11 Alternate LIN1 and LIN...

Страница 20: ...16 Pin J17 1 DEBUG1 RE2 RB2 J17 2 DEBUG2 RA5 RF6 J17 3 DEBUG3 RE3 RF7 J17 4 DEBUG4 RA4 RG2 J17 5 DEBUG5 RA7 RF8 J17 6 DEBUG6 RA3 RG3 J17 7 DEBUG7 RA6 RB0 J17 8 DEBUG8 RC5 RB1 J17 9 DEBUG9 RC4 RB3 J17...

Страница 21: ...2TX RC6 or RE5 see J15 RG1 J18 18 CAN2RX RC7 or RE4 see J16 RG0 J18 19 LIN1TX RC6 or RG3 see J8 RF3 J18 20 LIN1RX RC7 or RG0 see J4 RF2 J18 21 LIN1CS RB1 RE8 J18 22 LIN1TXE RC2 RD15 J18 23 LIN2TX RD6...

Страница 22: ...he project This tutorial program transmits data over the CAN bus when the RB0 push button is pressed and has three filters with three buffers to receive data sent over the CAN bus The project contains...

Страница 23: ...cation between ECAN1 and ECAN2 modules CE228 ECAN FIFO Receive Example CE229 Processing of Remote Transmission Requests using ECAN All dsPIC33F and PIC24H code examples are available as freely downloa...

Страница 24: ...UT Figure A 1 is a drawing of the CAN LIN J2602 PICtail Plus Daughter Board AC164130 2 layout Figure A 2 is a drawing of the CAN LIN J2602 PICtail Plus Daughter Board AC164130 layout FIGURE A 1 CAN LI...

Страница 25: ...ams are included in this appendix for Revision 1 of the CAN LIN J2602 PICtail Plus Daughter Board Figure A 5 LIN Circuit Schematics Figure A 6 CAN Circuit Schematics Figure A 7 Connector and Header Pi...

Страница 26: ...2011 Microchip Technology Inc DS70319B page 25 FIGURE A 3 LIN AND CAN CIRCUIT SCHEMATICS LIN1 LIN2 CAN1 CAN2 LIN Circuits CAN Circuits 6X3 Jumper LIN Power...

Отзывы: