Architecture
4 Architecture
4.1 PC-side
memory
assignment
The CAN-controllers are displayed directly in the memory range of the PC.
0000h
0100h
0200h
0300h
03FFh
1.CAN-Controller
Reset CAN1
2.CAN-Controller
Reset CAN2
(Basisadresse)
Fig. 4-1: PC-side memory assignment
4.1.1 Access to CAN-controllers
There can be up to two CAN-controllers of the type Philips SJA1000 on the inter-
face.
The first CAN-controller is displayed in the range from 0000h to 00FFh, the sec-
ond CAN-controller in the range of 0200h to 02FFh from the basic address of the
card. When accessing a memory range, the corresponding CAN-controller is
called up automatically. The basic address is allocated by the PCI-plug and play
BIOS.
The exact register description of the SJA1000 can be found in the corresponding
Philips data sheets (web-addresses in Appendix C).
The Output Control Register of the CAN-controllers must be loaded with the
value 5Eh.
4.1.2 Reset of the CAN-Controller from the PC
By writing a random value to an address of the reset range (0100h to 01FFh for
the first CAN-controller and 0300h to 03FFh for the second CAN-controller), a
hardware reset is carried out on the corresponding CAN-controller.
4.2 Triggering an interrupt on the PC
The CAN-controllers can trigger an interrupt on the PC. Both CAN-controllers
share one interrupt (INTA# of the PCI-interface).
The PCI-plug and play BIOS allocates an interrupt to the card (IRQ3..IRQ15).
Copyright IXXAT Automation GmbH
PC-I 04/PCI-Manual, Version 1.2
12
Summary of Contents for PC-I 04/PCI
Page 4: ......