LIN bus board datasheet EB

Similar documents
Card Reader Board EB037-00

SPI Memory and D/A board datasheet EB

USB232 board EB Technical datasheet

RS485 board datasheet EB062-00

Internet board datasheet EB

IrDA Board datasheet. Matrix Multimedia IrDA Board. Contents

Bluetooth board EB Technical datasheet

Opto-isolator board datasheet EB

Graphical LCD Display Datasheet EB

Home Automation Board datasheet

4D Picaso Touchscreen Display board datasheet EB

eblocks A Adaptor Board datasheet Matrix Multimedia Adaptor Board Contents

ECIO Base Board datasheet EB061-00

PICmicro Microcontroller Lite programmer datasheet

CPLD board datasheet EB

CPLD board datasheet EB

SPI memory and D/A board

Atmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents

Wireless LAN board. EB069

1. About this document General information Board layout Testing this product Circuit description...

IR/IrDA transceiver board

USB232 board. EB039

Sensor Board datasheet

Accelerometer board. EB068

Wireless LAN board. EB069

OLED graphical LCD board

LED board. EB004

ARM programmer and daughter board EB Technical datasheet

Raspberry Pi board. EB080

TFT Graphical LCD Board

eblocks Sensor Board datasheet Matrix Multimedia Sensor Board Contents

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

Motor angle (servo) trainer board

TFT LCD multimedia board with touchscreen

PICmicro MCU Multiprogrammer EB Technical datasheet

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

Motor driver board. EB022

VGA multimedia board

ECIO base board. EB061

PS/2 and SVGA board. EB033

Sensor board. EB003

ICP05 IBOARD LITE ICP05. - iboard lite

LCD board. EB005

ARM programmer and daughter board

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

Opto-isolator board. EB035

eip-10 Embedded TCP/IP 10-BaseT Network Module Features Description Applications

PIC 28 Pin Board Documentation. Update Version 5.0

PICado Alpha Development Board V1.0

SimPLC. User Manual.

CPLD board. EB020

EXL x240 Graphic LCD Smart Module 3,8 SHORT FORM TECHNICAL SPECIFICATIONS. Via di Corticella, Bologna, Italy

Rapid28iXL PIC Prototyping PCB User Manual

PVK40. User's manual. Feature Rich Development and Educational Kit for 40-pin Microchip PIC microcontrollers

Document Version 2.0 DATASHEET

MX Educational Target User Manual

Power board. EB011

AVR-P development board Users Manual

Compatible with Bluetooth V2.0 + EDR (Enhanced Data Rate). Data transfer rate is 3Mbit per sesond. Opearted in SPP device class and slave mode only

Rapid40iXL PIC Prototyping PCB User Manual

MCP2120/MCP2150 DEVELOPER S KIT USER S GUIDE

Breeze Board. Type A. User Manual.

AKKON USB CONTROLLER BOARD

PICmicro MCU multiprogrammer

AVR-P20 development board Users Manual

Rapid40i PIC Prototyping PCB User Manual

Datasheet for PAS12 Serial Adaptor rev 1.50

F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Breeze Board. Type B. User Manual.

General-Purpose Microcontroller Module 12a Hardware Reference Release 1.4a (October 11, 2017)

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

Good Idea to Working Electronic Model

RS485 3 click. How does it work? PID: MIKROE-2821

Amarjeet Singh. January 30, 2012

Easy Kit Board Manual

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

The FED PIC Flex 2 Development Boards

ĐẠI HỌC QUỐC GIA TP.HỒ CHÍ MINH TRƯỜNG ĐẠI HỌC BÁCH KHOA KHOA ĐIỆN-ĐIỆN TỬ BỘ MÔN KỸ THUẬT ĐIỆN TỬ. Embedded System Design

Basic Express, BasicX, BX-01, BX-24 and BX-35 are trademarks of NetMedia, Inc.

Locktronics PICmicro getting started guide

BroadR-Reach click PID: MIKROE Weight: 26 g

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

PIC Serial Peripheral Interface (SPI) to Digital Pot

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

IFC-MB00 Interface Free Controller Main Board

BIGdsPIC6. Development System. User manual

PIC-P40 development board Users Manual

48003 Deluxe mobile communications system

Downloaded from Elcodis.com electronic components distributor

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

Applications Wi-Fi sensors Wi-Fi automation Internet of things Wi-Fi enterteinment Serial to Wi-Fi

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

Hardware Manual. Crumb128. Rapid Prototyping Module with the Atmega128 AVR Microcontroller

Stepper 6 click. PID: MIKROE 3214 Weight: 26 g

Pridgen Vermeer Robotics Xmega128 Manual

EasyBee. Additional Board. Manual. MikroElektronika

Transcription:

LIN bus board datasheet EB027-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 7 Appendix 1 Circuit diagram Copyright Matrix Multimedia Limited 2005 page 1

1. About this document This document concerns the E-blocks LIN bus board code EB027 version 1. The order code for this product is EB027. 1. Trademarks and copyright PIC and PICmicro are registered trademarks of Arizona Microchip Inc. E-blocks is a trademark of Matrix Multimedia Limited. 2. Other sources of information There are various other documents and sources that you may find useful: Getting started with E-Blocks.pdf This describes the E-blocks system and how it can be used to develop complete systems for learning electronics and for PICmicro programming. PPP Help file This describes the PPP software and its functionality. PPP software is used for transferring hex code to a PICmicro microcontroller. C and assembly strategies This is available as a free download from our web site. 3. Disclaimer The information in this document is correct at the time of going to press. Matrix Multimedia reserves the right to change specifications from time to time. This product is for development purposes only and should not be used for any life-critical application. 4. Technical support If you have any problems operating this product then please refer to the troubleshooting section of this document first. You will find the latest software updates, FAQs and other information on our web site: www.matrixmultimedia.com. If you still have problems please email us at: support@matrixmultimedia.co.uk. Copyright Matrix Multimedia Limited 2005 page 2

2. General information 1. Description This E-block allows investigation of the LIN bus communication protocol. The board allows LIN to be added to PICmicro microcontrollers and other processors that do not have a LIN peripherals embedded. The board uses a LIN Transceiver (MCP201). The microcontroller acts as the LIN controller for transmitting and receiving LIN information. The LIN transceiver converts the LIN controller signals into a signal level used by the LIN bus, and vice versa. Users will need to consult the MCP201 datasheet for information on programming and using this device. The datasheet for this can be found on the Microchip website at: www.microchip.com A set of jumper links are available which allows the LIN E-block to easily be set for most PICmicro microcontroller devices. The patch system available on board makes this board compatible with numerous other devices. The upstream device (i.e. Multiprogrammer) connected to this board must have an integrated UART module available, or the firmware must be able to send TTL level RS232 compatible waveforms. 2. Features Transmit and receive via LIN bus Enable non LIN embedded processors access to LIN protocol 3. Block schematic Copyright Matrix Multimedia Limited 2005 page 3

3. Board layout EB027-74-2.jpg 1. 9-way downstream D-type connector 2. Patch system 3. RX and TX selection jumper pins 4. Chip Select, Fault and VREG selection jumper pins 5. LIN output screw terminals 6. Voltage output screw terminals 7. 12V Voltage input screw terminals 8. MCP201 Lin Controller Chip 9. Master / Slave jumper General Guide for RX and TX settings: Jumper at A Jumper at B Jumper at C PIC16F88 PIC16F87 PIC16F818 PIC16F819 PIC16F7x PIC16F7x7 PIC16F87x PIC16F87xA Patch System Connect to Port B Connect to Port C General Guide for /INT and /CS settings: s Description 1 Hardwired /CS and /INT selection /CS = Bit 4, FLT = Bit 0, Vreg = Bit 1 2 Patch System If using a PIC16F88, insert board to Port B and jumper settings = A & 1 If using a PIC16F877A, insert board to Port C and jumper settings = B & 1 Copyright Matrix Multimedia Limited 2005 page 4

4. Testing this product The following program will test the circuit. The test file can be downloaded from www.matrixmultimedia.com. Items Required. - 2 x Multiprogrammer E-Blocks with 16F877A - 1 x LIN E-Block (unit under test) - 1 x Pre-tested LIN E-Block - 1 x LCD Display E-Block - 1 x Current Limited Power Supply set to 12.5V and 60mA - E-blocks female to male IDC Cable - Also the LIN and Ground screw terminals need to be wired together. Setting up the test. - 16F877A in 40-way socket on both Multiprogrammers - SW2 set to XTAL Mode on both Multiprogrammers - 19.6608 MHz Crystals in both Multiprogrammers - LCD Display E-Block connected to Port D on master Multiprogrammer - LCD E-Block DEFAULT jumper setting - Wire connection between +V on master Multiprogrammer to +V on LCD E-block - Pre-tested LIN E-block connected to Port C on master Multiprogrammer - Connect 14V of master Multiprogrammer to 12V of pre tested LIN E-block - J7 of pre-tested LIN E-block jumper in position 1 - J4 of pre-tested LIN E-block jumper in position B - J8 of pre-tested LIN E-block jumper in position MASTER - Connect a wire from the 14V on the master Multiprogrammer to the 14V on the slave Multiprogrammer - Connect a wire from the GND on the master Multiprogrammer to the GND on the slave Multiprogrammer - Connect the master Multiprogrammer to a power supply - Attach the E-Blocks IDC cable to Port C of the Slave Multiprogrammer - Connect a wire from the 14V of the slave Multiprogrammer - Connect a wire from the LIN of pre-tested LIN E-block 1. Set up the configuration as specified above. 2. Connect the master Multiprogrammer to the power supply 3. Download the Lin Master.hex file to the master Multiprogrammer with the pre-tested LIN board and LCD E- Block connected and wired. 4. Download the Lin Slave.hex file to the slave Multiprogrammer with the LIN board under test and LCD E-Block connected and wired. Copyright Matrix Multimedia Limited 2005 page 5

Diagram of full LIN test configuration EB-027 LIN Board Test Routine 1. Connect the free end of the IDC cable to the LIN unit under test 2. Connect the free end of the slave 14V to the 12V on the LIN unit under test 3. Connect the free end of the Master LIN wire to the LIN on the LIN unit under test 4. Check that J7 of the LIN E-block under test is set to 1 5. Check that J4 of the LIN E-block under test is set to B 6. Check that J8 of the LIN E-block under test is set to SLAVE 7. Press reset on the slave Multiprogrammer 8. Press reset on the master Multiprogrammer 9. The Master will now test the Slave device by sending and receiving LIN messages 10. The Master will display PASS for a working LIN E-Block. 11. The Master will display FAIL for a failed LIN E-Block. 12. Unplug all cables from the tested LIN E-Block. Copyright Matrix Multimedia Limited 2005 page 6

5. Circuit description The circuit as can be seen in the circuit diagram below (See Appendix 1 Circuit diagram), is made up of three main components: the patch system, the voltage regulation and the LIN Transceiver (MCP201). 1. Patch System The design of this product enables you to use this board with many standard PICmicro devices. This is achieved by identifying the up-stream device, then selecting the corresponding jumper setting on the LIN board. This will configure the board with the correct pin-out for the Microcontroller selected. Jumper setting A, B, and C are used for selecting the appropriate pins for RX and TX: the dedicated RS232 lines. Jumper settings 1 and 2 are used to set the correct pins for /CS and /FLT and VReg. The microcontroller that is being used determines which port and which jumper. For example, if an PIC16F877A is being used, the LIN Board must be connected to Port C, with the jumper settings to B & 1. The following tables illustrate the correct jumper settings: A B PIC16F devices PIC16C devices PIC16F72 PIC16C62B PIC16F87 PIC16F73 PIC16C63A PIC16F88 PIC16F737 PIC16C65 PIC16F818 PIC16F74 PIC16C66 PIC16F819 PIC16F747 PIC16C67 PIC16F76 PIC16C72A PIC16F767 PIC16C73B PIC16F77 PIC16C74B PIC16F777 PIC16C76 PIC16F872 PIC16C77 PIC16F873/A PIC16C773 PIC16F874/A PIC16C774 PIC16F876/A PIC16F877/A CONNECT BOARD TO PORT C CONNECT BOARD TO PORT B Table 1. Jumper settings for SDO, SDI & SCK selection. C PATCH SYSTEM The following table (Table 2) shows the settings that can be used for /CS and /INT: 1 2 /CS /INT /CS /INT Bit 0 Bit 6 Patch Patch Table 2. Jumper settings for /INT and /CS selection The Patch System allows the user to route RX, TX, CS, Fault, Vreg to any of the 8 input bits required. This allows great flexibility, as the user can then use a different device other than those specified in Table 1. When using the CAN Board with up-stream devices that are not mentioned in the above table, such as Atmel AVR Board or other processor boards, then the patch system will be required. 2. Voltage Regulation The LIN E-Block requires a 12V supply to power the LIN transceiver circuitry. This 12V can be supplied from the +14V screw terminal of the Multiprogrammer. Copyright Matrix Multimedia Limited 2005 page 7

3. LIN Transceiver MCP201 The MCP201 LIN transceiver is an interface between the Microcontroller and the LIN bus. It converts between the logic levels of the microcontroller and the analogue signals of the LIN bus. The LIN signals are connected to the screw terminal J10, Note that there are two terminals on every board so that you can pass the LIN signal on without having two wires in the same terminal. Similarly there are two 12V screw terminals to provide the same functionality. For more information please look at the datasheet for this device which can be found at: www.microchip.com 4. 3.3V operation Due to the 12V supply needed by the LIN E-Block this board is not compatible with 3.3V systems. Copyright Matrix Multimedia Limited 2005 page 8

Appendix 1 Circuit diagram