Home

PICDEM CAN-LIN 2 Development Kit User's Guide

image

Contents

1. r 7 1 1 1 028 LEV gt z leva gt gt angaa 99 z 19 Ivy 28880 p oul gt q91 Sul so or esa MAG ios 2308 6280 alg lt 107 1 l 81 84 08417 Lai 12008 AS TWNOILdO z z _ z var cou L _ L _ L 2 lt wyo 0 7 wyo oz wyo 02 49 31 vau EVE TARZ AE v v Y ig d rga Zz ray ENS L 9 m ST OL E 0L lt 0L 00 11 zg 477 2 8 _ 2 ogy ue u 37 zaid 90H L vau b boy 2007 Microchip Technology Inc DS51334B page 52 PICDEM CAN LIN 2 Board Technical Information BOARD SCHEMATIC PART 6 PROTOTYPE HEADERS AND CONNECTORS FIGURE A 7 _ 96 GE 5 LOPON ye cc Vau 034 ze Te
2. 2 O T 2 qup ator Eu 31 22 gio 9 9 915 0 00N S wyo 0 H 4d x 2 Woo 4 amp AG t 2 160 SOdOZZ OL LHA Old 04 A 14 4701 ozo 610 1V8A T L LE WOO 4 4 Ag T x NI ivan TL 90A 21 ld ved er 9 ZONS0184W1 CHA jd 22 39 22 39 zz jd zz 055 Leo Szo wzo 34 58 d 609 41869 ZHN Oz ZHW OZ 2 oval 1 reval LA YA LA 1280 lt _ T adi m 1 LOSO lt T 1oso0 7 A gr 9 80 1 1 A E AG 1 AG TVNOILdO geo 2122 mer 959 223 S NE 9 M mana N 14958 dr Z9 8 9 420 1 929 9L 9 3 Se 2 on i A8 g NH ors xs l glesead 1 F19S0X H 7 1 5 l lures 3O ONE oe LNOL gt 1104 9SO IVIX ZA es 7111061 Na 2 o 7 Nity lt 99 9L 07 1 3dOzezxvW in TNOLdO _ A 8 DS51334B page 51 2007 Microchip Technology Inc PICDEM CAN LIN 2 Development Kit User s Guide BOARD SCHEMATIC PART 5 LEDS AND LCD DISPLAY OPTION FIGURE A 6
3. 12 12 Pushi Buttons pcc ny ns EN 2007 Microchip Technology Inc DS51334B page 59 PICDEM CAN LIN 2 Development Kit User s Guide R Receive Buffer 28 References 4 S Select Formatters 33 39 Serial bete RHOD etes 15 T Template Windows and Dialog Boxes CAN Controller Window 32 39 Evaluation Board Window Basic Template 31 PIC MCU Register Template 26 PIC18 CAN Evaluation Template 36 History List Window 34 39 Message Filter 26 Message Formatters Window 33 39 Eval Board Control Window 36 Node1 Eval Board Control Window 38 Node2 Eval Board Control Window 39 Output Window 33 39 Physical Layer 27 PIC18 CAN Configuration Window 30 PIC18 CAN Status Window 28 Receive Buffer 28 Timed Transmission Window 34 39 Transmit Buffer 29 Templates BASIC ici N
4. 5 5 RESTORING THE PICDEM CAN LIN 2 FIRMWARE As shipped from the factory the microcontrollers on the PICDEM CAN LIN 2 board are preprogrammed with special firmware This provides the code that makes the Inter active Evaluation mode possible and enables communication with the CANKing host software As users develop their own CAN applications it is likely that the controllers will be reprogrammed with new firmware Should it ever become necessary to return the board to its original state it will be necessary to restore the original firmware To make this process easier the required source and HEX files for the firmware have been included on the PICDEM CAN LIN 2 Software CD in the Firmware folder To reprogram the microcontrollers directly with the original firmware use these HEX files cannode hex for NodeO and Node1 devices PIC18F4680 only e linnode hex for the Node2 device PIC16C432 Users should follow the procedure appropriate for their device programmer and development environment 2007 Microchip Technology Inc DS51334B page 43 PICDEM CAN LIN 2 Development Kit User s Guide NOTES DS51334B page 44 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Chapter 6 Troubleshooting 6 1 HIGHLIGHTS This chapter discusses the following Common Problems 6 2 COMMON PROBLEMS 1 The Power LED is not lit Check the PICDEM CAN LIN 2 board for powe
5. EOB of QB Yor al un tni Prag 08 E A a sae a S POT ae Lee 222485 aaa 5 8 Dono aooo oa o oj 35 5 i pBEEUSOPRBPEEE 23298985 EE ELI BAY 0000000000000000000000000000000000000000000000000000000000 80 0000000000 00000000000000000 00000000000000000008 000000 600000000000000000000000005000000000000000000000000 20 60600000000000000000000000000000000000000000000900000 P 6060000000000000000000000000000000000000000000000000 The main features of the board include 1 DS51334B page 10 Node0 Microcontroller The board is equipped with a pair of nested DIP sock ets designed to accommodate the 40 pin PIC18F4585 4680
6. 194 993 4 b 3 7 CUSTOMIZING PROJECTS The templates furnished with the CANKing host software provide a quick way to connect to the PICDEM CAN LIN 2 board and examine its operation As you experience with the board and the software however you may want to customize your environment For example you may want to launch a different set of controls than those that a particular template uses as its default Alternatively you may want to use different communications settings The host software accommodates these needs by allowing users to save CANKing projects with their particular settings preserving both hardware and window configurations To save a configuration use the File Save As menu option CANKing allows you to save either as a project wcc file extension or a new template wct extension A standard Windows dialog permits you to browse folders for the desired location To open a previously saved project either choose the Open an Existing Project from the dialog box or use the File Open menu option A standard Windows dialog box permits you to browse folders for the desired file DS51334B page 24 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Chapter 4 Using the CANKing Templates 4 14 HIGHLIGHTS The items discussed in this chapter are PIC MCU Register View Template The Basic Template PIC18 CAN Evaluation Board Te
7. ostiis et te testate RES 55 2 a etch er net e aedes 55 Appendix C PICDEM CAN LIN 2 Software CD aeae au dte ut 57 G2 Whats on the CD Ge one ee 57 AA ne ecl dO EID SR ne E dre ee 59 Worldwide Sales and Service 62 DS51334B page iv 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Preface NOTICE TO CUSTOMERS All documentation becomes dated and this manual is no exception Microchip tools and documentation are constantly evolving to meet customer needs so some actual dialogs and or tool descriptions may differ from those in this document Please refer to our web site www microchip com to obtain the latest documentation available Documents are identified with a DS number This number is located on the bottom of each page in front of the page number The numbering convention for the DS number is DSXXXXXA where XXXXX is the document number and is the revision level of the document For the most up to date information on development tools see the MPLAB IDE on line help Select the Help menu and then Topics to open a list of available on line help files INTR
8. Peripherals 2007 Microchip Technology Inc DS51334B page 47 PICDEM CAN LIN 2 Development Kit User s Guide PICDEM CAN LIN 2 BOARD SCHEMATICS A 3 BOARD SCHEMATIC PART 1 Node0 MICROCONTROLLERS AND ASSOCIATED PARTS FIGURE 2 gt 104 SSA lt 1 o ssa 6 D so HOJIMS lt gt 2 5 9 9v o cou lt gt HAN po bom go 1280 Fg lt 1980 xv 68 lt gt lt gt ooy DE L 488 lt gt pve L X 7o9d ogu eva fg lt I eva 1 lt gt Wodisas eu FE T 2 92 v lt gt rau Wwe Fg E HOME I o 6 c Vega gt yr xunvoreay ova DUM 010 X uj y TON 71 ddA 14501 lt gt LIN EN yzy IS 0g lt gt 27 GLU 0 8 9 AS ES 1050 10 060 SSA EM A 5 SSA ove lt 4 060 9 Es G9d 88 gg lt gt L lt gt 0S011 094 9294 2944 lt gt ove oe ae lt gt Wodisee sc say lt I
9. 2003 Microchip Technology Inc MICROCHIP PICDEM CAN LIN 2 Development Kit User s Guide Note the following details of the code protection feature on Microchip devices Microchip products meet the specification contained in their particular Microchip Data Sheet Microchip believes that its family of products is one of the most secure families of its kind on the market today when used in the intended manner and under normal conditions There are dishonest and possibly illegal methods used to breach the code protection feature All of these methods to our knowledge require using the Microchip products in a manner outside the operating specifications contained in Microchip s Data Sheets Most likely the person doing so is engaged in theft of intellectual property Microchip is willing to work with the customer who is concerned about the integrity of their code Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code Code protection does not mean that we are guaranteeing the product as unbreakable Code protection is constantly evolving We at Microchip are committed to continuously improving the code protection features of our products Attempts to break Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work you may have a right to sue for relief unde
10. controller It also provides predefined templates for demonstration evaluation and development uses 1 2 HIGHLIGHTS This chapter discusses PICDEM CAN LIN 2 Development Kit Contents Overview of the PICDEM CAN LIN 2 Board PICDEM CAN LIN 2 Board Features CANKing Host Software 1 3 PICDEM CAN LIN 2 DEVELOPMENT KIT CONTENTS Your PICDEM CAN LIN 2 Development kit contains the following items 1 PICDEM CAN LIN 2 Development Board complete with three Microchip micro controllers two PIC18F4680 controllers and one PIC16C432 preprogrammed with demo firmware 2 universal power supply 110 230 Vac input 12 VDC output and power cable for the Development Board 3 A male to female DB9 serial cable for use in communicating with the board 4 The PICDEM CAN LIN 2 CD ROM with CANKing host software User s Guide and other supporting documents 5 warranty registration card 2007 Microchip Technology Inc DS51334B page 7 PICDEM CAN LIN 2 Development Kit User s Guide 14 OVERVIEW OF THE PICDEM CAN LIN 2 BOARD Most demonstration or evaluation systems use a single microcontroller and are designed to show off that controller s features While this makes sense in most situa tions it also means that users must set up several boards to evaluate even a simple network of a few nodes The drawbacks to this arrangement should be obvious In contrast PICDEM CAN LIN 2 provides three network nodes on one circuit
11. irte inertie 10 E Configuring sse 42 EEPROM 9 11 37 P Evaluation Board Window Physical Layer 27 Basic Template 31 PIC16C432 7 8 10 41 47 54 PIC MCU Register Template 26 PIC18 CAN Evaluation Board Template 36 PIC18 CAN Configuration Window 30 rn PIC18 CAN Status 28 F PIC18C CAN Configuration Window 30 FAQS einen nat tele ied 55 18 2585 2680 8 18 4585 4680 8 H 47 Hardware Configuration PICDEM CAN LIN 2 Board Jumper Settings 42 Block 47 Oscillators 42 Jumper Locations 43 History List Window 34 39 SchematlCs 48 53 Hooking Up the 14 Signals in Schematic table 54 Host Computer 13 PICDEM CAN LIN 2 Software CD Contents 5 ice mises 57 Potentiometers User Defined 11 19 36 38 Internet Address 4 Prototype Area site ae i See cti ei 12 K Prototype Headers pads
12. o 7 5 c zz edsd eqy 2 ee Z vau 7 INV LWe lt gt Zw lt ant ES X gt gz j lt gt z ove AG 779 Houms 904 lt gt 94654908 0 7 Or c Z X ge LdSd L0H ddA HTOM c 5 y OF 038 lt gt 5 SNv Qu 03M 2 lay lt gt onya wiza zc a ALY PIS lt gr uwazi hi 975 084 AG 0897181 91Id en AS DS51334B page 49 2007 Microchip Technology Inc PICDEM CAN LIN 2 Development Kit User s Guide BOARD SCHEMATIC PART 3 Node2 MICROCONTROLLER LIN AND CAN TRANSCEIVERS EEPROM FIGURE A 4 dUOL OGZFNI SdL 440 ab bed E E QNO XLI 90 NIC 9 NH _ WLP TM Oe LT cau 1V8AI TAOS aavmg lt TNVO 99A AG n g xdi va 9 12H HNVO QN9 LOZd N 8n 1 e z 2183 axl 1 td 001 VSScdOW SN LT 5 2 ecu S ji 81 d62q v 79 1V8A AG S ely ERA O
13. 12 14 16 21 41 57 LEDs Customizing Projects 24 Count LEDs 2 39 Installation 14 Digital Port 11 15 19 36 38 39 42 45 Main Menu cara 22204 2464224 42 44421448 ii 22 POWEP 11 15 45 Output Window 23 33 39 PWM Driven 11 19 36 38 Templates sse 25 40 Connectors M CAN DB9M 11 Message Filter 26 ICD pads int reote verto 11 Message Formatters Window 33 39 LCD Microchip Internet Web 5 4 LIN pad ete N nee CICR E ELLE RC Node Configurations 41 Customer Notification Service 5 NodeO 8 10 22 23 25 26 27 30 36 41 42 48 0 Eval Board Control Window 36 D N ode1 issue 8 10 22 30 36 38 41 49 Documentation Node1 Eval Board Control Window 38 Coriv hitions oa 3 NOdeZ 8 9 10 11 19 39 41 50 OUR aan testa 2 Node2 Eval Board Control Window 39 Numbering Conventions 4 i E 3 Oscillators
14. BEES 2 cmm ES 04 7 nyo FINVO AG o Ts 9 t o H NYO anoj 3 lt 8188 lt v gt gt Tos 9 er LSGZd N ALY 1 dM IN 2 5 q ES 184 1 gi ST PES 8 LA oiT 02 218 Ezo _ 4 vo 92717 9n 075 i JL _ 2 1 EN HIOWN 1 wu OF 3 ALY je T rau lt ra ead oy gt eau HS teo zeo sgu 21199 cau yai 11994 gt 8 11 zau lt 1 0881 gt 08H AS gi EE 991 8 ddA OW jj o oso MOOLHVU AZZ OSZYNI au 01 SN ova gr oNv ov ENVEVU uus OFC y 6 9 2 d1O Gi L9V8 IvH J38ACNV ZVH gt J ag 4 924 95 PES PONE iS _ ose c v99L2Id ZN IVNOILdO FT AGE wi tdi 308 ivan vey 504 NIT JEE 6 1V8A AS 2007 Microchip Technology Inc DS51334B page 50 PICDEM CAN LIN 2 Board Technical Information BOARD SCHEMATIC PART 4 USART OSCILLATOR OPTIONS AND POWER SUPPLY FIGURE A 5
15. CAN LIN 2 Development Kit User s Guide 2 3 3 Starting the Host Software for the First Time With the software installed and the PICDEM CAN LIN 2 board connected all you need to do is to actually start the host software and confirm communications 1 From the Start menu select Programs Microchip CANKing OR From a Command window DOS window on Windows 95 98 navigate to the directory program files microchip then enter wc32 However it is started the CANKing welcome dialog box appears Figure 2 2 FIGURE 2 2 THE CANKing WELCOME DIALOG 215 5 KINGDOM Welcome to CANKing What would you like to do Look in the online help View important last minute information about CANKing Start using CANKing Welcome to CANKing the free CAN bus monitor For PCcan and LAPcan Don t ask me again e Dk Quit 2 Select the Start using CANKing option Optionally to remove the dialog from future start ups check the Don t ask me again box Click on OK 3 Atthe subsequent Warning dialog click on OK I Know What I m Doing to proceed Optionally check Don t show me this warning in the future to remove this dialog from future start ups Note The cautions against personal injuries in this dialog refer to those cases where the PICDEM CAN LIN 2 board is being used in the evaluation and development of live automotive and industrial networks Obviously this doesn t apply to situation
16. s CAN registers FIGURE 4 10 PIC18 CAN EVALUATION BOARD WINDOW BASIC TEMPLATE VERSION PIC18 CAN Evaluation Bo x Eval Board Status Eval Board Not Found MICROCHIP Communication Port COMI PC Expected answer not received EL TE E 2007 Microchip Technology Inc DS51334B page 31 PICDEM CAN LIN 2 Development Kit User s Guide 4 3 2 PIC18 CAN Controller This window provides information about the status of the bus including nominal bus loading status of node on or off the bus and bus bit rate The tabs at the top ofthe window select between Bus Statistics and Bus Parameters pages On the Bus Statistics page the bus loading bus parameters and bus status can be viewed The bus loading shows the nominal load on the CAN bus as a percentage and as a number as well as the total number of messages sent and received The bus parameters reflect the parameters set in the Bus Parameters view i e bit rate num ber of TQ bit segment lengths and the location of the sample point The Bus Statistics shows the mode of operation and error states this is also where the controls to put the board On Bus normal operation or Off Bus Configuration mode are located Options on the Bus Parameters page allow the user to configure the bus rate the sam ple point the Synchronization Jump Width SJW
17. As messages with the same ID are received or transmitted they overwrite the con tents of the previous message with the same ID Used in conjunction with the delta time feature the frequency of each message type can be observed Copy to Clipboard copies the contents of the window s buffer to the Windows clipboard Clear empties the window and its buffer EL T EE T YvMA EK s cQ 2007 Microchip Technology Inc DS51334B page 23 PICDEM CAN LIN 2 Development Kit User s Guide FIGURE 3 2 TYPICAL OUTPUT WINDOW STANDARD TEXT FORMAT SHOWN amp Output Window b loj xl Ident Time Dir 0000 8 FF 02 64 00 00 00 02 03 d 194 993 T E 0000 8 FF 10 02 00 00 04 00 194 993 T 0000 8 FF 02 65 00 00 00 03 03 194 993 0000 8 FF 10 03 00 FO 00 02 00 194 993 T 0000 8 FF 02 66 00 00 00 04 03 194 993 T 0000 8 FF 10 04 00 FO 00 06 00 194 993 T 0000 8 FF 02 67 00 00 00 05 03 194 993 T 0000 8 FF 10 05 00 Fl 00 08 00 194 993 T 0000 8 FF 02 68 00 00 00 06 03 194 993 0000 8 FF 10 06 00 FO 00 09 00 194 993 T 0000 8 FF 02 96 00 00 00 09 03 194 993 T 0000 8 FF 10 09 00 FO 00 05 00 194 993 T 0000 8 FF 02 98 00 00 00 OA 03 194 993 T 0000 8 FF 10 O 00 FO 00 OA 00 194 993 T 0000 8 FF 02 99 00 00 00 OB 03 194 993 T 0000 8 FF 10 OB 00 Fl 00 OB O0 194 993 T 0096 8 03 01 00 00 00 00
18. Keep in mind that deselecting this box may create unforeseen problems if the NodeO was not configured properly previously DS51334B page 30 2007 Microchip Technology Inc Using the CANKing Templates FIGURE 4 9 THE BASIC TEMPLATE WHOLE SCREEN VIEW SHOWING THE AVAILABLE WINDOWS AT START UP Bus Statistics Bus Parameters Bus Load 0 Total Per Second RX messages 0 0 messages 0 0 Overrun 48 Clear Bus Parameters Bus Speed 125 000 kbit s Bit timing 0 8 51 5 52 3 SP 62 5 SJW 1 il Go On Bus C On Bus Error Passive Ava lable Eormatters Standard Text Format C Off Bus Interpret King s Pages Simple Alarm PSS Filter X Go off Bus Error Warning Active Formatters Eval Board Status zi Zistsndard Text Format 9 Eval Board Not Found MICROCHIP Communication Port COMI 2 PC Expected answer not received Up Don pim Eos Prints text when certain CAN message identifiers are seen Reset Board 4 3 1 PIC18 CAN Evaluation Board This window is similar in function to the Evaluation Board window in the PIC MCU Register template Section 4 2 1 PIC18 CAN Evaluation Board in displaying the current communication status of the board For the Basic template there is only one control the Reset Board button It resets the firmware and writes power on default values to all of Node0
19. Read Reset Board Setup Modules Formats CAN messages as text 4 4 1 Unlike the other templates the PIC18 CAN Evaluation Board template requires additional action by the user beyond a firmware Reset This involves initializing that section of the firmware which allows interactive control of the board s features which are not available when operating with the other templates The initial setup described in Section 2 3 Using the PICDEM CAN LIN 2 Board for the First Time describes the process in detail If the board is already connected however it is only necessary to do the following 1 Opena new project using the Evaluation Board template 2 In the PIC18 CAN Controller window click Go on Bus 3 In the PIC18 CAN Evaluation Board window click Setup Modules This command causes multiple CAN messages to be transmitted and initializes all nodes on the board The interactive features of the board are now available Putting the Board in Evaluation Mode 2007 Microchip Technology Inc DS51334B page 35 PICDEM CAN LIN 2 Development Kit User s Guide 4 4 2 PIC18 CAN Evaluation Board Window As with its counterparts in the other templates this window displays the current com munication status with the board In this template there are two control buttons Reset Board resets the firmware and writes power on default values to all CAN registers Setup Modules initializes the firmware for the Interac
20. ZVMS lt gt d99 coH ig oly Cv IMS LEON lt gt gy pos eow Le 0 7 you lt gt XHNVO tHM fog 1 beau JEE vz joasisou XINVO C8M fgg gt SH 904 lt yg lt gt V 18H LOU Lg anao OINI OSM cc oga voda lt gt Jodsa oay SS vNV SVH lt gt lt gt Lasanas IMDOLIDVE Fs lt 2 77 CBPUAENV EVH Fa lt ai lt gt ss CBANONVIOH p lt 126 lt 2 77 vdsdivau INV IVH gt eH al LS L 429 Sau lt gt 0 0 2 ASA HOLIMS lt gt edsd equ Oly po etg lt gt LdSd 20H ddWBTON ddA 1 9591 T vy OA s e DEN van L ay 7c any LY cle lt gt ZNwso zay 01 di evo AG 089748214 OLN AS 2007 Microchip Technology Inc DS51334B page 48 PICDEM CAN LIN 2 Board Technical Information BOARD SCHEMATIC PART 2 Node1 MICROCONTROLLERS AND ASSOCIATED PARTS FIGURE A 3 198 L gr110u SSA Ey 90H lt 1 77790 SSA TT
21. and switching between Normal and Listen Only modes of operation FIGURE 4 11 PIC18 CAN CONTROLLER WINDOW 7 PIC18 CAN Controller 2121 1 Bus Parameters Bus Load 0 Total Per Second Overrun messages 0 0 TX messages 0 0 4 Clear Bus Parameters Bus Speed 125 000 kbit s Bit timing Q 8 51 5 5253 SP 62 5 SIW 1 x Go On Bus On Bus Error Passive Off Bus Error Warning X Go off Bus DS51334B page 32 2007 Microchip Technology Inc Using the CANKing Templates 4 3 3 Select Formatters Window This window determines the format of the displayed data in the Output window CANKing provides a number of predefined general and specialized format options for data display Many of these formats can in turn be fine tuned with specific configura tion options The default is Standard Text Format which displays the message data as normal data To add a formatter for the Output window select an option from the Available Formatters spin box and click on the Use button Alternatively you can double click on the item The formatter is successfully selected when it appears in the Active Formatters window and its check box is selected To deactivate a formatter select the item from the Active Formatters window and click the Remove button You can also temporarily deactivate an option by deselecting the check box next to it To change the order that formatters
22. bit timing registers correctly The formulas for bit timing contain an oscillator frequency Refer to the PIC18F2585 2680 4585 4680 Data Sheet for further details The options menu contains the configurable properties of both the hardware and the software The default numeric base is selected by Options gt Global Auto save switches are also contained here Options gt PIC18 CAN is where the COM port is selected and where the oscillator frequency is set in software This menu also contains a switch that determines whether or not the NodeO controller will be reset on file open This feature is for those users who want to switch between templates without changing the PIC18FXX8X configuration e g masks and filters are set to receive ALL messages in the Basic template unless this box is deselected DS51334B page 40 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Chapter 5 Reconfiguring the PICDEM CAN LIN 2 Hardware 5 4 HIGHLIGHTS This chapter covers the following Node Configurations Oscillator Configurations Jumper Settings Restoring the PICDEM CAN LIN 2 Firmware 5 2 NODE CONFIGURATIONS The PICDEM CAN LIN 2 board can be operated in many different configurations only afew of the possibilities are listed here Most of these can be implemented without any changes to the board some may require the addition of some components or wiring Access to the
23. board By using a common power supply and allowing the nodes to be configured in multiple ways the process of evaluating and developing network nodes can be significantly streamlined The three nodes on the PICDEM CAN LIN 2 board are NodeO a CAN node implemented with either a 28 pin PIC18F 2585 2680 or 40 pin PIC18F4585 4680 microcontroller This node interfaces to the external host computer through a standard serial RS 232 interface and is directly controlled by the host software It monitors both the on board and external CAN busses and can be used for basic PIC18FXX8X evaluation development Node1 CAN node also implemented with either a PIC18F2585 2680 or PIC18F4585 4680 device This node communicates with NodeO over the on board CAN bus It also implements the CAN to LIN bus gateway to Node2 below and acts as the LIN bus master node Like Node0 Node1 can also be used for basic PIC18FXX8X evaluation development Node2 a LIN bus slave node is implemented with the 20 pin PIC16C432 microcontroller with integrated LIN bus transceiver It communicates to Node1 via the LIN bus Both the CAN and LIN busses are routed off board through a connector which allows the board to be connected to an external bus 1 4 1 Benefits of Using the PICDEM CAN LIN 2 Board Putting three nodes on one board gives the developer some definite benefits MULTIPLE HARDWARE CONFIGURATIONS WITH ONE BOARD Of course the PICDEM CAN LIN 2 board accommo
24. discussed in this section as the others are self explanatory Messages Menu In the Basic and PIC18 CAN Evaluation templates the Messages menu selects the CAN message type to be transmitted Each option opens a dialog box for configuring the message the dialog is unique to the message type Two message options are available Universal or CAN Kingdom The Universal option allows the user to send standard generic format messages using a normal up to eight byte integer long integer 32 bit floating point or string page format The CAN Kingdom option lets the user transmit a message that adheres to the CAN Kingdom higher layer protocol in one of 20 pre defined King s page formats or a default letter format In the PIC Register template the Messages menu provides alternate access to the various buffer and register configuration windows these are available as submenu options from the single menu option P C18 CAN Eval Board Options Menu All of the templates offer the Global and PIC18 CAN options in the Options menu These are used to configure communications with the board and global features of CANKing and are discussed in Section 3 5 The Main Menu The Basic and P Evaluation templates also include the King s Pages option Selecting this allows the user to set a default King s envelope and city group address Note Theoscillator frequency must be set in software to match the hardware so the software can configure the
25. external LIN bus will require the addition of a LIN bus connector at the pads provided for J4 item 16 in Figure 1 1 5 2 1 Two CAN Nodes One LIN Node Embedded System This is the default configuration The two CAN nodes Node0 and Node1 are connected via the on board CAN bus while Node1 and Node2 are connected via the on board LIN bus There are no external CAN or LIN bus connections This configuration can be used for evaluation or development For design evaluation use one of the three templates to monitor or control the board For development use Node1 for the development of applications NodeO can then be used with the CANKing software to monitor the development node If required Node1 may also communicate with Node2 5 2 2 Two CAN Nodes One LIN Node Distributed System In this configuration external CAN and LIN bus devices can be connected to the on board bus This configuration can be used for evaluation or development using a similar approach as an embedded system configuration above 5 2 3 Two CAN Nodes Embedded System In this configuration Node2 is deactivated by removing the PIC16C432 controller from its socket with the power off of course If required the circuit traces between the Node1 USART pins and the stand alone LIN bus transceiver may be cut and an extra RS 232 line driver may be added In Development mode NodeO can be used to monitor Node1 5 2 4 Two CAN Nodes Distributed System This configu
26. for commands from 1 performs the appropriate actions As configured from the box the behavior of the CAN nodes is determined by its hardware configuration While NodeO and Node1 both execute the exact same code the function of the node is decided by its hardware configuration When either node is reset its firmware attempts to communicate with the external EEPROM If the EEPROM is found the code assumes the role of NodeO and uses the USART to com municate with the host system If the EEPROM is not found it assumes the role of Node1 and uses the USART for LIN bus communication Since the EEPROM is hard wired to the NodeO controller this essentially ensures that this controller will always be NodeO Node0 and Node are connected via the on board CAN bus which is also available to an external CAN bus through a D shell connector Node1 and Node2 are connected via the on board LIN bus Node1 uses a separate LIN transceiver while Node2 uses an integrated LIN transceiver The board routes the on board LIN bus to a 3 pin header for connection to external LIN devices The overall layout of the board is shown in Figure 1 1 El 2007 Microchip Technology Inc DS51334B page 9 PICDEM CAN LIN 2 Development Kit User s Guide FIGURE 1 1 THE PICDEM CAN LIN 2 BOARD TOP ASSEMBLY VIEW 9 8 REN d gt ale Ole eibi 2 19
27. into the CAN ID box maps to multiple registers SIDH SIDL EIDH and EIDL For example entering 1FFFFFFF in the CAN ID box maps all 15 to SIDH SIDL EIDH and EIDL Like the Receive Buffer window the Transmit Buffer window allows users to select one buffer to view at a time Multiple Transmit Buffer windows can be opened for simultaneous viewing by holding down the Shift key while selecting the Transmit Buffer option from the Windows menu Messages gt PIC18 CAN Eval Board gt PICT8 CAN Transmit Buffer FIGURE 4 7 TRANSMIT BUFFER WINDOW PIC18 CAN Transmit Buffer 181 Tx Buffer MEME 00 0101010 SIDH 0 00000000 CAN Id SIDL 00 0020 20 00 EIDH 0 00000000 Length o EIDL o 00000000 DLC o o lo olo 0 po ps po 0 00000000 01 00 00000000 Di 05 02 o 00000000 02 o p3 o 00000000 D4 o 00000000 pz 5 0 00000000 D6 o 00000000 7 o 00000000 3 Read P Write EID9 2007 Microchip Technology Inc DS51334B page 29 PICDEM CAN LIN 2 Development Kit User s Guide 4 3 4 2 7 PIC18 CAN Configuration This window displays and can directly control the contents of the CAN Control and Peripheral Interrupt registers CANCON CIOCON PIE3 PIR3 and IPR3 These are the control and flag registers for the PIC18FXX8X microcontrollers A complete discussion of the function of these registers is beyond the scope of this manual Interested readers are
28. it You can also directly launch the template by double clicking on its icon If you have an alternate template or project you wish to use select the Open an Existing Project option at the Open a Project dialog A standard Windows dialog allows you to browse for the desired folder Custom projects and templates are covered in more detail in Section 3 7 Customizing Projects 2007 Microchip Technology Inc DS51334B page 21 PICDEM CAN LIN 2 Development Kit User s Guide 3 4 INTRODUCTION TO THE TEMPLATES Much of the host software s versatility comes from its use of predefined templates Because of the potential complexity of managing a microcontroller at the bit level let alone a network protocol such as CAN the problem of organizing all the information and controls that a user might need to evaluate and manage becomes a major challenge CANKing simplifies matters by grouping all the necessary controls for a particular type of task into a template Launching the template activates the necessary individual control or monitor windows that are required for the task Users have the option to close or reopen particular windows as needed The individual templates and their controls are covered in detail in Chapter 4 Using the CANKing Templates A brief overview is given below 3 4 1 PIC MCU Register View Template The PIC MCU Register template allows low level control of NodeO It is typically used to evaluate and test th
29. referred to the PIC18F2585 2680 4585 4680 Data Sheet 0539625 for more information FIGURE 4 8 PIC18 CAN CONFIGURATION WINDOW PIC18 CAN Configurati CANCON 00 0 0 0 0 0 0 0 CIOCON 00 010100 PIES 00 0 0 0 0 0 0 0 0 PIR3 00 0 0 0 0 0 0 0 0 IPR3 00 0 0 0 0 0 0 0 0 TXB1IP Tx Buffer 1 IntPrior amp Read 28 Write THE BASIC TEMPLATE The Basic template is a high level tool which focuses on CAN bus traffic The user only has high level control of Node0 i e no direct register control which includes Configuring the bus rate Changing modes of operation Configuration and Normal Configuring a Transmit register the register number is predefined Transmitting messages Resetting NodeO Other functions of the Basic template are receiving messages saving transmitted mes sages starting timed transmissions and observing the bus loading Details of these functions can be found later in this section under the details of the individual windows This template would typically be used as a simple bus monitor that could be used to evaluate the PIC18FXX8X on a CAN bus or assist in development by monitoring how is operating By default the Basic template configures NodeO to receive ALL messages The user has the option to maintain NodeO configurations when switching templates by selecting Options gt PIC18 CAN and deselecting the Reset PIC18 CAN on Opening check box
30. to our web site to obtain the latest documentation available 2007 Microchip Technology Inc DS51334B page 3 PICDEM CAN LIN 2 Development Kit User s Guide Documentation Numbering Conventions Documents are numbered with a DS number The number is located on the bottom of each page in front of the page number The numbering convention for the DS Number is DSXXXXXA where XXXXX A The revision level of the document The document number WARRANTY REGISTRATION Please complete the enclosed Warranty Registration Card and mail it promptly Sending in your Warranty Registration Card entitles you to receive new product updates Interim software releases are available at the Microchip web site RECOMMENDED READING This user s guide describes how to use the PICDEM CAN LIN 2 Development Kit The data sheets contain current information on programming the specific microcontroller devices MPLAB IDE User s Guide DS51025 Comprehensive guide that describes installation and features of Microchip s MPLAB Integrated Development Environment IDE as well as the editor and simulator func tions in the MPLAB IDE environment MPASM User s Guide with MPLINK and MPLIB DS33014 This user s guide describes how to use the Microchip PIC MCU MPASM assembler the MPLINK object linker and the MPLIB object librarian PIC Mid Range MCU Family Reference Manual DS33023 and PIC 18C MCU Family Reference Manual
31. z 1a 0 62 2 vau 82 72 equ cay 92 c 4 c 194 994 22 Iz vou 02 6i cou LON 09 9i Tai m 5 mE 2 vay zi Hu eau B 8 S gt ogu S 7 ove Y Le 188 Sve 9 ew eve T Z eve z 1 AS 2 Ove __ gt 2 dSOl er 96 GE caus gt vt TE lt gt V H 09 lt _ gt Ze Te lt gt Voay lt gt 0 62 lt gt lt gt 82 72 lt gt y eas zay lt gt 97 Sz lt gt Vias oa lt gt z cz lt gt 10H 5 99H 2 lt gt HN gt le lt gt lt gt ogul zi e eou gt Ji lt gt vau gt 5 lt eae LOU Sy gp lt gt caul 8 7 bay AE lt gt c lt gt a eogal 5 lt evi k raa od 21 LE ids 9 E eval gt lt a OL 6 2 S gt 9gu ivl z 16 ovs g 2 z mur 9 S c Err evu gt lt gt z 9 LIVE gt 2 lt gt vov 1 1 or Le DS51334B page 53 2007 Microchip Technology Inc PICDEM CAN LIN 2 Development Kit User s Guide TABLE A 1 SIGNALS USED IN THE PICDEM CAN LIN 1 SCHEMATIC Signal Name Function CAN H CAN L Differentia
32. 0155 ELLO 121 O vC 5855 288 Jav iue o amp 2 noooo Y loooen o 7 7 cece 15232 mozo wazo CAN 9 eomm oe Na i Lod 5 9858 00 958 58 00 ca god bo 509 cem 89888888 lp pyy 071 ES ce m ii one QU 00 DIE em 09 ucc LE ose ME o Microchip Technology m mE al 51 12 bu PER lo ol an n Q lo ol PICDEM CAN LIN 2 2003 lo e tel Le 89 8 Jo 9 02 01671 o un 9 D DRH vl 5 5 5 fa 9 yan in usa Y 2 9 lo fa uw TI 5 olo nss elo 0 7 Lu jo jo o ol jo o 9 el el o oll 18 sa Ei bla oo o ET mpi 7 ef wE n ne E __ o o o ono Em rue cms Em 212 Em rx d bla oe o ol Es rule m ble o A blo o Es Hi o bo e s ee LN B n nsi M olo oo olo oo du Es RED lo e 2 o IOl 2 2028 6 6 2 v Ex o EO 8 k 80 db al Fe SEC E Ec Reo oo 00 en oon RESET m 020 002 025 026 io E 40158555555 20
33. 14 2007 Microchip Technology Inc Getting Started with the PICDEM CAN LIN 2 Board FIGURE 2 1 CONNECTIONS BETWEEN THE PICDEM CAN LIN 2 BOARD AND THE HOST COMPUTER Ven Y orf Serial Cable d DB9 to DB9 AH Serial Port 1 4 1 COM2 12 VDC from ee Serial Port Power Supply CI PICDEM CAN LIN 2 Board Host Computer 4 Connect the serial cable supplied in the kit to the RS 232 connector on the board then to the open serial port on your computer Note If your available serial port is a DB25 male connector you will need to use a DB25F to DB9M port adapter sometimes known as an external modem adapter Check with your local electronics parts store or your Information Services provider for additional information 5 Connect the mini DIN plug of the power supply to the power input jack on the board 6 Plug the power adapter into your wall socket or power strip 7 Check the board The red power LED should light and the NodeO port LEDs should briefly flash once If they don t check all connections with the power supply and the board For additional assistance refer to Chapter 6 Troubleshooting 8 Power up the host system 2007 Microchip Technology Inc DS51334B page 15 PICDEM
34. 1a or the 28 pin PIC18F2585 2680 1b each includes an integrated CAN module The NodeO microcontroller also handles the communications to the host computer via RS 232 as well as the external serial EEPROM and the optional LCD module Node1 Microcontroller This is also a nested DIP socket pair that can accom modate either the PIC18F4585 4680 2a or PIC18F2585 2680 2b This node communicates with NodeO and any external CAN nodes over the on board CAN bus It also serves as the LIN master and communicates to Node2 and other external LIN nodes over the on board LIN bus Node2 Microcontroller This is a 20 pin DIP PIC16C432 with integrated LIN bus transceiver It acts as a LIN slave and transfers data to and from Node1 Oscillators NodeO and Node1 each support three different oscillator configurations crystal RC and canned The board is factory equipped with 25 MHz canned oscillators for both of the CAN nodes If a different oscillator type is required the board hardware must be reconfigured see Section 5 3 Oscillator Configurations for more information Node2 uses an RC oscillator only not shown it cannot be reconfigured Reset Push Buttons Each of the microcontrollers has its own Reset push button switch tied to the MCLR pin Pressing the switch causes a hard controller Reset CAN Node User Defined Switches Two push button switches are connected to each the CAN nodes to simulate digital inputs Their status can be monit
35. 2345 DS51334B page 56 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Appendix C PICDEM CAN LIN 2 Software CD C 1 HIGHLIGHTS This chapter will cover the following topics What s on the CD C 2 WHAT S ON THE CD The PICDEM CAN LIN 2 CD includes the following software tools and support documentation CANKing Host Software The entire utility is contained in the self extracting installer file wc32mchip pic exe Executing this file will install the CANKing software described in Chapter 3 Getting Started with the CANKing Software and the predefined templates covered in Chapter 4 Using the CANKing Templates PICDEM CAN LIN 2 Firmware The firmware for the Demonstration Board s microcontrollers is located in the Firmware folder The device specific files are located in the subfolders CAN node for PIC18F4680 devices and LIN node for PIC16C432 In addition to the HEX files for device programming assembler and C language source files are provided for creating custom projects All necessary project header and linker files are also included so that users with MPLAB IDE may begin to create custom projects immediately Note The MPLAB Integrated Development Environment software is not included with the PICDEM CAN LIN 2 Kit Users who do not have MPLAB IDE may download it without charge from the Microchip web site www microchip com Support Files for Microch
36. A E ERE LED 22 30 PIC MCU Register View 22 25 PIC18 CAN Evaluation Board 22 35 Variations in the Main 40 Timed Transmission Window 34 39 Transmit Buffer Window 29 W WWW Address 4 DS51334B page 60 2007 Microchip Technology Inc Index NOTES 2007 Microchip Technology Inc DS51334B page 61 MICROCHIP WORLDWIDE SALES AND SERVICE AMERICAS Corporate Office 2355 West Chandler Blvd Chandler AZ 85224 6199 Tel 480 792 7200 Fax 480 792 7277 Technical Support http support microchip com Web Address www microchip com Atlanta Duluth GA Tel 678 957 9614 Fax 678 957 1455 Boston Westborough MA Tel 774 760 0087 Fax 774 760 0088 Chicago Itasca IL Tel 630 285 0071 Fax 630 285 0075 Dallas Addison TX Tel 972 818 7423 Fax 972 818 2924 Detroit Farmington Hills MI Tel 248 538 2250 Fax 248 538 2260 Kokomo Kokomo IN Tel 765 864 8360 Fax 765 864 8387 Los Angeles Mission Viejo CA Tel 949 462 9523 Fax 949 462 9608 Santa Clara Santa Clara CA Tel 408 961 6444 Fax 408 961 6445 Toronto Mississauga Ontario Canada Tel 905 673 0699 Fax 905 673 6509 ASIA PACIFIC Asia Pacific Office Suites 3707 14 37th Floor Tower 6 The Gateway Ha
37. AN bus they are always present but functional only in the Basic and Evaluation templates FIGURE 3 1 THE CANKing MAIN MENU CANKing for Windows basic PIC18 CAN wct nl x File View Messages Options Window Help u Save Project Open Existing Project Create New Project 3 6 THE OUTPUT WINDOW Common to both Basic and PIC18 CAN Evaluation templates is an Output window which displays the messages that are received and transmitted by NodeO This window can be reconfigured to display messages in different formats The formats are changed using a combination of the Message Formatter dialog box and the right mouse button The Message Formatter window titled Select Formatter selects one or more of several predefined formats for the window The format type may be specific to a particular usage e g a CANKing s page interpreter or a LIN bus message interpreter or a generic text format More than one formatter may be selected and their order of display may be arranged at will Many of the formats can be fine tuned with their own configuration options For additional information see Section 4 3 3 Select Formatters Window Using the right mouse button in this window brings up a menu with several options Options allows the user to set the font used in the window as well as the maximum number of lines available in the window s buffer Fixed Positions effectively assigns a slot for each message identifier
38. CAN Message Filters This window is used to set up and test mask and filter combinations with different message identifiers Each mask and filter can be tested without actually writing the con figuration to NodeO This is done to allow the user to test different configurations against message identifiers that would appear on the bus When the desired mask and filter combinations are achieved the values can be written to the NodeO by clicking the Write button Note The masks and filters can be written only when the NodeO is in Configuration mode DS51334B page 26 2007 Microchip Technology Inc Using the CANKing Templates FIGURE 4 3 MESSAGE FILTER WINDOW PICIS CAN Message Filles 251 Configuration Mode Test Identifier X Test Buf 1 RD Rop Cc o mre c mesh ET 4 2 3 PIC18 CAN Physical Layer The Physical Layer window is where the CAN bus rate is configured The user has bit level control of the three BRGCON registers BRGCON1 BRGCON2 and BRGCON3 which sets up all items required for CAN bit timing including the time quanta TQ bit segments the Synchronization Jump Width SJW and the Baud Rate Prescaler BRP The calculated bit rate is shown at the bottom of the window For this calculation to be valid the oscillator value must be correct To change the oscillator value select Options gt PIC18 CAN from the main menu The BRGCON register
39. DS39500 These manuals explain the general details and operation of the mid range and advanced MCU family architecture and peripheral modules They are designed to complement the device data sheets Microsoft Windows Manuals This manual assumes that users are familiar with the Microsoft Windows operating system Many excellent references exist for this software program and should be consulted for general operation of Windows THE MICROCHIP WEB SITE Microchip provides online support via our web site at www microchip com This web site is used as a means to make files and information easily available to customers Accessible by using your favorite Internet browser the web site contains the following information Product Support Data sheets and errata application notes and sample programs design resources user s guides and hardware support documents latest software releases and archived software General Technical Support Frequently Asked Questions FAQs technical support requests online discussion groups 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 DS51334B page 4 2007 Microchip Technology Inc Preface DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip s customer notification service h
40. HOLIMS 2 91 S94 E T C lt gt 80 9 gj ET lt gt eo 5 lt gt 1250 5 1280 Xr 85 lt gt lt gt 008 sv H Pw KI 18H lt gt 094 29 Z Pc 98H X 2 7 99d o8u eve gz EVE En 2 98H lt gt Wodisay zva y HOLIMS X 2 g vau ES opt c 9 eau gt z xunvoreay Ove z li l LE MST 0 X W9 HION gt A 4801 ae lt gt ILNI gY ERR ALT 018 088 lt gt 01NI 08M swa 0892381219 Na ei z 1950 L gt p NPEH L980 SSA ZN SSA 2 ove lt 2050 9 et d9d48H gg4 lt gt 21488 oee 0S 2 008 lt gt r osoro OOd 98M cc gt 298 2 sva C T x LOU X gt WOdlsg8 lt 2 EE 8 OL zou lt gt 77 1409 2904 Uu lt 08 lt gt positos LE 0 9 lt gt sz XHNVO t8M gg 1 2684 ou z ve 1008 90 XINVO S fgg gt 2 2 lt OX LION LLNILSH 2188 Z Lou L sz Laneios OLNVOGY cc lt gt 2085 L lt gt 004 lt gt Gy 7 F7 2 X gg DIOOL PVH 2 vva 0c 9 A 2 zdsdizas RYVENV EVE 5 We ead C
41. M rcr UM TN 25 4 2 PIC MCU Register View Template 25 4 3 The Basic Template ERa Naa 30 4 4 PIC18 CAN Evaluation Board Template 35 4 5 Template Specific Variations the Main Menu 40 Chapter 5 Reconfiguring the PICDEM CAN LIN 2 Hardware Re anao rt E AE MUCE YAA 41 5 2 Node Configurations peer 41 5 3 Oscillator Configurations dd ere tent 42 DA Jumper SMG D De nd 42 5 5 Restoring the PICDEM CAN LIN 2 Firmware 43 2007 Microchip Technology Inc DS51334B page iii PICDEM CAN LIN 2 Development Kit User s Guide Chapter 6 Troubleshooting 6 1 anses mnt ota co tno CUP eR RERUM E ahaa cute Medo DINEM M 45 6 2 Common Problems sisi 45 Appendix A PICDEM CAN LIN 2 Board Technical Information Psd coc pra Fate dod Rad AUR des 47 2 PICDEM CAN LIN 2 Block Diagram 47 PICDEM CAN LIN 2 Board Schematics 48 Appendix B FAQs on Configuring the PIC18FXX8X
42. N 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Table of Contents PG TAGE ce 1 Chapter 1 Introduction to the PICDEM CAN LIN 2 Board 121 IntrodUctiOh EE ER ARR 7 Ned e DRE 7 1 3 PICDEM CAN LIN 2 Development Kit Contents 7 1 4 Overview of the PICDEM CAN LIN 2 Board 8 1 5 PICDEM CAN LIN 2 Board Features 9 1 1 CANKing Host Software see 12 Chapter 2 Getting Started with the PICDEM CAN LIN 2 Board 2 1 Highlights icon at bct entente Pe n 13 2 2 Host Computer Requirements essere 13 2 3 Using the PICDEM CAN LIN 2 Board for the First Time 13 2 4 Checking the Board in Evaluation Mode 19 Chapter 3 Getting Started with the CANKing Software 21 3 2 Software Overview nere nnne nennen 21 3 3 Starting the Program s cate nn e ee At 21 3 4 Introduction to the Templates 22 3 5 Th Main Menu rere od rene Do 22 3 6 The Output Window iii 23 3 7 Customizing Projects sisi 24 Chapter 4 Using the CANKing Templates AV
43. NDOW PIC18 CAN Receive Buffer 3 xl Rx Buffer 000 0000 00000000 CAN Id so 00 00000 00 EDH 00 00000000 Length EIDL 00 00000000 po o 00 0000000 00 00000000 pi ps fo Di 0 00000000 D2 00 00000000 02 6 D3 00 00000000 07 4 00 00000000 p 00 00000000 REM 6 00000000 07 00 00000000 Write SRR RTR When SIDL EXID 1 4 2 5 PIC18 CAN Status Window The PIC18 SCAN Status window displays the contents of the CANSTAT register the COMSTAT register and the counts for the receive and transmit error counters The con dition of the registers are also shown for example a CANSTAT value of 80h displays the condition as Configuration mode with no interrupts pending The window also contains controls to clear overrun conditions for each of the receive buffers FIGURE 4 6 PIC18 CAN STATUS WINDOW PIC18 CAN Status CI xi Register Value Meaning CANSTAT 3a CanStatTexk Tx Error 3a Rx Error 3a COMSTAT 3a ComstatTexk1 ComstatText2 Clear RXBOOVFL Clear RXBLOVFL DS51334B page 28 2007 Microchip Technology Inc Using the CANKing Templates 4 2 6 PIC18 CAN Transmit Buffer This window controls the buffer contents for the three transmit registers including TXBnCON the identifier registers and the data registers Like the other register windows the Transmit window maps the byte values to the bit boxes Entering data
44. ODUCTION This chapter contains general information about this manual and contacting customer support HIGHLIGHTS Items discussed in this chapter are About This Guide Warranty Registration Recommended Reading The Microchip Web Site The Microchip Web Site Development Systems Customer Change Notification Service Customer Support 2007 Microchip Technology Inc DS51334B page 1 PICDEM CAN LIN 2 Development Kit User s Guide ABOUT THIS GUIDE Document Layout This document describes how to use the PICDEMTM CAN LIN 2 Development Board as a development system for the PIC18FXX8X family of microcontrollers The manual layout is as follows Chapter 1 Introduction to the PICDEM CAN LIN 2 Board What the PICDEM CAN LIN 2 Board is what makes it a desirable development tool and what features are available Chapter 2 Getting Started with the PICDEM CAN LIN 2 Board Describes how to connect and begin to use the PICDEM CAN LIN 2 board Chapter 3 Getting Started with the CANKing Software Gives a brief overview of the CANKing host software and the concept of the predefined templates Chapter 4 Using the CANKing Templates Provides a more detailed description of the individual templates and how to use them Chapter 5 Reconfiguring the PICDEM CAN LIN 2 Hardware Describes various multi node configurations of the board and how to customize certain features Chapter 6 Troubleshooting Prov
45. PICDEM CAN LIN 2 BOARD FOR THE FIRST TIME For evaluating the PICDEM CAN LIN 2 board the simplest configuration uses a host computer connected directly to the board using a crossover cable Creating this setup involves the following steps 1 Installing the CANKing Host Software 2 Connecting the PICDEM CAN LIN 2 Development Board to the host system 3 Starting the Host Software 2007 Microchip Technology Inc DS51334B page 13 PICDEM CAN LIN 2 Development Kit User s Guide 2 3 1 Installing the Host Software The installation of the host software package is completely automated and does not require any user intervention or configuration once the process is started The process is identical for all 32 bit Windows operating systems Users with Windows NT based desktops NT 4 0 2000 and XP should not need to have administrative rights to their systems for this installation Closing all background applications before proceeding is helpful but not required Note Itis possible that some organizations may implement a desktop computer policy sufficiently restrictive to prevent the user from loading any software at all In theory this can be done with any 32 bit Windows operating System on a network including Windows 95 If this describes your situation contact your local Information Services provider for assistance in installing this software To install the host software 1 Insert the PICDEM CAN LIN 2 Software CD
46. T ComstatText1 PIES ComstatText2 PP Clear RXBOOVEL 22220 3 urte 2007 Microchip Technology Inc DS51334B page 25 PICDEM CAN LIN 2 Development Kit User s Guide 4 2 1 PIC18 CAN Evaluation Board This window is functionally available in all three templates but is named and configured in a slightly different manner for each In each template it displays the current commu nication status with the board When a successful connection is detected the Board Status LED turns green and displays a connected message The window also shows the current COM port setting and any log messages as the host software communicates with the board In the PIC MCU Register template the window provides three control buttons Reset Board causes a Reset of the board s firmware and erases all previous settings Save Reg saves the current register values as a HEX file a standard Windows dialog allows the user to browse for the file location Load Reg restores previously saved register values from a HEX file and also uses a Windows dialog to search for the file s location FIGURE 4 2 PIC18 CAN EVALUATION BOARD WINDOW REGISTER TEMPLATE VERSION BOARD NOT CONNECTED PIC18 CAN Evaluation olx Eval Board Status Eval Board Not Found MICROCHIP Communication Port COMI PC Expected answer not received Load Reg Save Reg 4 2 2 PIC18
47. al channels Distributor or Representative Local Sales 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 available to help customers A listing of sales offices and locations is included in the back of this document Technical support is available through the web site at http support microchip com 2007 Microchip Technology Inc DS51334B page 5 PICDEM CAN LIN 2 Development Kit User s Guide NOTES DS51334B page 6 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Chapter 1 Introduction to the PICDEM CAN LIN 2 Board 1 1 INTRODUCTION The PICDEM CAN LIN 2 Development Kit has been revised for the evaluation development of CAN network nodes utilizing Microchip s PIC18FXX8X family of 28 and 40 pin microcontrollers This tool is ideal for beginning CAN designers as well as those new to the PIC18FXX8X family The Demonstration Board provides three nodes two CAN and one LIN bus that can be configured in numerous ways through jumpers and component selection The CAN nodes implement basic input and output functionality and can send and receive CAN bus messages The host software included with the kit allows fine manipulation of the PIC18F4680 devices down to the bit level as well as high level control of the micro
48. and the Eval window display count synchronously LED Status Like the other nodes the LEDs for Node2 can also be individually toggled on and off For this feature and the Count LEDs to work the LED enable jumper JP4 must be installed FIGURE 4 19 NODE2 EVAL BOARD CONTROL WINDOW Node2 Eval Board xl Config s Errors Poll automatically ErrCount 0 Count LEDs LastErr Pot Value 0 4 4 6 PIC18 CAN Controller This window is identical to the PIC18 CAN Controller window in the Basic template Section 4 3 2 PIC18 CAN Controller 4 4 7 Select Formatters This window is identical to the Message Formatters window in the Basic template Section 4 3 3 Select Formatters Window 4 4 8 History List This window is identical to the History List window in the Basic template Section 4 3 5 History List 4 4 9 Timed Transmission This is identical in form and function to the Timed Transmission window in the Basic template Section 4 3 6 Timed Transmission 4 4 10 Output Window The Output window is discussed in Section 3 6 The Output Window 2007 Microchip Technology Inc DS51334B page 39 PICDEM CAN LIN 2 Development Kit User s Guide 45 TEMPLATE SPECIFIC VARIATIONS IN THE MAIN MENU For the most part the options available from the CANKing main menu are identical in all three template views The few exceptions are described below Only two menu items will be
49. are applied to the Output window select a formatter in the Active Formatters window and click on the Up or Down buttons The properties of the formatter can be changed by pressing the Properties button while the selection is highlighted in the Active Formatters list The properties of the Standard Text Format are the numeric base of the display octal decimal or hexa decimal and whether or not to display the message time stamp as a running total or as delta time Many of the other formatters have their own unique configuration properties e g filter limits message interpreters FIGURE 4 12 MESSAGE FORMATTERS WINDOW 21515 Available Formatters Standard Text Format Interpret King s Pages du Simple Alarm Use Pass Filter al Active Formatters v Standard Text Format v Interpret King s Pages Simple Alarm PA Map vapeur z S Up Down Options Remove Interprets certain King s Pages according to CanKingdom 4 3 4 Output Window The Output window is discussed in detail in Section 3 6 The Output Window E AA aaa Ua Massa E 2007 Microchip Technology Inc DS51334B page 33 PICDEM CAN LIN 2 Development Kit User s Guide 4 3 5 History List This window is used to collect transmitted messages for saving to a file Itis not opened by default when opening a new template but by selecting View History List from the main menu Once opened every transmitted
50. ates 4 4 PIC18 CAN EVALUATION BOARD TEMPLATE For most users this is the very first template used when the PICDEM CAN LIN 2 board is first set up and configured It provides real time control of the board s interactive features and serves as the demo application for the on board controls The individual Board Evaluation windows allow users to among other things toggle the LEDs and monitor the real time status of the push button switches and potentiometers FIGURE 4 15 THE EVALUATION BOARD TEMPLATE WHOLE SCREEN VIEW SHOWING THE AVAILABLE WINDOWS AT START UP Bus Statistics Bus Parameters Bus Load 0 Per Second RX messages 0 TX messages 0 id Cle Bus Parameters Bus Speed 125 000 kbit s Bit timing 0 8 S1 5 52 3 5 62 5 SIW 1 C on Bus X Go off Bus Error Passive Error Warning co Module Stat cc Node2 Eval Board LastErr Pot Value NA 0 Available Formatters 11 Eval Board Status 9 Eval Board Not Found Standard Text Format Interpret King s Pages Simple Alarm P 164 si Use LEDs MICROCHIP Active Formatters Standard Text Format M Simple LIN bus interpreter Communication Port PC Expected answer not received text Send Clear EEProm zi Address 0 Up Down Options Remove Content fso fso fso Write
51. bus Basic template Set the bus rate in the Bus Status window Register template change BRGCON registers The oscillator frequency not set to match Set the oscillator frequency hardware Fosc is required in bit rate Options gt PIC18 CAN formula Board is not connected to the external bus Connect to the external bus using the DB9 labeled CAN Pinouts CANH pin 7 CANL pin 2 Q Why does the node Acknowledge messages in the Basic template but not display them A The PIC18FXX8xX filters are not matching the incoming messages This can be caused because the Reset PIC18 CAN on Open is deselected causing the old register contents masks and filters to remain unchanged when switching templates Press Reset or select the Reset PIC18 CAN on Open box and reopen the template Why can t I enter values in the Physical Layer window A The PIC18FXX8xX is not in Configuration mode The three BRGCON registers are only modifiable while in Configuration mode Change modes 2007 Microchip Technology Inc DS51334B page 55 PICDEM CAN LIN 2 Development Kit User s Guide Q Why don t the mask and filter registers change after pressing the Write button A The PIC18FXX8xX is not in Configuration mode Masks and filters are changeable only in Configuration mode How do enter extended IDs into a field A Lead off the number with an which indicates an extended frame e g x1
52. bus monitor using the basic template NodeO could also be used as a tool to set or verify bit timings masks or filters DS51334B page 8 2007 Microchip Technology Inc Introduction to the PICDEM CAN LIN 2 Board The possibilities are not limited to what can be developed with just the nodes on the board either For example NodeO can be included as part of a more complex devel opmental network of many CAN nodes and serve as the tap point for monitoring the entire network 1 5 PICDEM CAN LIN 2 BOARD FEATURES As mentioned the PICDEM CAN LIN 2 board consists of two CAN nodes and one LIN node NodeO acts as the main node It interfaces with the host software through a serial connection RS 232 and either executes commands from the host system or passes them to Node1 NodeO also interfaces with the on board LCD header If an LCD is connected NodeO can display text messages under host software control Node1 also acts as a CAN node and demonstrates a CAN to LIN bridge This node is controlled via which relays commands for Node1 from the host system Node receives these messages and performs the appropriate actions This node also acts as a LIN master mode and provides CAN to LIN bridge functionality to Node2 As a LIN master it receives messages from NodeO and relays them to the LIN slave node Node2 is a LIN slave node implemented by the PIC16C432 This node contains an integrated LIN bus transceiver It waits
53. cators LED Status These eight buttons control and indicate the status of the first 8 LEDs of the LED bank the ninth LED is controlled by Node1 s potentiometer Clicking on any of the buttons will toggle the corresponding LED on or off The LED enable jumper JP3 must be installed for this feature to work DS51334B page 36 2007 Microchip Technology Inc Using the CANKing Templates LCD If a compatible LCD display is attached at the header a message can be written to it by using this area To send a line of text type into the text text box up to 7 characters then click Send To erase the display click Clear EEPROM The on board serial EEPROM can be read from and written to from this area To write enter a valid address in the Address text box enter data values into one or more of the Content boxes then click Write To read enter a valid address in Address then click Read FIGURE 4 17 Node0 EVAL BOARD CONTROL WINDOW f Node0 Eval Board Controls 7 Module Status Comm Mode Action Mode T T 2 Pot Value PWM Intensity 0 0 LEDs j j Display text Send Clear EEProm Address to Content so Bo go Write Read ST 2007 Microchip Technology Inc DS51334B page 37 PICDEM CAN LIN 2 Development Kit User s Guide 4 4 4 Node1 Eval Board Control Window This window co
54. crochip Technology Incorporated in the U S A Analog for the Digital Age Application Maestro CodeGuard dsPICDEM dsPICDEM net dsPICworks ECAN ECONOMONITOR FanSense FlexROM fuzzyLAB In Circuit Serial Programming ICSP ICEPIC Mindi MiWi MPASM MPLAB Certified logo MPLIB MPLINK PICkit PICDEM PICDEM net PICLAB PICtail PowerCal Powerlnfo PowerMate PowerTool REAL ICE rfLAB Select Mode Smart Serial SmartTel 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 2003 Microchip Technology Incorporated Printed in the U S A All Rights Reserved LI Printed on recycled paper Microchip received ISO TS 16949 2002 certification for its worldwide headquarters design and wafer fabrication facilities in Chandler and Tempe Arizona Gresham Oregon and design centers in California and India The Company s quality system processes and procedures are for its PIC MCUs and dsPIC DSCs KEELOQ code hopping devices Serial 5 microperipherals nonvolatile memory and analog products In addition Microchip s quality system for the design and manufacture of development systems is ISO 9001 2000 certified DS51334B page ii 2003 Microchip Technology Inc PICDEM CAN LI
55. ction 11 CAN Transceivers The MCP2551 transceivers one for each CAN node convert the differential signal on the CAN bus to levels that are compatible with the PIC18 microcontrollers 12 LIN Transceiver The MCP201 transceiver converts the high voltage signals from the LIN bus to levels compatible with the PIC16 microcontroller 13 External EEPROM A 24LC16 serial EEPROM is included for the use of developers in creating a full range of prototype devices This is a 16 Kbit device which is programmable by a two wire I2C interface The EEPROM memory is controlled by NodeO Its contents may be read modified via the host software interface 14 RS 232 DB9F Port A standard D shell connector provides a serial connection to control and monitor the Demonstration Board Since it uses a standard 232 level shifter this connector can also be used as a standard serial port for prototype applications 15 CAN Connector DB9M This connector allows the on board CAN nodes to be connected to an external CAN bus 16 LIN Connector 3 pin Pad A space is provided to add a 3 pin connector allowing the on board LIN node to connect with an external LIN bus 17 ICD Connectors These two 6 wire RJ 11 connectors allow the CAN Node microcontrollers to be connected to an external programmer and programmed on the board 18 Power Connector Power 12 VDC is supplied to the board from the power adapter through a 4 pin mini DIN jack Alternatively ex
56. dates a large selection of CAN and LIN node combinations When all three nodes are used sixteen different combinations of micro controllers are possible depending on which sockets are populated for the CAN nodes In addition users can implement any one of three oscillator configurations for the CAN nodes or easily add other hardware to the board using the prototyping area and headers Many of these configuration changes are performed with jumpers while others require component additions or removals The board configurations and jumper locations are discussed in detail in Chapter 5 Reconfiguring the PICDEM CAN LIN 2 Hardware and Chapter 6 Troubleshooting EASIER CAN NODE EVALUATION The CANKing host software included with the PICDEM CAN LIN 2 Development Kit allows for fast evaluation of CAN node operation as well as the CAN protocol Using one of the included template sets users can evaluate everything from bit level status of registers to node operation and bus status The host software and the templates are discussed in detail in Chapter 3 Getting Started with the CANKing Software and Chapter 4 Using the CANKing Templates ENHANCED CAN NODE DEVELOPMENT Including two CAN nodes on the PICDEM CAN LIN 2 board provides an additional tool for developing PIC18FXX8X based CAN nodes either by themselves or together For example a user might use the controller in Node1 to prototype a CAN node while using NodeO as a simple
57. e Build time Aug 13 2002 11 23 45 PC Expected answer not received SerialChecksumError 10 instead of Setup Modules 9 Inthe CAN Controller window click on Go on Bus The On Bus light turns green Atthe same time the message in the Evaluation Board window changes to Eval Board is in Normal Mode 10 In the Evaluation Board window click on Setup Modules Output information from the board appears in the Output window The PICDEM CAN LIN 2 board is now ready to respond to control inputs from the host software DS51334B page 18 2007 Microchip Technology Inc Getting Started with the PICDEM CAN LIN 2 Board 2 4 CHECKING THE BOARD IN EVALUATION MODE While the board is connected to the host system and the host software is using the Evaluation template it may be useful to verify its operation This is also a good way to show off the board s capabilities After following the instructions in Section 2 3 Using the PICDEM CAN LIN 2 Board for the First Time do the following 1 Slowly turn the potentiometer clockwise and counterclockwise The right most LED of Node1 s LED bank should brighten and dim At the same time the Pot Value displayed in the NodeO Eval Board window should increase and decrease while the PWM Intensity indicator in the Node1 Eval Board window should increase and decrease by the same amount 2 Slowly turn the Node1 potentiometer clockwise and counterclockwise The rig
58. e PIC18FXX8X at the register and bit level All of the registers required for complete configuration of the CAN module are available in this template 3 4 2 Basic Template The Basic template is a high level tool which focuses on CAN bus traffic It is typically used to observe the PIC18FXX8X while on the bus The development of a CAN node based Node1 can be evaluated by using this template with NodeO 3 4 3 PIC18 CAN Evaluation Board Template The Evaluation Board template provides real time control of the entire board as a demonstration tool It allows users to control the LEDs for each of the nodes and monitor in real time the status of the user push buttons and potentiometers 3 5 THE MAIN MENU Launching any of the templates or opening any existing CANKing project always places a common toolbar at the top of the screen The overall operation of CANKing is controlled from here The menu options available are with a very few exceptions universal across all of the templates The File menu implements a standard set of Windows options Users can create a new project save an existing project open or reopen an existing saved project close the existing project without exiting CANKing and exit CANKing entirely The View menu allows the user to selectively open and close any of the windows and dialogs available within the template By default each template opens only some of the windows available to it All of the windows available wit
59. elps keep customers current on Microchip products Subscribers will receive e mail notification whenever there are changes updates revisions or errata related to a specified product family or development tool of interest To register access the Microchip web site at www microchip com click on Customer Change Notification and follow the registration instructions The Development Systems product group categories are Compilers The latest information on Microchip 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 librarians Emulators The latest information on Microchip in circuit emulators This includes the MPLAB ICE 2000 and MPLAB ICE 4000 In Circuit Debuggers The latest information on the Microchip in circuit debugger MPLAB ICD 2 MPLAB IDE The latest information on Microchip MPLAB IDE the Windows Integrated Development Environment for development systems tools This list is focused on the MPLAB IDE MPLAB SIM simulator MPLAB IDE Project Manager and general editing and debugging features Programmers The latest information on Microchip programmers These include the MPLAB PM3 and PRO MATE II device programmers and the PICSTART Plus and PICkit 1 development programmers CUSTOMER SUPPORT Users of Microchip products can receive assistance through sever
60. erc 588232 DN Bozo wazo CAN 2 oo as ao AV 5900 0000 020 tol Lod Lol 3 S ul 01 07 8 8 NodeD ICD Nadel ICD 794 en Em won 00062066 41 O NT 11 e ozo gin gin m9 cs C tia 16 CH TE 9 Technology Inc E oo ce ow D E o o oo o o PKDEM CAN LIN 2 2003 ra ye ol Lad 2 ou 9 o 9 n nms B lo a 7 fa T s oo e 9 6 amus oja o jo o ols oo olo Le Dea blo EXE blo 0 T o gt lm E o Bo leas o 96112 Jen 7 227 ms stam 63m Flu we PCA 58 om e o o Jo 9 4 0 lo oo olo ee EN Lo o o o olo LN 2 qs sk ele elo o s PIX z A 6 o o o E n EE ol Eri ML lol Aa Ray o 2 Uu RE se Red 0 em DM mf zx r ts g o 0 0 AL RE O mo
61. hese components to obtain a frequency compatible with the controller If the RC oscillator option has been previously used it will be necessary to remove the RC network components 5 3 2 RC Oscillator The on board oscillator module s Y2 and or Y3 must be removed from their sockets The RC network for the oscillator is not provided and must be added by the user Each CAN controller has pads provided for an RC network Pads R21 C27 for NodeO and R22 C29 for Node1 are provided for the addition of these components It is the user s responsibility to select values for these components to obtain a frequency compatible with the controller 5 4 JUMPER SETTINGS There are several jumpers provided for configuring the hardware operation of the PICDEM CAN LIN 2 board Their functions are listed in Table 5 1 and locations are shown in Figure 5 1 TABLE 5 1 JUMPER DESCRIPTION Number Board ID Function 1 JP3 Connects 120 ohm terminating resistor to the CAN bus 2 JP1 LED enable for NodeO 3 JP2 LED enable for Node1 4 JP4 LED enable for Node2 DS51334B page 42 2007 Microchip Technology Inc Reconfiguring the PICDEM CAN LIN 2 Hardware 9
62. hin a template are listed in the View menu allowing the user to select only those that are needed or all windows if required The Messages menu is context sensitive Depending on the template it either opens or shifts focus to a specific configuration or message window or selects the format for the next CAN message to be sent This is covered in more detail in Section 4 5 Template Specific Variations in the Main Menu The Options menu sets program wide operational options for CANKing The PIC18 CAN selection configures hardware and communication options with the board see Figure 2 3 The Global selection configures software options for CANKing s operation such as the displayed numeric base of data and auto save on exit DS51334B page 22 2007 Microchip Technology Inc Getting Started with the CANKing Software The Window menu lists the open windows and dialogs and lets the user bring any one of the windows to the foreground Unlike the View menu this menu only shows those windows which are active The Help menu provides access to indexed and interactive on line product help as well as Internet links to Kvaser s CANKing web site Context sensitive help is also available by pressing F1 The main menu toolbar Figure 3 1 is the same for all templates It provides standard Windows toolbar buttons for creating a new project and opening and saving an existing project Icons are also provided to go on and off the C
63. ht most LED of NodeO s LED bank should brighten and dim At the same time the Pot Value displayed in the Node1 Eval Board window should increase and decrease while the PWM Intensity indicator in the NodeO Eval Board window should increase and decrease by the same amount Note While this may seem anti intuitive using one node s potentiometer to affect the other s LED does prove a point For this demonstration we are showing that an analog input from one microcontroller can be communicated across the CAN bus to control the PWM output of the other microcontroller 3 Click on any of the LED buttons in either of the CAN node s windows The corresponding LED on the board should toggle on or off 4 Inthe Node2 Eval Board window select the Count LEDs check box Both the LED buttons in the window as well as the Node2 LEDs on the board should start counting up in binary and in sync with each other If all of these tests worked you are now ready to start working with the board Se 2007 Microchip Technology Inc DS51334B page 19 PICDEM CAN LIN 2 Development Kit User s Guide NOTES DS51334B page 20 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Chapter 3 Getting Started with the CANKing Software 3 1 HIGHLIGHTS The items discussed in this chapter are Software Overview Starting the Program Introduction to the Templates The Ma
64. ides information on solving common problems Appendix A PICDEM CAN LIN 2 Board Technical Information Provides the block diagram and detailed schematics of the PICDEM CAN LIN 2 board Appendix B FAQs on Configuring the PIC18FXX8X Provides list of the most commonly encountered issues when programming PIC18FXX8X microcontrollers as well as some solutions Appendix C PICDEM CAN LIN 2 Software CD Provides a summary of the software on the accompanying CD ROM Index Cross reference listing of terms features and sections of this document Worldwide Sales and Service gives the address telephone and fax number for Microchip Technology Inc sales and service locations throughout the world Hox X d 21 Z s H P M o n c DS51334B page 2 2007 Microchip Technology Inc Conventions Used in This Guide Preface This manual uses the following documentation conventions DOCUMENTATION CONVENTIONS Description Represents Examples Arial font Italic characters Referenced books MPLAB IDE User s Guide Emphasized text is the only compiler dialog Initial caps A window the Output window A dialog the Settings dialog A menu selection select Enable Pr
65. in Menu The Output Window Customizing Projects 3 2 SOFTWARE OVERVIEW The CANKing host software provides a comprehensive interface to control the board s operation To make things easier the program uses three distinct predefined templates that perform specific functions Note Using the CANKing host software requires that the PICDEMTM CAN LIN 2 board s microcontrollers be programmed with the demo firmware Since the CAN firmware is designed to run on PIC18F4680 microcontrollers only using any configuration in NodeO and other than two PIC18F4680 microcontrollers precludes the use of CANKing host software The board can still be used in other configurations for prototype development 3 3 STARTING THE PROGRAM To run CANKing select Programs Microchip CANKing from the Start menu Alternatively double click on the CANKing icon or shortcut If you have not disabled them on the first use of the software you will see the initial CANKing Dialog and Warning window see Section 2 3 3 Starting the Host Software for the First Time for details If they appear click OK at these dialogs to continue At the Open a Project or Template dialog simply titled CANKing for Windows select the Template option for creating a new project The other options listed are not available in this version of CANKing and should be dimmed Click OK Atthe Templates dialog selectthe appropriate template and click OK to launch
66. into your system s CD ROM drive 2 Double click on My Computer then on the icon for the CD ROM 3 Double click on the wc32mchip pic exe icon Installation will proceed automatically and take 1 2 minutes Alternatively run the installation by selecting Run from the Start menu At the dialog box enter x wc32mchip pic where is the drive letter of your CD ROM The installation process will install the host software package as well as the templates and help files By default all files are installed by default in the directory Program Files Microchip under the root level of your hard drive A shortcut for the host software is also installed under Programs from the Start menu Programs gt Microchip gt CANKing Note Always use the suggested default path for installing the host software Because of certain software dependencies it may not work correctly if installed elsewhere 2 3 2 Connecting the PICDEM CAN LIN 2 Board The basic connections are shown in Figure 2 1 1 Power down the host system This isn t strictly necessary but it s always a good safety idea particularly if you need to rearrange cables or move the system 2 Unbox and unwrap the board and set it on a non conductive surface near the host system 3 If they aren t installed already install the microcontrollers in their respective Sockets Check that they are completely seated and that all pins are making contact DS51334B page
67. ip PIC Microcontrollers with CAN Also provided is a complete library of support information for Microchip s line of microcontrollers with CAN functionality This includes The latest PIC18F2585 2680 4585 4680 Data Sheet The In Circuit Serial Programming specification for the PIC18FXX8X family 738 PIC18C CAN Routines in which presents a library of CAN functions AN853 PIC18XXX8 CAN Driver with Prioritized Transmit Buffer which provides an assembler based firmware driver for a CAN node Sales and support literature for the PIC18FXX8X family The application notes are provided with a complete set of the source code files discussed in each document allowing the user to begin working with the CAN utilities immediately PICDEM CAN LIN 2 User s Guide This single file is the electronic version of this Development Kit manual provided in Adobe Acrobat format 2007 Microchip Technology Inc DS51334B page 57 PICDEM CAN LIN 2 Development Kit User s Guide NOTES DS51334B page 58 2007 Microchip Technology Inc MICROCHIP PICDEM CAN LIN 2 DEVELOPMENT KIT USER S GUIDE Index C L CAN Controller Window 32 39 LCD Display riinan pieneen 9 11 37 45 52 CAN Kingdom 12 Pinout for 54 CANKing Host Software
68. l 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 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 Fax 33 1 69 30 90 79 Germany Munich Tel 49 89 627 144 0 Fax 49 89 627 144 44 Italy Milan Tel 39 0331 742611 Fax 39 0331 466781 Netherlands Drunen Tel 31 416 690399 Fax 31 416 690340 Spain Madrid Tel 34 91 708 08 90 Fax 34 91 708 08 91 UK Wokingham Tel 44 118 921 5869 Fax 44 118 921 5820 06 25 07 DS51334B page 62 2007 Microchip Technology Inc
69. l high and low CAN bus signals ICSP 1 VPP or ICSP programming voltage and Reset for the designated ICSP 2 VPP controller 1 CAN NodeO 2 CAN Node1 LIN bus Differential LIN bus signal MCLR 3 Reset signal for LIN node PIC16C432 SW 1 5 2n Push button input from switch n for the designated controller 1 CAN NodeO 2 CAN Node1 RXn 1 RXn 2 or RXn 3 Bit n of PORTx for the designated controller 1 CAN NodeO 2 CAN Node1 3 LIN Node PIC16C432 VBAT LIN bus battery voltage 9 to 12 VDC TABLE A 2 LCD CONTROLLER HEADER Pin Signal Pin Signal 1 GND 2 5V 3 VEE 4 RS 5 R W 6 E 7 NC 8 NC 9 NC 10 NC 11 DB4 12 DB5 13 DB6 14 DB7 DS51334B page 54 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Appendix B FAQs on Configuring the PICI8FXX8X B 1 HIGHLIGHTS This chapter will cover the following topics FAQs B 2 FAQs Q Why doesn t the development tool successfully communicate on an external bus A There are several possible reasons why this happens The following are the most common problems Condition Fix The PIC18FXX8X is off the bus Basic template Go on Bus button in the Bus not in Normal mode Status window The COM port is not configured correctly Make sure COM port selection is correct Options gt PIC18 CAN The bus rate is not set to match the
70. message is captured in the History List window for saving to a file if desired Each line consists of Identifier Data Len and Data Byte DO through Data Byte D7 One or more messages can be selected for retransmission There is also a button for sending all the captured messages The History List window works in conjunction with the Timed Transmission window Messages can be retransmitted once or continually at defined intervals See the Timed Transmission window Section 4 3 6 Timed Transmission for more details FIGURE 4 13 HISTORY LIST WINDOW Le Send Selected 27 Load n Save Clear 4 3 6 Timed Transmission The Timed Transmissions window is used to send the messages in the History List either once or continually at timed intervals The One Shot mode sends the selected in the History List window messages one time each time the send buttons are pressed in the History List window The Cyclic selection sends the selected messages at regular intervals from 1 ms to 10 s The interval is set with the fixed interval spin box The other Message Timing selections Just in Time and Manual are not available in this version of the software FIGURE 4 14 TIMED TRANSMISSION WINDOW 2515 Transmission Mode Message Timing Fixed Interval ms 200 C Cyclic CCE en fais DS51334B page 34 2007 Microchip Technology Inc Using the CANKing Templ
71. mplate Template Specific Variations in the Main Menu 42 PIC MCU REGISTER VIEW TEMPLATE This template allows low level control of NodeO It is typically used to evaluate and test the PIC18FXX8X microcontroller at the bit level of the registers required for complete configuration are available in this template Values for buffer and control registers can be changed on both the byte and bit levels To modify the register on a byte level enter the value in the boxes next to the register names Notice that the bit values will reflect the entered byte values To modify the registers at the bit level double click the desired bit The bit will toggle for each double click and the byte representation will be reflected next to the register name The bit boxes are only modifiable when unshaded Shaded bit boxes are read only bits FIGURE 4 1 PIC MCU REGISTER VIEW TEMPLATE WHOLE SCREEN VIEW SHOWING THE AVAILABLE WINDOWS AT START UP T Configuration Mode PIC18 CAN Physical Layer Test Identifier eases T Configuration Mode ce POA 9 Sf RXF2 Samples 25251 Phase Seg 2 uses 5 Rs Recon 00 0 0 00 0 0 0 0 Reco o 00000000 181 1 1 101010 MS RAS Write ERP2 5 Bit rate 3125 000 kbit s Xtal 25 0 MHz ISIDH 00 0000 0 0000 Length Register leaning 04 6 CANSTAT CanStatText i 3 EA CANCON Dif 05 0 ees 0 COMSTA
72. ntrols Node1 the second CAN and LIN master node When the board is properly initialized this window will also display the correct Module Status The interactive features are Pot Value and PWM Intensity These function identically to their counterparts for the NodeO Eval Board Control window except these refer to Node1 The PWM intensity displayed and brightness of the ninth LED is controlled by the NodeO potentiometer the value of which is displayed in the NodeO Eval Board window Push Button Status These are identical in function to NodeO LED Status These are also identical to NodeO The LED enable jumper JP4 must be installed for this feature to work FIGURE 4 18 NODE1 EVAL BOARD CONTROL WINDOW Nodel Eval Board Iof x Module Status Comm Mode Action Made T 1 Pot Value Pw Intensity DS51334B page 38 2007 Microchip Technology Inc Using the CANKing Templates 4 4 5 Node2 Eval Board Control Window This window shows real time status of Node2 the LIN slave node Its features are Poll automatically When this check box is selected the status of the Node2 potentiometer is monitored in real time and shown on the Pot Value display Like the other nodes the value is also reported numerically Count LEDs Checking this box causes the Node2 LEDs to count up in binary sequence least significant digit on the left The LEDs on the board
73. ogrammer Quotes A field name a window or Save project before build Underlined italic text with A menu path File gt Save right angle bracket 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 Ris the radix and n is a digit 4 b0010 2 hF1 Text in angle brackets gt A key on the keyboard Press Enter F1 Courier New font Plain Courier New Sample source code define START Filenames autoexec bat File paths c mcci8 n Keywords _asm endasm static Command line options Opa Bit values O Constants OxFF A Italic Courier New A variable argument file o Where file can be any valid filename Square brackets Optional arguments mcc18 options file options Curly brackets and pipe character Choice of mutually exclusive arguments an OR selection errorlevel 011 Ellipses Replaces repeated text var name var name Represents code supplied by user void main void Documentation Updates All documentation becomes dated and this user s guide is no exception Since MPLAB IDE MPLAB C1X and other Microchip tools are constantly evolving to meet customer needs some actual dialogs and or tool descriptions may differ from those in this document Please refer
74. ored through the host software 2007 Microchip Technology Inc Introduction to the PICDEM CAN LIN 2 Board 7 CAN Node Potentiometers These analog potentiometers 7a and 7b are connected to and Node1 respectively These potentiometers simulate analog inputs for their controllers and control the brightness of the PWM controlled LED on the other CAN node i e the NodeO potentiometer controls the brightness of Node1 s LED and vice versa Their real time status is also displayed by the host software 8 Node2 Potentiometer This analog potentiometer is connected to Node2 When Node2 is configured for Poll Automatically option the real time status of this potentiometer is displayed by the host software 9 CAN Node LED Banks Both Node0 and Node1 are connected to their own bank of nine LEDs one 8 bit LED port and one PWM controlled LED The 8 bit LED shows the digital status of PORTD of the controller and can be modified under software control The output of the PWM controlled LED is continuously variable and is determined by the value of the other CAN node s potentiometer 7a or 7b as noted For the LEDs to function their associated LED enable jumper JP1 or JP2 must be installed 10 Node2 LED Bank An 8 bit LED port is connected to PORTB of the LIN slave node and shows its digital status The display can be modified under software control The LED enable jumper JP4 must be installed for the bank to fun
75. r Verify that the power supply is plugged in and the wall outlet has power If battery connection is used verify that the correct polarity is used Check that voltage is available 12 at the plug If the original power supply is not being used check for appropriate voltage 12 VDC e Check that the regulated voltage 5 VDc is available at the connectors at the prototype area of the board 2 The host software cannot communicate with the board Check that the board is receiving power see issue 1 above Check the serial cable for proper connections to the board and the computer Verify that the cable is connected to the correct serial port on the computer If necessary verify the serial cable by swapping in another cable that is known to be good Verify through Windows Device Manager accessed through the System applet in the Control Panel that the selected COM port is recognized by the operating System and is working Verify that you are using the correct serial port Check that the COM port you have selected in the terminal software is actually the physical port that the serial cable is connected to Verify that the NodeO LEDs flash briefly on Reset or power up of the board If you are using the optional LCD module verify that the text PIC CAN is briefly displayed on Reset or power up and an underscore cursor is displayed 3 The board is operational but neither of the CAN nodes are recognized on an external net
76. r that Act Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates It is your responsibility to ensure that your application meets with your specifications MICROCHIP MAKES REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATION INCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY OR FITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchip devices in life support and or safety applications is entirely at the buyer s risk and the buyer agrees to defend indemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from such use No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV ISO TS 16949 2002 Trademarks The Microchip name and logo the Microchip logo Accuron dsPIC KEELOQ KEELOQ logo microID MPLAB PIC PlCmicro PICSTART PRO MATE rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U S A and other countries Amp Lab FilterLab Linear Active Thermistor Migratable Memory MXDEV MXLAB SEEVAL SmartSensor and The Embedded Control Solutions Company are registered trademarks of Mi
77. ration connects both on board CAN nodes to an external CAN bus In Evaluation mode NodeO can be used to monitor the external bus In Development mode NodeO can be used to monitor both Node1 and the external bus 2007 Microchip Technology Inc DS51334B page 41 PICDEM CAN LIN 2 Development Kit User s Guide 5 3 OSCILLATOR CONFIGURATIONS The PICDEM CAN LIN 2 Board is designed to accommodate three different types of oscillators for the PIC18FXX8X device based nodes Crystal controlled oscillator RC oscillator Self contained oscillator module canned oscillator There are two oscillator sections on the board one for each of the CAN controllers As shipped from the factory the board is configured with two 25 MHz canned oscillators If a different clock frequency is desired it is only necessary to remove the existing oscillator modules and insert new ones To implement the other options it will be necessary for users to make changes to the board 5 3 1 Crystal Oscillator The on board oscillator module s Y2 and or Y3 must be removed from their sockets Either one or both of the CAN controllers can be configured to use a crystal oscillator Pads Y1 and Y4 for NodeO and respectively have been provided to add a crystal Depending on frequency and crystal used capacitors may also need to be added at pads C24 C25 Node0 and C30 C31 Node 1 It is the user s responsibility to select values for t
78. rbour City Kowloon Hong Kong Tel 852 2401 1200 Fax 852 2401 3431 Australia Sydney Tel 61 2 9868 6733 Fax 61 2 9868 6755 China Beijing Tel 86 10 8528 2100 Fax 86 10 8528 2104 China Chengdu Tel 86 28 8665 5511 Fax 86 28 8665 7889 China Fuzhou Tel 86 591 8750 3506 Fax 86 591 8750 3521 China Hong Kong SAR Tel 852 2401 1200 Fax 852 2401 3431 China Qingdao Tel 86 532 8502 7355 Fax 86 532 8502 7205 China Shanghai Tel 86 21 5407 5533 Fax 86 21 5407 5066 China Shenyang Tel 86 24 2334 2829 Fax 86 24 2334 2393 China Shenzhen Tel 86 755 8203 2660 Fax 86 755 8203 1760 China Shunde Tel 86 757 2839 5507 Fax 86 757 2839 5571 China Wuhan Tel 86 27 5980 5300 Fax 86 27 5980 5118 China Xian Tel 86 29 8833 7252 Fax 86 29 8833 7256 ASIA PACIFIC India Bangalore Tel 91 80 4182 8400 Fax 91 80 4182 8422 India New Delhi Tel 91 11 4160 8631 Fax 91 11 4160 8632 India Pune Tel 91 20 2566 1512 Fax 91 20 2566 1513 Japan Yokohama Tel 81 45 471 6166 Fax 81 45 471 6122 Korea Daegu Tel 82 53 744 4301 Fax 82 53 744 4302 Korea Seoul Tel 82 2 554 7200 Fax 82 2 558 5932 or 82 2 558 5934 Malaysia Penang Tel 60 4 646 8870 Fax 60 4 646 5086 Philippines Manila Tel 63 2 634 9065 Fax 63 2 634 9069 Singapore Tel 65 6334 8870 Fax 65 6334 8850 Taiwan Hsin Chu Tel 886 3 572 9526 Fax 886 3 572 6459 Taiwan Kaohsiung Te
79. s can be modified only when NodeO is in Configuration mode The bit will be shaded and cannot be modified in other modes of operation FIGURE 4 4 PHYSICAL LAYER WINDOW nl x Prescaler Prop Seg 1 SIW Phase Seg 1 Samples Phase Seg2 BRGCONM1 00 E BRGCON2 00 01 0101010 101010 om Read BRGCON3 00 NO Bit rate 3125 000 kbit s Xtal 25 0 MHz EL CT E V A g d Unnug 2007 Microchip Technology Inc DS51334B page 27 PICDEM CAN LIN 2 Development Kit User s Guide 4 2 4 PIC18 CAN Receive Buffer This window contains all of the buffer contents for the receive buffers including RXBnCON the identifier registers and the data registers RXBOCON and RXB1CON are the only registers in this window that are not read only as indicated by the unshaded bit locations These two registers set up the receive modes and enables or disables the hardware double buffer function The Receive Buffer windows allows users to select one buffer to view at a time Multiple Receive Buffer windows can be opened for simultaneous viewing by holding down the Shift key while selecting the Receive Buffer option from the Windows menu Messages gt PIC18 CAN Eval Board gt Receive Buffer FIGURE 4 5 RECEIVE BUFFER WI
80. s where the board is being used in isolation to prototype network nodes 4 Atthe next dialog box Figure 2 3 select the Template option under Create a New Project Using Click OK DS51334B page 16 2007 Microchip Technology Inc Getting Started with the PICDEM CAN LIN 2 Board FIGURE 2 3 CREATING A NEW PROJECT CANKing for Windows Create Mew Project Using p x X Cancel Template 7 _ Tip For 9 New Users start is to use a Template The quickest way to 25 C Open an Existing Project 1 5 Atthe Templates dialog select PIC18 CAN Evaluation Board Click on OK 6 Aseries of smaller windows and dialog boxes is launched as part of the Evaluation Board template Figure 2 4 Go to the CANKing for Windows menu at the top of the screen and select Options gt PIC18 CAN you will need to close the Tip of the Day window at center screen first FIGURE 2 4 THE EVALUATION BOARD TEMPLATE AT LAUNCH CANKing MAIN MENU BAR AT TOP LEFT Bus Statistics Bus Parameters Bus Load 0 Total Per Second Overrun RX messages 0 0 TX messages 0 0 2 48 Clear m Bus Parameters Bus Speed 125 000 kbit s Bit timing Q 8 51 5 52 3 SP 62 5 SJW 1 5 E Go On Bus O On Bus C Error Passive Did you know Next Tip C off Bus Gira wane The first CAN controller the Intel 82526 was X Go Off Bus released in 1988 Previous Tip 215 A Eval Board Stat
81. ternal power can be provided through the 2 pin terminal block On board regulators provide separate 5 VDC sources for analog and digital circuits Both inputs are protected from accidental polarity reversal Direct 12 VDC is also available to appropriate circuits 19 Power LED Red This is lit to show that power is being supplied to the Demonstration Board 20 LCD Connector This 14 pin header allows the addition of a standard LCD controller module such as Hitachi HD4478 or equivalent to the demonstration board 2007 Microchip Technology Inc DS51334B page 11 PICDEM CAN LIN 2 Development Kit User s Guide 21 Prototype Headers These connector pads are provided for users to directly access the I O port signals for all the microcontrollers As an option headers may be installed in these locations 22 MCU Prototype Area This grid is provided for prototyping controllers that are not supported by the existing sockets The area is provided with connections for analog and digital power separate 5 VDC sources VBAT for LIN up to 12 and ground connections 1 1 CANKing HOST SOFTWARE Included with the Development Kit is the CANKing host software Developed by Kvaser AB the CANKing package allows users to examine and control the board s operation in detail as well as monitor CAN node operations Interfaces are implemented through a series of three predesigned templates which are grouped by functionality CAN node e
82. tive Demonstration mode FIGURE 4 16 PIC18 CAN EVALUATION BOARD WINDOW EVALUATION BOARD TEMPLATE VERSION PIC18 CAN Evaluation Boar zl xl Eval Board Status AN Eval Board Not Found MICROCHIP Communication Port COMI PC Expected answer not received Setup Modules 4 4 3 Node0 Eval Board Control Window This window controls the interactive features on the NodeO Once initialized this window displays the correct status for the user defined devices connected to NodeO NodeO has the most interactive features which means that this control window is the largest of the three From top to bottom the controls are Pot Value This indicator is updated in real time to display the approximate posi tion of the NodeO potentiometer The value is also displayed in numerical format ranging from 0 to 1000 approximately PWM Intensity This indicator shows the output of the PWM module in relative terms from minimum to maximum It also shows the value numerically ranging from 0 to 1000 approximately this value is controlled by and should match that of the Node1 potentiometer in the Node1 Eval Board window The relative value should also correspond to the brightness of the ninth LED which is controlled by the PWM module s output Push Button Status The two indicators btnO and btn1 show the status of the node s user defined push buttons Pressing the buttons on the board will change the indi
83. us 9 Eval Board Not Found MICROCHIP Communication Port COMI M Show tips at startup Expected answer not received 3 m mj j text Send Clear EEProm Address 0 V ua nung 2007 Microchip Technology Inc DS51334B page 17 PICDEM CAN LIN 2 Development Kit User s Guide 7 Atthe Evaluation Board Options dialog select the following options from the appropriate drop down menus Clock Frequency 25000 kHz 25 MHz COM Baud Rate 38400 bps COM Port the port that the board is connected to Under Options for the Current Configuration check Reset PIC18 CAN on Open Click OK 8 In the Evaluation Board window which launched along with the other windows of the Evaluation Board template the Connected status indicator turns green and a message indicating a successful serial connection appears Click on Reset Board The green light stays on and the message below it changes to Eval Board is in Disable Mode Figure 2 5 FIGURE 2 5 THE EVALUATION BOARD WINDOW SHOWING A SUCCESSFUL CONNECTION PIC18 CAN Evaluation Board iof x Eval Board Status 9 Connected Eval Board is in Disable Mode MICROCHIP Communication Port 2 Starting the Serial to CAN bridg
84. valuation and control board level control etc CAN related templates are designed around the CAN Kingdom upper layer protocol primitives Previous experience with this CAN design system is helpful but not strictly necessary Installation and overall operation of the host software is discussed in Chapter 3 Getting Started with the CANKing Software The CANKing templates are detailed in Chapter 4 Using the CANKing Templates DS51334B page 12 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Chapter 2 Getting Started with the PICDEM CAN LIN 2 Board 2 1 HIGHLIGHTS This chapter will cover the following topics Host Computer Requirements Using the PICDEM CAN LIN 2 Board for the First Time Checking the Board in Evaluation Mode 22 HOST COMPUTER REQUIREMENTS To communicate with and program the PICDEM CAN LIN 2 Development Board you must have a system that meets the following hardware and software requirements PC compatible system with an Intel 80486 class or higher processor or equivalent A minimum of 16 MB RAM A minimum of 5 MB available hard drive space CD ROM drive for use with the accompanying CD One available standard serial port with a matching COM port available through the operating system Microsoft Windows 95 or any 32 bit version of Microsoft Windows operating system Windows 98 Windows NT Windows 2000 or Windows XP 2 3 USING THE
85. work See Appendix B FAQs on Configuring the PIC18FXX8X for the most common CAN troubleshooting hints 2007 Microchip Technology Inc DS51334B page 45 PICDEM CAN LIN 2 Development Kit User s Guide NOTES DS51334B page 46 2007 Microchip Technology Inc PICDEM CAN LIN 2 DEVELOPMENT KIT MICROCHIP USER S GUIDE Appendix A PICDEM CAN LIN 2 Board Technical Information 1 HIGHLIGHTS This chapter will cover the following topics PICDEM CAN LIN 2 Block Diagram PICDEM CAN LIN 2 Board Schematics A 2 PICDEM CAN LIN 2 BLOCK DIAGRAM FIGURE A 1 PICDEM CAN LIN 2 DEVELOPMENT BOARD FUNCTIONAL BLOCK DIAGRAM Data EEPROM Potentiometer I iO Bus for User Prototype L Push Buttons NodeO PIC18F2585 2680 a RS 232 RS 232 Interface Connector or PIC18F4585 4680 LCD 44 lt CAN Transceiver 9 CAN bus ICD Connector Connector Potentiometer e I O Bus for Prototype Node1 User Push Buttons PIC18F2585 2680 or PIC18F4585 4680 ICD LEDs 28 Connector LIN Transceiver lt lt gt LIN bus Connector LEGEND ens Single Line Potentiometer Connections 3 p Node2 i e Bus for PIC16C432 Prototype Optional LEDs gt

Download Pdf Manuals

image

Related Search

Related Contents

Nokia 6750 Cell Phone User Manual  MC67 - Motorola Solutions  主 眼 事 項 基 準 等 ・ 通 知  ー取扱説明書  E- No 01 電気設備工事 特記仕様書 浅川中学校技術科棟耐震補強  Brodit ProClip  Nokia 6600 fold Manual do Usuário  Polaroid 1911-TLXB Flat Panel Television User Manual  取扱説明書  Illumine CLI-EMM030857 Installation Guide  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.