Acromag IP236 Series User Manual Download Page 10

SERIES IP236 INDUSTRIAL I/O PACK                           FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE 
___________________________________________________________________________________________

 

- 10 - 

CHANNEL REGISTERS 
 

Each channel has it own control/status, counters, and FIFO 

Buffer registers.  This allows each channel to function 
independently of all others in the module.  These registers 
include a control/status register, 8-bit Timer Prescaler, 16-bit 
Conversion Timer, and FIFO Port register.  Each of these 
registers are described in the following sections. 

 
Channel Control & Status Register (Read/Write) 
 

This 8-bit read/write register is used to: enable single or 

continuous conversions, control external trigger mode, enable 
interrupts, set the FIFO interrupt threshold, and identify a FIFO 
almost empty condition. 

 
The function of each of the control register bits are described 

in Table 3.4.  This register can be read or written with either 8-bit 
or 16-bit data transfers.  A power-up or software channel reset 
sets all control register bits to 0. 

 
Table 3.4: Channel Control/Status Register 

BIT 

FUNCTION 

Status 

Bit 

  0 =  FIFO is not almost empty 
  1 =  FIFO is almost empty.  This bit is set to a 

logic 1 when the channel’s FIFO contains 
less than or equal to the number of data 
samples set by the threshold bits (6 and 5). 

 

2, 1 

00 =  Conversions are disabled. 
01 =  Enable Single Conversion Mode.  A single 

conversion is initiated per software start 
convert or external trigger.  The internal 
channel timer has no function in this mode of 
operation. 

10 =  Enable Continuous Conversion Mode.  

Conversions are initiated by a software start 
convert or external trigger and continued by 
internal hardware triggers generated at the 
frequency set by the interval timer registers. 

11 =  External Trigger Input Mode.  Conversions 

are initiated only by external triggers in this 
mode of operation.  The software start 
convert and internal hardware generated 
triggers do not initiate conversions in this 
mode of operation.  

 

  0  = External Trigger Set as Input 
  1  = External Trigger Set as Output.  As an output 

Internal Timer triggers are driven on the 
External trigger pin of the field I/O connector.  
It is possible to synchronize the conversion of 
multiple IP236 modules.  A single master 
IP236 must be selected to output the external 
trigger signal while all other modules are 
selected to input the external trigger signal.  
The external trigger signals (pins 49 to 42 of 
the field I/O connector) of all modules must 
be wired together for all channels/modules to 
be synchronized. 

               The External Trigger input can be 

sensitive to external EMI noise which can 
cause erroneous external triggers.  If 
External Trigger Inputs are not required, the 
External Trigger should be configured as an 
output. 

 

 

 

BIT 

FUNCTION 

0 = Disable Interrupt 
1 = Enable Interrupt   

An interrupt request from the IP236 will be 
issued to the system if enabled via this bit and 
the FIFO has equal to or less than the 
threshold number of bytes selected via bits 6 
and 5.  The interrupt request will remain active 
until the interrupt condition is removed by 
writing new data to the FIFO buffer (thus 
moving the number of values above the set 
threshold) or by disabling interrupts via this bit.  

 

6, 5 

FIFO Interrupt Threshold 

00 = Disabled no Threshold Set 
01 = Threshold of 4 samples selected.  
10 = Threshold of 16 samples selected. 
11 = Threshold of 64 samples selected. 
When the data samples in the corresponding 
FIFO is equal to or falls below the selected 
threshold an interrupt request can be issued 
and the FIFO Almost Empty bit-0 of this 
register will be set.  Note: Interrupts must also 
be enabled on the carrier and via bit 4 of this 
register.  

 

Not Used 

 

Channel Timer Prescaler Register (Read/Write) 
 

The Channel Timer Prescaler register is an 8-bit register that 

can be written with an 8-bit or 16-bit data transfer to control the 
interval time between conversions.  

 

Timer Prescaler Register

 

MSB                                  Data Bus                                     LSB 

15 

14 

13 

12 

11 

10 

09 

08 

MSB                          Timer Prescaler Value                        LSB 

07 

06 

05 

04 

03 

02 

01 

00 

 
This 8-bit number divides the 8 MHz clock signal.  The clock 

signal is further divided by the number held in the Conversion 
Timer Register.  The resulting frequency can be used to generate 
periodic triggers for precisely timed intervals between 
conversions. 

 

The Timer Prescaler has a minimum allowed value 

restriction of 35 hex or 53 decimal.

  A Timer Prescaler value of 

less then 53 (decimal) will result in unpredictable operation.  This 
minimum value corresponds to a conversion interval of 6.625

µ

 

seconds which translates to the maximum conversion rate of 
about 150KHz.  Although the board will operate at the 150KHz 
conversion rate, conversion accuracy will be sacrificed.  To 
achieve specified conversion accuracy a maximum conversion 
rate of 100KHz is recommended (see the specification chapter 
for details regarding accuracy). 

 
The formula used to calculate and determine the desired 

Timer Prescaler value is given in the Conversion Timer section 
which immediately follows. 

 
Reading or writing to this register is possible via 16-bit or 8-bit 

data transfers.  The Timer Prescaler register contents are cleared 
upon reset. 

 

Summary of Contents for IP236 Series

Page 1: ...Module USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 295 0310 Fax 248 624 9234 Copyright 1999 Acromag Inc Printed in the USA Data and specific...

Page 2: ...IP INTERFACE LOGIC 14 CONVERSION CONTROL LOGIC 15 DATA TRANSFER FROM FPGA TO DACs 15 INTERVAL TIMER 15 EXTERNAL TRIGGER 15 INTERRUPT CONTROL LOGIC 15 CALIBRATION MEMORY CONTROL LOGIC 15 5 0 SERVICE A...

Page 3: ...Ranges When the module s jumpers are set for bipolar operation the analog outputs are reset to 0 volts upon power up or receipt of a software or hardware reset This eliminates the problem of applying...

Page 4: ...ODULE VxWORKS SOFTWARE Acromag provides a software product sold separately consisting of IP module VxWorks drivers This software Model IPSW API VXW MSDOS format is composed of VxWorks real time operat...

Page 5: ...on of output voltage span The configuration of the jumpers for the different ranges is shown in Table 2 2 ON means that the pins are shorted together with a shorting clip OFF means that the clip has b...

Page 6: ...nd grounding connections External Trigger Input Output Signals The external trigger signals on pins 42 to 49 of the P2 connector can be programmed to accept a TTL compatible external trigger input sig...

Page 7: ...D Space Identification Format I Hex Offset From ID Base Address ASCII Character Equivalent Numeric Value Hex Field Description 01 I 49 All IP s have IPAC 03 P 50 05 A 41 07 C 43 09 A3 Acromag ID Code...

Page 8: ...tiated 6 625 seconds after setting its corresponding Start Convert Bit Start Convert FIFO Full Status Register MSB LSB 07 06 05 04 03 02 01 00 Ch7 Ch6 Ch5 Ch4 Ch3 Ch2 Ch1 Ch0 When read this register i...

Page 9: ...ibration Coefficient Status register is a read only register and is used to access the calibration coefficient read data and determine the status of a read cycle initiated by the Calibration Coefficie...

Page 10: ...e wired together for all channels modules to be synchronized The External Trigger input can be sensitive to external EMI noise which can cause erroneous external triggers If External Trigger Inputs ar...

Page 11: ...ardware reset It is recommended that interrupts be enabled for a FIFO almost empty condition 64 16 or 4 samples or less left in the FIFO Upon this interrupt no more then 128 samples minus the threshol...

Page 12: ...board documentation for compatibility details 1 Clear the global interrupt enable bit in the carrier board status register by writing a 0 to bit 3 2 Write the interrupt vector to the IP236 Module at...

Page 13: ...o the DAC channel to accurately generate the desired output voltage See the specification chapter for details regarding maximum calibrated error Data is corrected using a couple of formulas Equation 1...

Page 14: ...value is rounded to 8 197 and is equivalent to DFFB hex as a 2 s complement value 6 Execute Write of DFFB hex to the Channel 0 s FIFO Buffer port at Base Address 0CH 7 Execute Write of 0001H to the S...

Page 15: ...rnal trigger input is enabled via bit 3 of the channel s control register the falling edge of the external trigger will initiate conversions for the corresponding channel For External Trigger Input mo...

Page 16: ...econds Power IP236 Requirements 8 8E 4 4E 5V Typical 92mA 50mA 5 Max 120mA 65mA 12V Typical 130mA 65mA 5 Max 170mA 85mA 12V Typical 160mA 82mA 5 Max 210mA 115mA ENVIRONMENTAL Operating Temperature Sta...

Page 17: ...Bipolar Offset Error is 0 2 FSR i e 20V SPAN max Gain Error is 0 25 maximum Settling Time 10uS to within 0 003 of FSR for a 20V step change load of 5K in parallel with 500pF Conversion Rate per channe...

Page 18: ...ndustrial 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 Att...

Page 19: ...TIGHTEN 4 PLACES THE RECOMMENDED TORQUE IS 0 226 NEWTON METER OR 2 INCH POUNDS OVER TIGHTENING MAY DAMAGE CIRCUIT BOARD 2 INSERT FLAT HEAD SCREWS ITEM A THROUGH SOLDER SIDE OF IP MODULE AND INTO HEX S...

Page 20: ...SERIES IP236 INDUSTRIAL I O PACK FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE ___________________________________________________________________________________________ 20...

Page 21: ...SERIES IP236 INDUSTRIAL I O PACK FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE ___________________________________________________________________________________________ 21...

Page 22: ...SERIES IP236 INDUSTRIAL I O PACK FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE ___________________________________________________________________________________________ 22...

Page 23: ...SERIES IP236 INDUSTRIAL I O PACK FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE ___________________________________________________________________________________________ 23...

Page 24: ...SERIES IP236 INDUSTRIAL I O PACK FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE ___________________________________________________________________________________________ 24...

Page 25: ...SERIES IP236 INDUSTRIAL I O PACK FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE ___________________________________________________________________________________________ 25...

Page 26: ...SERIES IP236 INDUSTRIAL I O PACK FIFO BUFFERED 16 BIT ANALOG OUTPUT MODULE ___________________________________________________________________________________________ 26...

Reviews: