background image

Architecture 

 

 

23

 

iPC-I 320 Manual, Version 2.8 

 

4.3  Triggering an Interrupt on the PC 

The microcontrollers can trigger an interrupt on the PC by writing a low impulse 
of min. 50ns length onto the port pin 1.7. The electronics on the interface convert 
this into an impulse of approx. 1.5 µs length (triggering occurs on the falling side 
of the impulse of the port pin). The requested interrupt on the PC side is set with 
the jumper JP27, the level of the impulse with switch 7 of the DIP switch SW1 
(see Section 4.1.2). 

4.4  CAN Controllers 

Up to two CAN controllers can be present on the interface. These can be 
controllers of the types Philips SJA1000 or INTEL 82527. With the PC/104 
version, the first CAN controller is always a Philips SJA1000, the second CAN 
controller can be assembled via an optional plug-in circuit board. 

The first CAN controller is displayed in the range from F400h to F7FFh, the 
second CAN controller in the range from F800h to FBFFh in the XDATA area of 
the microcontroller. When the individual storage area is accessed, the 
corresponding CAN controller is automatically selected. The exact registration 
description can be found in the relevant data books of INTEL or Philips (web-
addresses in Appendix C). Both CAN controllers have a frequency of 16 MHz. 

 

CAN controller 

Start 

address 

INT on 

DS80C320 

HW reset 

with port 

TX0 

disable 

with port 

1. CAN controller 

F400h 

INT0 

P1.0 

P1.5 

2. CAN controller 

F800h 

INT1 

P1.1 

P1.6 

 

The CAN controllers are reset by a high-level (bit on 1) of the port bits to P1.0 
and P1.1 respectively. After reset of the microcontroller, it should be ensured 
that the two CAN controllers are in reset mode. The application on the interface 
must ensure that the two port bits are set to 0. 
It is possible, with a high level (bit on 1) of the port bits 1.5 and 1.6, to prevent 
the INTEL 82527 CAN controller from transmitting. For this, the TX0 line of the 
CAN controller to the bus coupling is interrupted. After a reset of the 
microcontroller, it is the task of the application to set the bit to 0, in order to 
enable transmission.   
It should be ensured that the Output Control Register of the Philips SJA1000 
CAN controller is loaded with the value 5Eh. To ensure correct functioning of 
the INTEL 82527 CAN controller, the value 41h must be written in the CPU 
interface register of the INTEL 82527 after each reset of the CAN controller.   
Since the INTEL 82527 CAN controller has a relatively slow CPU interface, it is 
necessary to insert wait states when accessing the CAN controller. The DALLAS 
DS80C320 microcontroller has the CKCON register (SFR Register 8Eh) for this 
purpose. The value 100b must be entered in bits 2, 1 and 0 of the CKCON 

Содержание Ixxat iPC-I 320

Страница 1: ...iPC I 320 Intelligent PC CAN Interface HARDWARE MANUAL ENGLISH...

Страница 2: ...s document is only allowed with explicit permission of HMS Technology Center Ravensburg GmbH HMS Technology Center Ravensburg GmbH reserves the right to change technical data without prior announcemen...

Страница 3: ...et Button and LED 14 3 1 8 Earth Connection for Measuring Purposes 14 3 1 9 Jumper for Port Pins 1 2 and 1 3 14 3 2 Design of the CAN Plugs 15 3 3 Pin Assignment 15 3 3 1 Connection between CAN Contro...

Страница 4: ...nual Version 2 8 4 4 CAN Controllers 23 4 5 Serial Interfaces 24 Appendix 25 Appendix A 25 Technical Data 25 Appendix B 26 Factory Settings 26 Appendix C 27 Supply Sources for Data Sheets 27 EC Declar...

Страница 5: ...nical features are as follows Design as ISA card PC plug in card half length PC 104 card or AT96 ISA96 card Euro card format 8 bit memory mapped access 7 kbytes address space required Base address can...

Страница 6: ...Introduction 6 iPC I 320 Manual Version 2 8 1 3 Block Diagram...

Страница 7: ...d remove the mains plug 4 Open the PC according to the instructions of the PC manufacturer and determine a suitable plug in space The interface is designed according to the PC standard and can be easi...

Страница 8: ...sion 2 8 3 Configuration 3 1 Jumper Settings The diagrams Fig 3 1 PC 104 Fig 3 2 ISA Slot and Fig 3 3 AT ISA96 show the positions of the plugs and jumpers on the various interfaces Fig 3 1 iPC I 320 P...

Страница 9: ...Configuration 9 iPC I 320 Manual Version 2 8 Fig 3 2 iPC I 320 interface for ISA slot bus...

Страница 10: ...Configuration 10 iPC I 320 Manual Version 2 8 Fig 3 3 iPC I 320 AT ISA96 interface...

Страница 11: ...OFF OFF D000h default ON OFF ON ON ON D200h ON OFF ON ON OFF D400h ON OFF ON OFF ON D600h ON OFF ON OFF OFF D800h ON OFF OFF ON ON DA00h ON OFF OFF ON OFF DC00h ON OFF OFF OFF ON DE00h ON OFF OFF OFF...

Страница 12: ...ossible that several cards share an interrupt Further information on this subject can be found in the hardware manuals for the PC The iPC I 320 supports shared interrupts by enabling the level of the...

Страница 13: ...f the DIP switch SW1 terminal strip SW1 with the PC 104 version ON jumper plugged in the toggle of the memory architecture can be disabled from the PC Then the interface always runs in loader mode aft...

Страница 14: ...he two serial interfaces with the PC 104 design only one serial interface The LED is controlled by the microcontroller via port 3 4 whereby the LED is on with a low signal bit on 0 It is to be observe...

Страница 15: ...electrically isolated from the CAN bus as an option A version without bus transceiver is available on the interface as a further option In this case the signals are led out onto two pin boards each JP...

Страница 16: ...4 9 Port 1 2 10 Port 3 5 Adjustment via JP42 and JP43 as described in 3 1 9 JP15 leads the signals of the first bus transceiver to the 9 pin CON2 plug male and the 9 pin plug female CON3 at the PC 104...

Страница 17: ...ted from the GND and VCC signals of the interface If the CAN protective circuit is assembled on the circuit board the signals CAN Low and CAN High are connected from JP15 JP25 via the protective circu...

Страница 18: ...riting occurs from one side and reading from the other the reading side receives either the old data or the data just written If writing occurs simultaneously from both sides onto the same memory cell...

Страница 19: ...patterns for the toggle X means irrelevant Mode Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Loader application X X X X X X X 0 Harvard X X X X X X 0 1 von Neumann X X X X X X 1 1 4 1 4 Triggering...

Страница 20: ...kbytes data memory bank switching SW1 8 ON Von Neumann mode 56 kbytes plus 256 bytes common memory for code and data Harvard mode 56 kbytes data memory plus 256 bytes common code and data memory 4 2...

Страница 21: ...BANK 0 Sel BANK 1 not used FC00h F800h F400h EPROM Fig 4 3 Storage assignment in application mode DIP SW1 8 ON 4 2 4 Harvard Mode In Harvard mode the programmer has the largest possible memory pool av...

Страница 22: ...usable storage area see Fig 4 5 The advantage of this mode is that debuggers such as Keil TS51 can also be implemented as the whole usable code area can be modified by the software itself In the area...

Страница 23: ...trollers have a frequency of 16 MHz CAN controller Start address INT on DS80C320 HW reset with port TX0 disable with port 1 CAN controller F400h INT0 P1 0 P1 5 2 CAN controller F800h INT1 P1 1 P1 6 Th...

Страница 24: ...ller If parts of a program is only working with data from the RAM the wait states should be cancelled For the Philips SJA1000 4 wait states 010b are sufficient 4 5 Serial Interfaces Up to two serial i...

Страница 25: ...ion 100 x 167 mm Europa card 12 mm overall height Weight approx 120g Working temp range 0 50 C Power supply 5V DC 5 Current consumption typically 190 mA max 600 mA EMC test according to EN 50081 1 199...

Страница 26: ...ddress D000h DIP SW1 1 ON DIP SW1 2 OFF DIP SW1 3 ON DIP SW1 4 ON DIP SW1 5 ON PC interrupt IRQ5 JP27 IRQ 5 bridged EPROM size 27C256 32kBx8 JP35 2 3 bridged Bus wait states with wait sates DIP SW1 6...

Страница 27: ...ndix C Supply Sources for Data Sheets Dual port RAM IDT 71342LA http www idt com CAN controller Philips SJA1000 http www philips semiconductors com CAN controller Intel 82527 http www intel com Microc...

Страница 28: ...with the article numbers 1 01 0040 10100 1 01 0040 10200 1 01 0040 11110 1 01 0040 11220 do comply with the EC directives 2004 108 EC Applied harmonized standards in particular EN 55022 2006 A1 2007 E...

Отзывы: