TPMC810. Isolated 2x CAN Bus. Version 1.1. User Manual. Issue June 2009

Similar documents
TPMC310. Conduction Cooled PMC Isolated 2 x CAN Bus. Version 1.1. User Manual. Issue June 2014

TPMC816. Two Independent Channels Extended CAN Bus PMC Module. Version 2.2. User Manual. Issue August 2014

TPMC815 ARCNET PMC. User Manual. The Embedded I/O Company. Version 2.0. Issue 1.2 November 2002 D

TPMC Channel Isolated Serial Interface RS232. Version 1.0. User Manual. Issue August 2017

TPMC Channel Isolated Serial Interface RS422/RS485. Version 1.0. User Manual. Issue July 2009

TPMC Channel Motion Control. User Manual. The Embedded I/O Company. Version 1.0. Issue 1.3 March 2003 D

TPMC /8 Digital Inputs (24V) 16/8 Digital Outputs (24V, 0.5A) Version 3.0. User Manual. Issue June 2014

TCP Channel Serial Interface RS232 / RS422 cpci Module. User Manual. The Embedded I/O Company. Version 1.0. Issue 1.

TPMC500. Optically Isolated 32 Channel 12 Bit ADC. Version 1.1. User Manual. Issue January 2014

TPMC Digital Inputs/Outputs (Bit I/O) Version 2.0. User Manual. Issue February 2014

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

TCP Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

TXMC885. Four Channel 10/100/1000 Mbit/s Ethernet Adapter. Version 1.0. User Manual. Issue October 2011

TPMC / 16 Channels of 16 bit D/A. Version 1.0. User Manual. Issue December 2010

TIP815. ARCNET Controller. Version 1.0. User Manual. Issue September 2009

TPMC317. Conduction Cooled 6 Channel SSI, Incremental Encoder, Counter. Version 1.0. User Manual. Issue August 2014

TPMC Channel SSI, Incremental Encoder, Counter. Version 1.0. User Manual. Issue January 2017

TIP120. Motion Controller with Incremental Encoder Interface. Version 1.0. User Manual. Issue August 2014

TIP550. Optically Isolated 8/4 Channel 12-bit D/A. Version 1.2. User Manual. Issue October 2009

TIP SERCOS IP with 2 Encoder Interfaces. User Manual. The Embedded I/O Company. Version 1.0. Issue 1.3 September 2006 D

TPCE260. PCI Express PMC Carrier. Version 1.0. User Manual. Issue August 2014

TPMC x ADC, 16x/0x DAC and 8x Digital I/O. Version 1.0. User Manual. Issue May 2018

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

TIP111. Motion Controller with Absolute Encoder Interface (SSI) User Manual. The Embedded I/O Company. Version 1.1. Issue 1.4 September 2005 D

INTEGRATED CIRCUITS DATA SHEET. SJA1000 Stand-alone CAN controller Nov 04. Preliminary specification File under Integrated Circuits, IC18

PCI-HPDI32A-COS User Manual

PCI-HPDI32A PCI-HPDI32A-PECL PMC-HPDI32A PMC-HPDI32A-PECL

USER S MANUAL. Series IP560 Industrial I/O Pack CAN Bus Interface Module ACROMAG INCORPORATED

Kvaser PCIEcan User's Guide

PCI-4IPM Revision C. Second Generation Intelligent IP Carrier for PCI Systems Up to Four IndustryPack Modules Dual Ported SRAM, Bus Master DMA

TPMC376. Conduction Cooled 4 Channel RS232/RS422/RS485 Programmable Serial Interface. Version 1.0. User Manual. Issue September 2010 D

CPCI-SIP-PLX. Slave 2- IndustryPack Carrier for 3U CompactPCI systems REFERENCE MANUAL Version 1.2 August 2008

PCI-OPTO32B-CONTACT. User s Manual. 24 Input Bits. 8 Output Bits. -12V-CONTACT Optional. Opto Isolator Board

CPCI-AD8. Intelligent DSP Based 8 Channel Analog Input Card for 3U CompactPCI systems REFERENCE MANUAL Version 1.

ArduCAM-M-2MP Camera Shield

PMC-DA Channel 16 Bit D/A for PMC Systems REFERENCE MANUAL Version 1.0 June 2001

DSP Microcomputer ADSP-2192M

ARINC-629 Interface to PMC Sy629PMC-BPM

CPCI-SIP. Slave Dual IndustryPack Carrier for 3U CompactPCI systems REFERENCE MANUAL Version 2.0 June 1998

TDRV010-SW-95. QNX6 - Neutrino Device Driver. Isolated 2x CAN Bus. Version 1.0.x. User Manual. Issue September 2016

128 Kb Dual-Port SRAM with PCI Bus Controller (PCI-DP)

128K Bit Dual-Port SRAM with PCI Bus Controller

TPMC901-SW-95. QNX4 - Neutrino Device Driver. User Manual. The Embedded I/O Company. 6/4/2 Channel Extended CAN-Bus PMC

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX

TPMC467. Channel RS232/RS422/RS485 Programmable Serial Interface. Version 1.0. User Manual. Issue December 2009

PCI-4SIP. Slave Quad IndustryPack Carrier for PCI systems REFERENCE MANUAL Version 1.2 September 2001

minimon Simple CAN Monitoring Tool for Windows

TDRV006-SW-42. VxWorks Device Driver. 64 Digital Inputs/Outputs (Bit I/O) Version 4.0.x. User Manual. Issue December 2017

TXMC Channel RS232/RS422/RS485 Programmable Serial Interface. Version 1.0. User Manual. Issue July 2015

in Berlin (Germany) Sponsored by Motorola Semiconductor NEC Electronics (Europe) Siemens Semiconductors Organized by

Typical System Implementation

CPCI-HPDI32ALT High-speed 64 Bit Parallel Digital I/O PCI Board 100 to 400 Mbytes/s Cable I/O with PCI-DMA engine

CPCI-IPC. Intelligent DSP Based Dual IndustryPack Carrier for CompactPCI systems REFERENCE MANUAL Version 2.

PCI Express 4-Port Industrial Serial I/O Cards

TPMC860-SW-82. Linux Device Driver. 4 Channel Isolated Serial Interface RS232 Version 1.4.x. User Manual. Issue 1.4.

Older PC Implementations

PCAN-LIN Interface for LIN, CAN, and RS-232. User Manual. Document version ( )

PCI Compliance Checklist

CPCI-AD Channel High Performance Analog Data Acquisition Card for 6U CompactPCI systems REFERENCE MANUAL

CPCI-SIP-2. Slave Dual IndustryPack Carrier for 3U CompactPCI systems REFERENCE MANUAL Version 4.1 February 2007

IP-48DAC channel 16-bit Digital/Analog Converter With memory Industry Pack Module PROGRAMMING MANUAL Version 1.

TPMC500-SW-42. VxWorks Device Driver. User Manual. The Embedded I/O Company. 32 Channel 12 Bit ADC. Version 2.0.x. Issue 2.0.

Introducing. QuickLogic s The Basics of PCI. QuickPCI - The PCI Solution for System Needs

JetBox 8152 User Manual. WinCE 6.0 Canbus.

TPMC821-SW-42. VxWorks Device Driver. User Manual. The Embedded I/O Company. INTERBUS Master G4 PMC. Version 1.4. Issue 1.

USB-MPC with MDIO and I2C support User s Manual

PIC-I/O Multifunction I/O Controller

DYNAMIC ENGINEERING 150 DuBois St. Suite C, Santa Cruz, Ca Fax Est.

DYNAMIC ENGINEERING 150 DuBois St., Suite C Santa Cruz, CA (831) Fax (831) Est.

PCI4400. Hardware Manual. Analog Data Acquisition Board for IBM PC AT with PCI bus. RTD USA BME Laboratories. PCI4400 Hardware Manual

CPCI-AD32. Intelligent DSP Based 32 Channel Analog Input Card for 3U CompactPCI systems REFERENCE MANUAL Version 1.

TXMC633. Reconfigurable FPGA with 64 TTL I/O / 32 Differential I/O Lines. Version 1.0. User Manual. Issue July 2018

EE4390 Microprocessors. Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System

Device: MOD This document Version: 1.0. Matches module version: v3 [29 June 2016] Date: 23 October 2017

Typical modules include interfaces to ARINC-429, ARINC-561, ARINC-629 and RS-422. Each module supports up to 8 Rx or 8Tx channels.

Dual Serial Shield User Manual

Gryphon Hardware Information: Dual SJA1000 Fault Tolerant CAN card

AMC data sheet. PMC Module with four CAN bus Nodes ARINC825 compliant for Testing & Simulation of Avionic CAN bus Systems

Architecture Specification

AMC data sheet. PMC Module with four CAN bus Nodes ARINC825 compliant for Testing & Simulation of Avionic CAN bus Systems

PMC-HPDI32A-ASYNC High-speed Serial I/O PCI Board

PCI-BCRTM MIL-STD-1553 BCRTM PCI Module

PCAN-PCI PCI to CAN Interface. User Manual V2.1.0

1. Implemented CM11 protocol

PCI to SH-3 AN Hitachi SH3 to PCI bus

CAN232. Manual. November 2003 CAN232 Manual Version 1.0A

JMY505G User's Manual

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

AN434: CP2110/4 Interface Specification

CAN232. Manual PRELIMINARY INFORMATION. Preliminary November 2001 CAN232 Manual Version 0.9C

QBridge. I2C, SPI, CAN Control Software User s Manual. Date: Rev 1.3

PCIxx12 Single Socket CardBus Controller with Integrated 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller

PC104P--HPDI32A High-speed Parallel Digital I/O PMC Board 100 to 200 Mbytes/s Cable I/O with PCI-DMA engine

AN-799 APPLICATION NOTE

AMC data sheet. PMC Module with four CAN bus Nodes ARINC825 compliant for Testing & Simulation of Avionic CAN bus Systems

cpci-dart Base-Board & Daughter-Board

Digital UART Product Specification

The task of writing device drivers to facilitate booting of the DSP via these interfaces is with the user.

NHD-0216K3Z-NS(RGB)-FBW-V3

Transcription:

The Embedded I/O Company TPMC810 Isolated 2x CAN Bus Version 1.1 User Manual Issue 1.1.6 June 2009 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek / Germany Phone: +49-(0)4101-4058-0 Fax: +49-(0)4101-4058-19 E-mail: info@tews.com www.tews.com

TPMC810-10 Isolated 2x CAN bus, 2x DB9 front panel connector, P14 Back I/O This document contains information, which is proprietary to TEWS TECHNOLOGIES GmbH. Any reproduction without written permission is forbidden. TEWS TECHNOLOGIES GmbH has made any effort to ensure that this manual is accurate and complete. However TEWS TECHNOLOGIES GmbH reserves the right to change the product described in this document at any time without notice. TEWS TECHNOLOGIES GmbH is not liable for any damage arising out of the application or use of the device described herein. Style Conventions Hexadecimal characters are specified with prefix 0x, i.e. 0x029E (that means hexadecimal value 029E). For signals on hardware products, an Active Low is represented by the signal name with # following, i.e. IP_RESET#. Access terms are described as: W Write Only R Read Only R/W Read/Write R/C Read/Clear R/S Read/Set 2005-2009 by TEWS TECHNOLOGIES GmbH All trademarks mentioned are property of their respective owners. TPMC810 User Manual Issue 1.1.6 Page 2 of 23

Issue Description Date 1.0 First Issue January 2003 1.1 Correction Configuration EEPROM April 2003 1.2 Correction Configuration EEPROM September 2003 1.3 Weight Added and Version April 2004 1.4 Corrected PCI Base Address Number in Fig. 3-2 October 2005 1.5 New address TEWS LLC September 2006 1.1.6 New notation for User Manual and Engineering Documentation June 2009 TPMC810 User Manual Issue 1.1.6 Page 3 of 23

Table of Contents 1 PRODUCT DESCRIPTION... 6 2 TECHNICAL SPECIFICATION... 7 3 LOCAL SPACE ADDRESSING... 8 3.1 PCI9030 Local Space Configuration...8 3.2 CAN Controller Register Address Space...9 3.2.1 SJA1000 CAN Controller Registers...9 4 PCI9030 TARGET CHIP... 12 4.1 PCI Configuration Registers (PCR)...12 4.1.1 PCI9030 Header...12 4.1.2 PCI Base Address Initialization...13 4.2 Local Configuration Register (LCR)...14 4.3 Configuration EEPROM...15 4.4 Local Software Reset...16 5 PROGRAMMING HINTS... 17 5.1 SJA1000 CAN Controller...17 6 CONFIGURATION HINTS... 20 6.1 Transceiver Silent Mode...20 6.2 DIP Switch Settings...21 7 PIN ASSIGNMENT I/O CONNECTOR... 22 7.1 Front Panel I/O...22 7.2 Back I/O P14...23 TPMC810 User Manual Issue 1.1.6 Page 4 of 23

List of Figures FIGURE 1-1 : BLOCK DIAGRAM...6 FIGURE 6-1 : CAN CHANNEL INTERFACE...21 List of Tables TABLE 2-1 : TECHNICAL SPECIFICATION...7 TABLE 3-1 : PCI9030 LOCAL SPACE CONFIGURATION...8 TABLE 3-2 : CAN CONTROLLER REGISTER SPACE...9 TABLE 3-3 : REGISTERS OF SJA1000...10 TABLE 3-4 : REGISTERS OF THE SJA1000 (CONT.)...11 TABLE 4-1 : PCI9030 HEADER...12 TABLE 4-2 : PCI9030 PCI BASE ADDRESS USAGE...13 TABLE 4-3 : PCI9030 LOCAL CONFIGURATION REGISTER...14 TABLE 4-4 : CONFIGURATION EEPROM TPMC810-10...15 TABLE 5-1 : OUTPUT CONTROL REGISTER (OCR; 0X08)...17 TABLE 5-2 : CLOCK DIVIDER REGISTER (CDR; 0X1F)...18 TABLE 5-3 : RX- AND TX-BUFFER IN BASICCAN MODE...18 TABLE 5-4 : RX- AND TX-BUFFER IN PELICAN MODE...19 TABLE 6-1 : TRANSCEIVER SILENT MODE SETTINGS...20 TABLE 6-2 : DIP SWITCH SETTINGS...21 TABLE 7-1 : DB9 MALE CONNECTOR X1 CHANNEL 1...22 TABLE 7-2 : DB9 MALE CONNECTOR X2 CHANNEL 2...22 TABLE 7-3 : PIN ASSIGNMENT P14 BACK I/O CONNECTOR...23 TPMC810 User Manual Issue 1.1.6 Page 5 of 23

1 Product Description The TPMC810 is a standard single-width 32 bit PMC with two independent CAN bus channels, isolated from system logic and from each other. Two Philips SJA1000 CAN controllers (CAN specification 2.0B supported) are used. CAN High Speed transceivers are used for the CAN bus I/O interface. An on board termination option (DIP switch) is provided for each CAN bus channel to configure on board termination and pass through mode for the CAN bus. Each channel can generate an interrupt on INTA. The TPMC810 provides front panel I/O via two DB9 male connectors and rear panel I/O via P14. Figure 1-1 : Block Diagram TPMC810 User Manual Issue 1.1.6 Page 6 of 23

2 Technical Specification PMC Interface Mechanical Interface Electrical Interface On Board Devices PCI Target Chip CAN Controller CAN Transceiver I/O Interface PCI Mezzanine Card (PMC) Interface Single Size PCI Rev. 2.1 compliant 33 MHz / 32 bit PCI 3.3V and 5V PCI Signaling Voltage PCI9030 (PLX Technology) 2 x SJA1000 @ 16MHz (Philips) 2 x TJA1050 (Philips) Number of CAN Bus Channels 2 (Isolated against each other) CAN Bus Interface CAN High Speed (11898-2) I/O Connector Physical Data Power Requirements Temperature Range MTBF Humidity Weight PMC P14 I/O (64 pin Mezzanine Connector) 2 x DB9 front panel connector 150mA typical @ +3.3V DC 330mA typical @ +5V DC Operating Storage 404276h -40 C to +85 C -40 C to +125 C 5 95 % non-condensing 76g Table 2-1 : Technical Specification TPMC810 User Manual Issue 1.1.6 Page 7 of 23

3 Local Space Addressing 3.1 PCI9030 Local Space Configuration The local on board addressable regions are accessed from the PCI side by using the PCI9030 local spaces. PCI9030 Local Space PCI9030 PCI Base Address (Offset in PCI Configuration Space) PCI Space Mapping Size (Byte) Port Width (Bit) Endian Mode Description 0 2 (0x18) MEM 512 8 BIG CAN Controller Address Space 1 3 (0x1C) - - - - Not Used 2 4 (0x20) - - - - Not Used 3 5 (0x24) - - - - Not Used Table 3-1 : PCI9030 Local Space Configuration TPMC810 User Manual Issue 1.1.6 Page 8 of 23

3.2 CAN Controller Register Address Space PCI Base Address: PCI9030 PCI Base Address 2 (Offset 0x18 in PCI Configuration Space) Offset to PCI Base Address 2 CAN CONTROLLER REGISTER SPACE Register Name CAN Controller Channel 1 0x000 CAN Controller CH1 Address 0 8 0x001 CAN Controller CH1 Address 1 8 0x002 CAN Controller CH1 Address 2 8 Size (Bit) 0x07F CAN Controller CH1 Address 127 8 0x080 0x0FF Reserved - CAN Controller Channel 2 0x100 CAN Controller CH2 Address 0 8 0x101 CAN Controller CH2 Address 1 8 0x102 CAN Controller CH2 Address 2 8 0x17F CAN Controller CH2 Address 127 8 0x180 0x1FF Reserved - Table 3-2 : CAN Controller Register Space 3.2.1 SJA1000 CAN Controller Registers The SJA1000 is controlled via a set of registers (control segment) and a RAM (message buffer). The following table Registers of the SJA1000 lists these registers grouped according to their usage in a system, the addresses are decimal values. Note that some registers are available in PeliCAN Mode only and that the Control Register is available in BasicCAN Mode only. Furthermore some registers are read only or write only and some can be accessed during Reset Mode only. More information about the registers with respect to read and/or write access, bit definition and reset values, can be found in the data sheet SJA1000 (http://www.semiconductors.philips.com). See also chapter Programming Hints for some general register settings. TPMC810 User Manual Issue 1.1.6 Page 9 of 23

Register Address: (decimal) Type of Usage Register Name (Symbol) PeliCAN Mode BasicCAN Mode Functionality Elements for selecting different operation modes Elements for setting up the CAN communication Basic elements for the CAN communication Mode (MOD) 0 Sleep-, Acceptance Filter-, Self Test-, Listen Only- and Reset Mode selection Control (CR) 0 Reset Mode selection in BasicCAN Mode Command (CMR) 1 Sleep Mode command in BasicCAN Mode Clock Divider (CDR) 31 31 Set-up of clock signal at CLKOUT (pin 7) selection of PeliCAN Mode, Comparator Bypass Mode, TX1 (pin 14) Output Mode Acceptance Code, Mask Bus Timing 0 1 (ACR) (AMR) (BTR0) (BTR1) 16-19 20-23 6 7 4, 5 6 7 Selection of bit patterns for Acceptance Filtering Set-up of Bit Timing Parameters Output Control (OCR) 8 8 Selection of Output Driver properties Command (CMR) 1 1 Commands for Self Reception, Clear Data Overrun, Release Receive Buffer, Abort Transmission and Transmission Request Status (SR) 2 2 Status of message buffers, status of CAN Core Block Interrupt (IR) 3 3 CAN Interrupt flags Interrupt Enable (IER) 4 Enable/disable of interrupt events in PeliCAN Mode Control (CR) 0 Enable/disable of interrupt events in BasicCAN Mode Table 3-3 : Registers of SJA1000 TPMC810 User Manual Issue 1.1.6 Page 10 of 23

Register Address: (decimal) Type of Usage Register Name (Symbol) PeliCAN Mode BasicCAN Mode Functionality Elements for a comprehensive error detection and analyzing Arbitration Lost Capture (ALC) 11 Shows bit position, where arbitration was lost Error Code Capture (ECC) 12 Shows last error type and location Error Warning Limit (EWLR) 13 Selection of threshold for generating an Error Warning Interrupt RX Error Counter (RXERR) 14 Reflects the current value of the Receive Error Counter TX Error Counter (TXERR) 14, 15 Reflects the current value of the Transmit Error Counter Rx Message Counter (RMC) 29 Number of messages in the Receive FIFO Rx Buffer Start Addr. (RBSA) 30 Shows the current internal RAM address of the message available in the Receive Buffer Message buffers Transmit Buffer (TXBUF) 16-28 10-19 Receive Buffer (RXBUF) 16-28 20-29 Table 3-4 : Registers of the SJA1000 (cont.) TPMC810 User Manual Issue 1.1.6 Page 11 of 23

4 PCI9030 Target Chip 4.1 PCI Configuration Registers (PCR) 4.1.1 PCI9030 Header PCI CFG Register Address Write 0 to all unused (Reserved) bits 31 24 23 16 15 8 7 0 PCI writeable Initial Values (Hex Values) 0x00 Device ID Vendor ID N 032A 1498 0x04 Status Command Y 0280 0000 0x08 Class Code Revision ID N 028000 00 0x0C BIST Header Type PCI Latency Timer Cache Line Size Y[7:0] 00 00 00 00 0x10 PCI Base Address 0 for MEM Mapped Config. Registers Y FFFFFF80 0x14 PCI Base Address 1 for I/O Mapped Config. Registers Y FFFFFF81 0x18 PCI Base Address 2 for Local Address Space 0 Y FFFFFE00 0x1C PCI Base Address 3 for Local Address Space 1 Y 00000000 0x20 PCI Base Address 4 for Local Address Space 2 Y 00000000 0x24 PCI Base Address 5 for Local Address Space 3 Y 00000000 0x28 PCI Cardbus Information Structure Pointer N 00000000 0x2C Subsystem ID Subsystem Vendor ID N 000A 1498 0x30 PCI Base Address for Local Expansion ROM Y 00000000 0x34 Reserved New Cap. Ptr. N 000000 40 0x38 Reserved N 00000000 0x3C Max_Lat Min_Gnt Interrupt Pin Interrupt Line Y[7:0] 00 00 01 00 0x40 PM Cap. PM Nxt Cap. PM Cap. ID N 4801 00 01 0x44 PM Data PM CSR EXT PM CSR Y 00 00 0000 0x48 Reserved HS CSR HS Nxt Cap. HS Cap. ID Y[23:16] 00 00 00 06 0x4C VPD Address VPD Nxt Cap. VPD Cap. ID Y[31:16] 0000 00 03 0x50 VPD Data Y 00000000 Table 4-1 : PCI9030 Header TPMC810 User Manual Issue 1.1.6 Page 12 of 23

4.1.2 PCI Base Address Initialization PCI Base Address Initialization is scope of the PCI host software. PCI9030 PCI Base Address Initialization: 1. Write 0xFFFF_FFFF to the PCI9030 PCI Base Address Register. 2. Read back the PCI9030 PCI Base Address Register. 3. For PCI Base Address Registers 0:5, check bit 0 for PCI Address Space. Bit 0 = '0' requires PCI Memory Space mapping Bit 0 = '1' requires PCI I/O Space mapping For the PCI Expansion ROM Base Address Register, check bit 0 for usage. Bit 0 = 0 : Expansion ROM not used Bit 0 = 1 : Expansion ROM used 4. For PCI I/O Space mapping, starting at bit location 2, the first bit set determines the size of the required PCI I/O Space size. For PCI Memory Space mapping, starting at bit location 4, the first bit set to '1' determines the size of the required PCI Memory Space size. For PCI Expansion ROM mapping, starting at bit location 11, the first bit set to '1' determines the required PCI Expansion ROM size. For example, if bit 5 of a PCI Base Address Register is detected as the first bit set to 1, the PCI9030 is requesting a 32 byte space (address bits 4:0 are not part of base address decoding). 5. Determine the base address and write the base address to the PCI9030 PCI Base Address Register. For PCI Memory Space mapping the mapped address region must comply with the definition of bits 3:1 of the PCI9030 PCI Base Address Register. After programming the PCI9030 PCI Base Address Registers, the software must enable the PCI9030 for PCI I/O and/or PCI Memory Space access in the PCI9030 PCI Command Register (Offset 0x04). To enable PCI I/O Space access to the PCI9030, set bit 0 to '1'. To enable PCI Memory Space access to the PCI9030, set bit 1 to '1'. Offset in Config. Description Usage 0x10 PCI9030 LCR s MEM Used 0x14 PCI9030 LCR s I/O Used 0x18 PCI9030 Local Space 0 Used 0x1C PCI9030 Local Space 1 Not used 0x30 Expansion ROM Not used Table 4-2 : PCI9030 PCI Base Address Usage TPMC810 User Manual Issue 1.1.6 Page 13 of 23

4.2 Local Configuration Register (LCR) After reset, the PCI9030 Local Configuration Registers are loaded from the on board serial configuration EEPROM. The PCI base address for the PCI9030 Local Configuration Registers is PCI9030 PCI Base Address 0 (PCI Memory Space) (Offset 0x10 in the PCI9030 PCI Configuration Register Space) or PCI9030 PCI Base Address 1 (PCI I/O Space) (Offset 0x14 in the PCI9030 PCI Configuration Register Space). Do not change hardware dependent bit settings in the PCI9030 Local Configuration Registers. Offset from PCI Base Register Value Description Address 0x00 Local Address Space 0 Range 0x0FFF_FE00 CAN Controller Address Space 0x04 Local Address Space 1 Range 0x0000_0000 0x08 Local Address Space 2 Range 0x0000_0000 0x0C Local Address Space 3 Range 0x0000_0000 0x10 Local Exp. ROM Range 0x0000_0000 0x14 Local Re-map Register Space 0 0x0000_0001 0x18 Local Re-map Register Space 1 0x0000_0000 0x1C Local Re-map Register Space 2 0x0000_0000 0x20 Local Re-map Register Space 3 0x0000_0000 0x24 Local Re-map Register ROM 0x0000_0000 0x28 Local Address Space 0 Descriptor 0x1502_4120 0x2C Local Address Space 1 Descriptor 0x0000_0000 0x30 Local Address Space 2 Descriptor 0x0000_0000 0x34 Local Address Space 3 Descriptor 0x0000_0000 0x38 Local Exp. ROM Descriptor 0x0000_0000 0x3C Chip Select 0 Base Address 0x0000_0081 0x40 Chip Select 1 Base Address 0x0000_0181 0x44 Chip Select 2 Base Address 0x0000_0000 0x48 Chip Select 3 Base Address 0x0000_0000 0x4C Interrupt Control/Status 0x0041 0x4E EEPROM Write Protect Boundary 0x0030 0x50 Miscellaneous Control Register 0x0078_0000 0x54 General Purpose I/O Control 0x0224_96D0 0x70 Hidden1 Power Management data 0x0000_0000 select 0x74 Hidden 2 Power Management data scale 0x0000_0000 Table 4-3 : PCI9030 Local Configuration Register TPMC810 User Manual Issue 1.1.6 Page 14 of 23

4.3 Configuration EEPROM After power-on or PCI reset, the PCI9030 loads initial configuration register data from the on board configuration EEPROM. The configuration EEPROM contains the following configuration data: Address 0x00 to 0x27 : PCI9030 PCI Configuration Register Values Address 0x28 to 0x87 : PCI9030 Local Configuration Register Values Address 0x88 to 0xFF : Reserved See the PCI9030 manual for more information. Address Offset 0x00 0x02 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x00 0x032A 0x1498 0x0280 0x0000 0x0280 0x0000 0x000A 0x1498 0x10 0x0000 0x0040 0x0000 0x0100 0x4801 0x0001 0x0000 0x0000 0x20 0x0000 0x0006 0x0000 0x0003 0x0FFF 0xFE00 0x0000 0x0000 0x30 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0001 0x40 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x50 0x1502 0x4120 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x60 0x0000 0x0000 0x0000 0x0081 0x0000 0x0181 0x0000 0x0000 0x70 0x0000 0x0000 0x0030 0x0041 0x0078 0x0000 0x0224 0x96D0 0x80 0x0000 0x0000 0x0000 0x0000 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0x90 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xA0 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xB0 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xC0 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xD0 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xE0 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xF0 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF Table 4-4 : Configuration EEPROM TPMC810-10 TPMC810 User Manual Issue 1.1.6 Page 15 of 23

4.4 Local Software Reset The PCI9030 Local Reset output LRESETo# is used to reset the on board local logic. The PCI9030 local reset is active during PCI reset or if the PCI adapter software reset bit is set in the PCI9030 local configuration register CNTRL (offset 0x50). CNTRL[30] PCI Adapter Software Reset: Value of 1 resets the PCI9030 and issues a reset to the local bus (LRESETo# asserted). The PCI9030 remains in this reset condition until the PCI host clears this bit. The contents of the PCI9030 PCI and Local Configuration Registers are not reset. The PCI9030 PCI interface is not reset. TPMC810 User Manual Issue 1.1.6 Page 16 of 23

5 Programming Hints 5.1 SJA1000 CAN Controller The SJA1000 clock input frequency is 16 MHz (for both SJA1000 controllers). See chapter SJA1000 CAN Controller Registers for an overview of all registers in the different modes. Note that some registers are available in PeliCAN Mode only and that the Control Register is available in BasicCAN Mode only. Furthermore some registers are read only or write only and some can be accessed during Reset Mode only. A message, which should be transmitted, has to be written to the transmit buffer. After a successful reception the microprocessor may read the received message from the receive buffer and then release it for further use. For register access, two different modes have to be distinguished: Reset Mode Operating Mode The Reset Mode (see SJA1000 Control Register (CR; 0x0) for BasicCAN or Mode Register (MOD; 0x0) for PeliCAN, bit Reset Request) is entered automatically after a hardware-reset or when the controller enters the bus-off state (see Status Register, bit Bus Status). The operating mode is activated by resetting of the reset request bit in the control register. More information about the registers with respect to read and/or write access, bit definition and reset values, can be found in the data sheet SJA1000 (http://www.semiconductors.philips.com). The SJA1000 Output Control Register and Clock Divider Register have to be programmed as follows. SJA1000 controllers must be in Reset Mode: Bit Symbol Description 7 OCTP1 11 : Push-Pull output stage 6 OCTN1 5 OCPOL1 0 : Normal polarity 4 OCTP0 11 : Push-Pull output stage 3 OCTN0 2 OCPOL0 0 : Normal polarity 1 OCMODE1 01 : Test output mode (bit reflection) 0 OCMODE0 10 : Normal output mode Table 5-1 : Output Control Register (OCR; 0x08) TPMC810 User Manual Issue 1.1.6 Page 17 of 23

Bit Symbol Description 7 CAN Mode 0 : BasicCAN Mode 1 : PeliCAN Mode 6 CBP 1 : Bypass input comparator, use RX0 only 5 RXINTEN 0 : Disable interrupts on TX1 output 4-0 3 clock off 1 : Disable clock output (not used) 2 CD.2 0 1 CD.1 0 0 CD.0 0 Table 5-2 : Clock Divider Register (CDR; 0x1F) The data to be transmitted on the CAN bus is loaded into the memory area of the SJA1000, called Transmit Buffer. The data received from the CAN bus is stored in the memory area of the SJA1000, called Receive Buffer. These buffers contain 2, 3 or 5 bytes for the identifier and frame information (dependent on mode and frame type) and up to 8 data bytes. BasicCAN Mode: The buffers are 10 bytes deep (see figure Rx- and Tx-buffer in BasicCAN Mode ). 2 identifier bytes up to 8 data bytes PeliCAN Mode: The buffers are 13 bytes deep (see figure Rx- and Tx-buffer in PeliCAN Mode ). 1 byte for frame information 2 or 4 identifier bytes (Standard Frame or Extended Frame) up to 8 data bytes Address Name Composition and Remarks Tx-buffer: 0x0A Rx-buffer: 0x14 Tx-buffer: 0x0B Rx-buffer: 0x15 Tx-buffer: 0x0C-0x13 Rx-buffer: 0x16-0x1D Identifier Byte 1 Identifier Byte 2 Data Byte 1-8 8 Identifier bits 3 Identifier bits, 1 Remote Transmission Request bit, 4 bits for the Data Length Code, indicating the amount of data bytes Up to 8 data bytes as indicated by the Data Length Code Table 5-3 : Rx- and Tx-buffer in BasicCAN Mode TPMC810 User Manual Issue 1.1.6 Page 18 of 23

0x10 Address Name Composition and Remarks Frame Information 0x11, 0x12 Identifier Byte 1, 2 0x13, 0x14 Identifier Byte 3, 4 Frame type Standard: 0x13 0x1A Extended: 0x15 0x1C Data Byte 1-8 1 bit indicating, if the message contains a Standard or Extended frame 1 Remote Transmission Request bit 4 bits for the Data Length Code, indicating the amount of data bytes Standard Frame: 11 Identifier bits Extended Frame: 16 Identifier bits Extended Frame only: 13 Identifier bits Up to 8 data bytes as indicated by the Data Length Code Table 5-4 : Rx- and Tx-buffer in PeliCAN Mode The whole Receive FIFO (64 bytes) can be accessed using the CAN addresses 32 to 95. A read access of the Tx-buffer can be done using the CAN addresses 96 to 108. TPMC810 User Manual Issue 1.1.6 Page 19 of 23

6 Configuration Hints 6.1 Transceiver Silent Mode The CAN transceivers can be switched to Silent Mode, in this mode the transmitter is disabled. Pin S of the TJA1050 CAN transceivers is directly controlled by a GPIO output of the PCI9030, GPIO1 for channel 1 and GPIO8 for channel 2. The level on the GPIO lines can be changed by setting bit 5 (GPIO1) or bit 26 (GPIO8) in the GPIO Control Register (offset 0x54): Value of GPIO1/8 Data Function 0 Transceiver is in high-speed mode, which is the normal operating mode 1 Transceiver is in silent mode, transmitter is disabled Table 6-1 : Transceiver Silent Mode Settings Default value after power on is 0 (operating mode). TPMC810 User Manual Issue 1.1.6 Page 20 of 23

6.2 DIP Switch Settings The following two figures show the DIP switch settings for one CAN channel. Possible line configuration options for each channel are: On board Line Termination: on / off P14 Bus Mode : connected / not connected and pass through on / off The on board termination option for a CAN channel node input (see P14 I/O pin assignment) is a 120 ohms split termination network. For the pass through option, the I/O lines are passed through from the node input pins to the node output pins of the P14 I/O connector (see P14 Back I/O pin assignment). Switch-Numbers Function Description 1,2 Line Termination ON: 120 R line termination enabled OFF: Line termination disabled 3,4 P14 Connection ON: Incoming CAN bus connection enabled OFF: Incoming CAN bus connection disabled 5,6 P14 Pass Through ON: Outgoing CAN bus connection enabled OFF: Outgoing CAN bus connection disabled Table 6-2 : DIP Switch Settings Figure 6-1 : CAN Channel Interface TPMC810 User Manual Issue 1.1.6 Page 21 of 23

7 Pin Assignment I/O Connector 7.1 Front Panel I/O Pin Signal 1 N.C. 2 LOW level CAN bus signal 3 Ground channel 1 4 N.C. 5 N.C. 6 Ground channel 1 7 HIGH level CAN bus signal 8 N.C. 9 N.C. Table 7-1 : DB9 Male Connector X1 Channel 1 Pin Signal 1 N.C. 2 LOW level CAN bus signal 3 Ground channel 2 4 N.C. 5 N.C. 6 Ground channel 2 7 HIGH level CAN bus signal 8 N.C. 9 N.C. Table 7-2 : DB9 Male Connector X2 Channel 2 TPMC810 User Manual Issue 1.1.6 Page 22 of 23

7.2 Back I/O P14 Pin 1 N.C. 2 Ground channel 1 Signal 3 LOW level CAN bus signal IN channel 1 4 HIGH level CAN bus signal IN channel 1 5 Ground channel 1 6 Ground channel 1 7 LOW level CAN bus signal OUT channel 1 8 HIGH level CAN bus signal OUT channel 1 9 N.C. 10 N.C. 11 N.C. 12 N.C. 13 N.C. 14 N.C. 15 N.C. 16 Ground channel 2 17 LOW level CAN bus signal IN channel 2 18 HIGH level CAN bus signal IN channel 2 19 Ground channel 2 20 Ground channel 2 21 LOW level CAN bus signal OUT channel 2 22 HIGH level CAN bus signal OUT channel 2 23 Ground channel 2 24... 64 N.C. Table 7-3 : Pin Assignment P14 Back I/O Connector TPMC810 User Manual Issue 1.1.6 Page 23 of 23