MCP2502X/5X M CAN I/O Expander Family Features Description Implements CAN V2.0B The MCP2502X/5X devices operate as I/O expanders for a Controller Area Network (CAN) system, - Programmable bit rate up to 1 Mb/s supporting CAN V2.0B active, with bus rates up to - One programmable mask 1 Mb/s. The MCP2502X/5X allows a simple CAN node - Two programmable filters to be implemented without the need for a - Three auto-transmit buffers microcontroller. - Two message reception buffers The devices are identical, with the following - Does not require synchronization or exceptions: configuration messages Hardware Features One Wire - Non-volatile memory for user configuration Device A/D Digital CANbus - User configuration automatically loaded on power-up MCP25020 No No - Eight general-purpose I/O lines individually MCP25025 No Yes selectable as inputs or outputs MCP25050 Yes No - Individually selectable transmit-on-pin- MCP25055 Yes Yes change for each input The MCP2502X/5X devices feature a number of - Four 10-bit, analog input channels with peripherals, including digital I/Os, four-channel 10-bit programmable conversion clock and VREF A/D (MCP2505X) and PWM outputs with automatic sources (MCP2505X devices only) message transmission on change-of-input state. This - Message scheduling capability includes an analog input exceeding a preset threshold. - Two 10-bit PWM outputs with independently One mask and two acceptance filters are provided to programmable frequencies give maximum flexibility during system design with - Device configuration can be modified via respect to identifiers that the device will respond to. CAN bus messages The device can also be configured to automatically - In-Circuit Serial Programming (ICSP) of transmit a unique message whenever any of several default configuration memory error conditions occur. - Optional 1-wire CAN bus operation The device is pre-programmed in non-volatile memory Low-power CMOS technology so that the part defaults to a specific configuration at - Operates from 2.7V to 5.5V power-up. - 10 mA active current, typical - 30 A standby current (CAN Sleep mode) 14-pin PDIP (300 mil) and SOIC (150 mil) packages Available temperature ranges: - Industrial (I): -40C to +85C - Extended (E): -40C to +125C 2003 Microchip Technology Inc. DS21664C-page 1MCP2502X/5X Threshold Detection - refers to the MCP2502X/5Xs Package Types ability to automatically transmit a message when a PDIP/SOIC predefined analog threshold is reached. VDD GP0/AN0 1 14 GP1/AN1 2 13 TXCAN/TXRXCAN* 3 12 RXCAN/NC* GP2/AN2/PWM1 GP3/AN3/PWM2 4 11 GP7/RST/VPP GP6/CLKOUT GP4/VREF- 5 10 9 OSC2 GP5/VREF+ 6 8 OSC1/CLKIN VSS 7 * One-wire option available on MCP250X5 devices. Definition of Terms The following terms are used throughout this document: I/O Expander - refers to the integrated circuit (IC) device being described (MCP2502X/5X). Input Message - term given to messages that are received by the MCP2502X/5X and cause the internal registers to be modified. Once the register modification has been performed, the MCP2502X/5X transmits a Command Acknowledge message to indicate that the command was received and processed. Command Acknowledge Message - term given to the message that is automatically transmitted by the MCP2502X/5X after receiving and processing an input message. Information Request Message - term given to Remote Request messages that are received by the MCP2502X/5X that subsequently generate an output message (data frame) in response. Output Message - term given to the message that the MCP2502X/5X sends in response to an Information Request message. On Bus Message - term given to the message that the MCP2502X/5X transmits after completing the power-on/ self-configuration sequence at timed intervals, if enabled. Self-Configuration - term used to describe the process of transferring the contents of the EPROM memory array to the SRAM memory array. On Bus - term used to describe the condition when the MCP2502X/5X is fully-configured and ready to transmit, or receive, on the bus. This is the only state in which the MCP2502X/5X can transmit on the bus. Edge Detection - refers to the MCP2502X/5Xs ability to automatically transmit a message based upon the occurance of a predefined edge on any digital input. DS21664C-page 2 2003 Microchip Technology Inc.