background image

SERIES IP1K100 INDUSTRIAL I/O PACK                                        RECONFIGURABLE DIGITAL I/O MODULE
___________________________________________________________________________________________

- 6 -

3.0   PROGRAMMING INFORMATION

This board is addressable in the Industrial Pack I/O space to

control in-system configuration of an Altera FPGA.  After the Altera
FPGA is configured the IP I/O space is used to control data transfer,
and steering logic of the mix of up to 24 EIA RS485/RS422 serial
channels and up to 48 digital TTL channels.  The IP1K100 includes
a 64K x 16 static memory device and clock generator chip which are
also both accessed via the IP bus interface through the Altera
FPGA.

Upon an initial power reset the IP1K100 responds to IP bus ID

space accesses and I/O space accesses.  The ID space accesses
allow board identification.  The I/O space accesses allow
configuration of the Altera FPGA.  After the Altera FPGA is
successfully configured, the IP bus interface functions as defined by
the logic program of the Altera FPGA.  The IP1K100 in-system
configuration logic will be disabled by the newly configured Altera
FPGA.

IN-SYSTEM CONFIGURATION ADDRESS MAPS

The I/O space address map for the IP1K100 when in

configuration mode is as shown in Table 3.1.  The IP1K100 is in
configuration mode upon system power up and when the
Config_Enable line on pin168 of the Altera FPGA is a logic high.
The Config_Enable line must be held low by the Altera FPGA after
successful configuration to disable configuration mode.  Note that
upon initial power up a pull-up resistor connected to pin 168 of the
Altera FPGA keeps the IP1K100 in configuration mode.  After the
FPGA is configured, the internal logic of the FPGA must pull this
resistor down to a logic low to disable configuration mode.

If you have a configured FPGA and then wanted to re-configure

the FPGA again you must enable configuration mode.  This is
accomplished by driving pin 168 of the FPGA to a logic high level via
control register bit-0.  If you change your mind and want to return
control back to the FPGA an IP bus reset can be used to clear or
drive pin 168 to a logic low level (see example VHDL file).  Note that
the Altera FPGA must not drive the IP bus data lines or the ACK

signal after you return to configuration mode from a configured
FPGA.  Also, IP bus write cycles must be disabled from changing
the registers of your configured FPGA while in configuration mode.

Table 3.1:  IP1K100 Configuration Address Map (IO Space)

EVEN
Base
Addr.+

EVEN Byte

D15            D08

ODD Byte

D07                 D00

ODD
Base
Addr.+

00

Not Used

Control/Status

Register

01

02

Not Used

Configuration Data

Register

03

IP1K100 Configuration Procedure

The IP1K100 implements configuration of the Altera FPGA over

the IP bus interface.  The IP1K100 uses the Altera passive parallel
asynchronous scheme with the IP bus serving as the download path.
Thus, download and configuration is implemented with no special
hardware or cables.

An example program written in C is available from Acromag

(ActiveX Control, or VxWorks software) implements configuration of

the IP1K100 over the IP bus.  The program requires your
configuration file to be in the Intel Hex format.

Using the Altera MAX+PLUS II software, you can generate the

required hex file as follows.

1) 

In the MAX+PLUS II Compiler, choose the Convert SRAM
Object Files command.

2) 

In the Convert SRAM Object Files dialog box, select your
SOF file and then select .hex in the File Format box.  Click
OK.

The steps implemented by the example C program are listed

next.

1. 

Start in configuration mode.  Upon system power-up the
IP1K100 is in configuration mode.  If the Altera FPGA is
currently configured and operational, configuration mode
can be entered by driving pin 168 of the Altera FPGA to a
logic high via the control register bit-0.  Pin 168 is the
Config_Enable signal which upon system power-up is held
high by a pullup resistor.

2. 

You can verify that you are in configuration mode by
reading ID space at base a 0Bhex.  The byte read
will be 40hex when in configuration mode and 41hex when
in user mode.

3. 

Configuration is started by setting bit-0 of the control
register, at base a 01H, to a logic high.

4. 

This same register bit-0 must be read next.  When read as
a logic high software can proceed to the data transfer
phase.  A polling method should be used here since this bit
will not be read high until 5

µ

 seconds after the control bit is

set high.

5. 

The status of the Altera FPGA during configuration can be
monitored via the Status register at base a 01H.
Bit-1 monitors the Altera nStatus signal which must remain
high during configuration.  Bit-2 of the Status register
reflects the Altera FPGA CONF_DONE signal.  The
CONF_DONE signal must remain at a logic low until
configuration has completed.

6. 

Write program data, one byte at a time, to the
Configuration Data register at base a 03H.

7. 

Upon successful configuration, control of the IP bus will
automatically be switched to user mode and the Altera
FPGA will have control of the IP bus interface.  This is
accomplished by the newly configured Altera FPGA taking
control of the Config_Enable signal (pin 168) and pulling
this signal low.

Altera FPGA Logic Requirements

There are two main modes of operation on the IP1K100 module:

configuration mode and user mode.  The IP1K100 powers up in
configuration mode and remains in that mode until the Altera FPGA
is successfully configured.  Once the Altera FPGA is successfully
configured, control is automatically transferred to user mode and the
Altera FPGA has control of the IP bus interface.  In order to
implement this transition, the following requirements must be
respected by the Altera FPGA.

1. 

Pin 168 of the Altera FPGA is reserved as an
Config_Enable control.  When Pin 168 is driven low the
IP1K100 is in user mode and the Altera FPGA has control
of the IP bus interface.  When Pin 168 (Config_Enable) is
driven high the IP1K100 is in configuration mode.

Содержание IP1K100 Series

Страница 1: ...ard USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 2001 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500 681 B02H012 retired ...

Страница 2: ...PAIR ASSISTANCE 16 PRELIMINARY SERVICE PROCEDURE 16 6 0 SPECIFICATIONS 16 PHYSICAL 16 ENVIRONMENTAL 16 EIA RS485 RS422 TRANSCEIVERS 17 TTL TRANSCEIVERS 17 INDUSTRIAL I O PACK COMPLIANCE 17 APPENDIX 18 CABLE MODEL 5025 551 18 CABLE MODEL 5025 552 18 TRANSITION MODULE MODEL TRANS GP 18 DRAWINGS Page 4501 908 IP1K100 BLOCK DIAGRAM 19 4501 702 RS485 I O CONNECTIONS 20 4501 434 IP MECHANICAL ASSEMBLY 2...

Страница 3: ...as its own 8 bit ID information which is accessed via data transfers in the ID Read space 16 bit 8 bit I O Channel register Read Write is performed through D16 or D08 EO data transfer cycles in the IP module I O space High Speed Access times for all data transfer cycles are described in terms of wait states For the supplied IP module example wait states are utilized for all read and write operatio...

Страница 4: ...for future use in the event the product must be shipped This board is physically protected with packing material and electrically protected with an anti static bag during shipment However it is recommended that the board be visually inspected for evidence of mishandling prior to applying power The board utilizes static sensitive components and should only be handled at a static safe workstation CA...

Страница 5: ...y limited to less than 4000 feet To minimize transmission line problems all nodes connected to the cable must use minimum stub length connections The optimal configuration for the RS485 RS422 bus is a daisy chain connection from node 1 to node 2 to node 3 to node n The bus must form a single continuous path and the nodes in the middle of the bus must not be at the ends of long branches spokes or s...

Страница 6: ...nd configuration is implemented with no special hardware or cables An example program written in C is available from Acromag ActiveX Control or VxWorks software implements configuration of the IP1K100 over the IP bus The program requires your configuration file to be in the Intel Hex format Using the Altera MAX PLUS II software you can generate the required hex file as follows 1 In the MAX PLUS II...

Страница 7: ...rmation required for the module The IP1K100 ID space does not contain any variable e g unique calibration information ID space bytes are addressed using only the odd addresses in a 64 byte block on the Big Endian VMEbus Even addresses are used on the Little Endian PC ISA or PCI buses The IP1K100 ID space will read differently in configuration mode than it does in user mode In configuration mode th...

Страница 8: ...ormat Big Endian is the convention used in the Motorola 68000 and PowerPC microprocessor family and is the VMEbus convention In Big Endian the lower order byte is stored at odd byte addresses The Intel x86 family of microprocessors uses the opposite convention or Little Endian byte ordering Little Endian uses even byte addresses to store the low order byte As such use of the memory map for this mo...

Страница 9: ...f 8 channels Setting a bit high configures the data direction for the identified channels as output Setting the control bit low configures the corresponding channel s data direction for input The default power up state of these registers is logic low Thus all channels are configured as inputs on system reset or power up The unused upper nibble D15 to D12 of the register at base address 08H will al...

Страница 10: ...ata Bit 01 Data Bit 00 Ch07 Ch06 Ch05 Ch04 Ch03 Ch02 Ch01 Ch00 The unused upper 8 bits of this register are Not Used and will always read low 0 s for D16 accesses All bits are set to 0 following a reset which means that all interrupts are cleared Interrupt Polarity Registers Read Write Base 11H The Interrupt Polarity Register determines the level that will cause a channel interrupt to occur for ea...

Страница 11: ...h and Low registers This Length value is used by the hardware to set the number of clock cycles the Shift High and Shift Low values are shifted to the Clock Generator chip See the program procedure example which follows for information on determining the value to write to this register A write access to this register requires one wait state A software or hardware reset will clear the contents of t...

Страница 12: ...interrupts input channel bandwidth should be limited to reduce the possibility of missing channel interrupts For a given input channel this could happen if multiple changes occur before the channel s interrupt is serviced The response time of the input channels should also be considered when calculating this bandwidth The total response time is the sum of the input buffer response time plus the in...

Страница 13: ...own in Drawing 4501 908 as you review this material FIELD INPUT OUTPUT SIGNALS The field I O interface to the IP module is provided through connector P2 refer to Table 2 1 These pins are tied to the inputs and outputs of EIA RS485 RS422 line transceivers or TTL transceivers RS485 signals received are converted from the required EIA RS485 RS422 voltages signals to the TTL levels required by the FPG...

Страница 14: ...he address signals RAMa1 to RAMa16 data signals RAMd0 to RAMd15 and the read write control signals nWE_RAM nBLE_RAM nBHE_RAM and nOE_RAM as listed in Table 4 1 The RAM device is the Integrated Device Technology IDT71016 or the Cypress Cy7C1021 IP Bus Interface The IP1K100 interfaces to the carrier board per IP Module specification ANSI VITA 4 1995 The FPGA signals utilized are 16 data lines DATA0 ...

Страница 15: ... 76 GND GND 77 VCC_CKLK 2 5Volts 78 nBS0 Input IP Bus 79 IP CLK GCLK1 IP Module Clock 80 nBS1 Input IP Bus 81 GND_CKLK GND Pin Signal I O 82 GND GND 83 DIO12 Bi Dir 84 VCCIO 3 3Volts 85 DIO13 Bi Dir 86 DIO14 Bi Dir 87 DIO15 Bi Dir 88 DIO16 Bi Dir 89 DIO17 Bi Dir 90 DIO18 Bi Dir 91 VCCINT 2 5Volts 92 DIO19 Bi Dir 93 DIO20 Bi Dir 94 DIO21 Bi Dir 95 DIO22 Bi Dir 96 DIO23 Bi Dir 97 DIO24 Bi Dir 98 VCC...

Страница 16: ... REPAIR ASSISTANCE Surface Mounted Technology SMT boards are generally difficult to repair It is highly recommended that a non functioning board be returned to Acromag for repair The board can be easily damaged unless special SMT repair and service tools are used Further Acromag has automated test equipment that thoroughly checks the performance of each board When a board is first produced and whe...

Страница 17: ...rrent 250mA Maximum Input Hysteresis 70mV VCM 0V TTL TRANSCEIVERS Channel Configuration Up to 48 non isolated TTL signals Selected in blocks of 8 channels when ordered Integrated Circuit Device Pericom PI74FCT623T http www pericom com INDUSTRIAL I O PACK COMPLIANCE Specification This device meets or exceeds all written Industrial I O Pack specifications per ANSI VITA 4 1995 for 8MHz or 32MHz opera...

Страница 18: ... Pack modules Field signals are accessed via screw terminal strips The terminal strip markings on the termination panel 1 50 correspond to P2 pins 1 50 on the Industrial I O Pack IP Each Industrial I O Pack IP has its own unique P2 pin assignments Refer to the IP module manual for correct wiring connections to the termination panel Schematic and Physical Attributes See Drawing 4501 464 Field Wirin...

Страница 19: ...SERIES IP1K100 INDUSTRIAL I O PACK RECONFIGURABLE DIGITAL I O MODULE ___________________________________________________________________________________________ 19 ...

Страница 20: ...SERIES IP1K100 INDUSTRIAL I O PACK RECONFIGURABLE DIGITAL I O MODULE ___________________________________________________________________________________________ 20 ...

Страница 21: ...SERIES IP1K100 INDUSTRIAL I O PACK RECONFIGURABLE DIGITAL I O MODULE ___________________________________________________________________________________________ 21 ...

Страница 22: ...SERIES IP1K100 INDUSTRIAL I O PACK RECONFIGURABLE DIGITAL I O MODULE ___________________________________________________________________________________________ 22 ...

Страница 23: ...SERIES IP1K100 INDUSTRIAL I O PACK RECONFIGURABLE DIGITAL I O MODULE ___________________________________________________________________________________________ 23 ...

Страница 24: ...SERIES IP1K100 INDUSTRIAL I O PACK RECONFIGURABLE DIGITAL I O MODULE ___________________________________________________________________________________________ 24 4 5 0 1 4 6 4 A ...

Отзывы: