Example: dental hygienist

Interface Products Design Guide Using CAN, LIN …

Interface Products Design GuideUsing CAN, LIN and Infrared ConnectivityAnalog and Interface product SolutionsLIN TransceiverMCP201 General Purpose I/O ExpanderMCP23016 MicrocontrollersPIC12F675 PIC18F6680 Stand-alone CAN ControllerMCP2515 CAN TransceiverMCP2551 CAN I/O ExpanderMCP250xxDesign ideas in this Guide are based on many of the Interface devices available from Microchip Technology. A complete device list and corresponding data sheets for these Products can be found at Encoder/DecoderMCP2120 IrDA Protocol HandlerMCP2140 MCP215x2 Interface Products Design Guide Interface Products Design Guide 3 product specifications can be found on page 10 controller area network (CAN)MCP2515 Stand-alone CAN controller Features:n Implements CAN at 1Mb/sn Masks and filters to filter out unwanted messagesn Two receive buffersn Three transmit buffersn High

2 Interface Products Design Guide Interface Products Design Guide 3 Product specifications can be found on page 10 Controller Area Network (CAN)

Tags:

  Guide, Controller, Product, Network, Using, Design, Area, Interface, Controller area network, Interface products design guide using can

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Interface Products Design Guide Using CAN, LIN …

1 Interface Products Design GuideUsing CAN, LIN and Infrared ConnectivityAnalog and Interface product SolutionsLIN TransceiverMCP201 General Purpose I/O ExpanderMCP23016 MicrocontrollersPIC12F675 PIC18F6680 Stand-alone CAN ControllerMCP2515 CAN TransceiverMCP2551 CAN I/O ExpanderMCP250xxDesign ideas in this Guide are based on many of the Interface devices available from Microchip Technology. A complete device list and corresponding data sheets for these Products can be found at Encoder/DecoderMCP2120 IrDA Protocol HandlerMCP2140 MCP215x2 Interface Products Design Guide Interface Products Design Guide 3 product specifications can be found on page 10 controller area network (CAN)MCP2515 Stand-alone CAN controller Features.

2 N Implements CAN at 1Mb/sn Masks and filters to filter out unwanted messagesn Two receive buffersn Three transmit buffersn High speed SPI Interface (10 MHz)n Low voltage operation ( V V)n One shot mode to ensure a message transmission is only attempted oncen Start-of-frame (SOF) signal pin to detect CAN start-of-frameCAN Design Example: Simple Sensor NodeSimple Sensor Node Using MCP2515 Stand-alone CAN ControllerThe CAN bus ( controller area network ) protocol was designed to be a high-speed, reliable communication protocol for command and control network applications.

3 Microchip offers a complete line of Products to meet the needs of high-performance embedded applications Using the CAN protocol, including 8- and 16-bit microcontrollers (MCUs) with integrated CAN, stand-alone CAN controllers, CAN I/O expanders, and CAN transceivers. As CAN continues to grow and proliferate into other markets, the need to add CAN to simple sensor circuits increases. In some applications, a simple CAN sensor node can be cost prohibitive due to the higher cost of Using a microcontroller with integrated CAN modules. Often the microcontrollers with integrated CAN have n Data byte filtering of the first two data bytesn Clock out pin with prescaler can be used as a clock sourcen Interrupt output pin with selectable interrupt enablesn Two buffer full pins (can be used as general purpose outputs)n Three request-to-send pins (can be used as general purpose inputs)n 18-pin PDIP and SOIC, 20-pin TSSOP extra peripherals, program memory, RAM, etc.

4 Which the simple sensor application does not addition to MCUs with integrated CAN, Microchip offers a low cost stand-alone CAN controller with SPI Interface (MCP2515) which can be paired up with the desired MCU to create an optimized CAN node. The designer does not have to settle for the peripherals offered by an MCU with integrated CAN, but rather the designer can choose the MCU which best matches the best matches the , the four pins used by the MCU for SPI can be regained by Using the general purpose inputs and out-puts on the schematic shown below represents a very simple, low cost CAN Interface Products Design Guide Interface Products Design Guide 3 product specifications can be found on page 10 controller area network (CAN)CAN Design Example.

5 Adding CAN to Existing ApplicationsExisting applications that require the addition of CAN will find that the MCP2515 can be used to add CAN connectivity to any application ranging from low-end simple sensor applications, to high-end DSP, 32-bit MCU, ASIC, CAN NodeThe MCP2515 can be used to easily add dual CAN capabilities for a given node. The diagram shows CAN added to a high-end application, as many high-end processors do not have embedded CAN Interface Products Design Guide Interface Products Design Guide 5 product specifications can be found on page 10 MCP250xx CAN I/O Expander Features.

6 N Implements CAN Bn Masks and filters to filter out unwanted messagesn Two receive buffersn Three auto transmit buffers for sending messages automaticallyn Non-volatile memory for user configurationn Configuration can be modified via the CAN busn Message scheduling capability Sends GPIO and analog dataController area network (CAN)MCP250xx CAN I/O ExpanderThe MCP250xx devices operate as I/O expanders for a CAN system. These devices feature several peripherals including eight digital I/O, four 10-bit A/D converters, and two 10-bit PWM channels. In addition, the MCP250xx can automatically send messages when an input changes state, including when an analog chan-nel exceeds a preset threshold.

7 The device can also be configured to send A/D and digital I/O messages at regular bits (plus the RTR bit or one more ID bit for direction) are reserved in the identifier/arbitration field of CAN Design Example: Simple Sensor network Using CAN I/O Expanderthe CAN message to communicate with the MCP250xx. This allows a master CAN node to communicate/control the CAN I/O Expanders via the CAN Sensor NetworkThe MCP250xx is ideal for simple, low cost sensor networks. Particularly where the higher layers are proprietary so the system designer can maximize the MCP250xx features.

8 The diagram below shows a four-node sensor network Using only one Eight general purpose I/O pins individually select-able as inputs or outputs Individually selectable transmit-on-change for each inputn Four 10-bit analog channels with programmable conversion clock and Vref sourcesn Individually selectable threshold detectionn Two 10-bit PWM outputsn Low voltage operation ( V V)n 14-pin PDIP and SOIC4 Interface Products Design Guide Interface Products Design Guide 5 MCP2551 CAN Transceiver Features:n Implements ISO 11898-2 physical layer requirementsn Suitable for 12 V and 24 V systemsn 40 V short circuit protection on the bus pins Automatic thermal shutdown protectionn 250 V transient protection on the bus pinsController area network (CAN) Design Example: Basic Connections Using CAN Transceiverthe bus.

9 The differential signal is less prone to electrical disturbances. The MCP2551 protects the CAN controllerfrom electrical anomalies such as voltage spikes, short circuits, and other electrical transients on the diagram below shows the basic connections for connecting the specifications can be found on page 10n Ground fault (permanent dominant) detection on the transmit input pin Keeps faulty transmitters from bringing down the bus due to a permanent dominant conditionn Externally controlled slope on the bus pins to reduce RFI emissionsn Power on reset and brown out detectionn Unpowered nodes will not disturb the busn Up to 112 nodes can be connectedMCP2551 CAN TransceiverThe MCP2551 is a high speed CAN transceiver which serves as an Interface between the CAN bus and the CAN controller .

10 The MCP2551 implements the ISO 11898-2 physical layer requirements which is by far the most common physical layer for MCP2551 converts between logic levels generated by the CAN controller and differential signal levels on 6 Interface Products Design Guide Interface Products Design Guide 7 Local Interconnect network (LIN)Example Designs: Typical Applications Using LIN Transceiver MCP201 LIN TransceiverLIN is a low speed network (20 kbaud) intended for automotive and industrial applications where the speed and robustness of CAN is not needed and where low cost is essential.


Related search queries