62 CMA24BT cpuModule
BDM-610000087 Rev A
Advanced Digital I/O Ports (aDIO™)
This board supports 12 bits of TTL/CMOS compatible digital I/O (TTL signaling). These I/O lines are
grouped into two ports, Port 0 and Port 1. Port 0 is bit programmable; Port 1 is byte programmable. Port 0
supports RTD’s Advanced Digital Interrupt modes. The three modes are strobe, match and event. Strobe
mode generates an interrupt and latches Port 0 when the strobe input transitions from low to high. Match
mode generates an interrupt when an 8-bit pattern is received in parallel that matches the match mask
register. Event mode generates an interrupt when a change occurs on any bit. In any mode, masking can be
used to monitor selected lines.
When the CPU boots, all digital I/O lines are programmed as inputs, meaning that the digital I/O line’s
initial state is undetermined. If the digital I/O lines must power up to a known state, an external 10 k-Ohm
resistor must be added to pull the line high or low.
The 8-bit control read/write registers for the digital I/O lines are located from I/O address EC0h to EC3h.
These registers are written to zero upon power up. From EC0h to EC3h, the name of these registers are
Port
0 data
,
Port 1 data
,
Multi-Function
, and
DIO-Control
register.
Digital I/O Register Set
Port 0 Data register is a read/write bit direction programmable register. A particular bit can be set to input
or output. A read of an input bit returns the value of port 0. A read of an output bit returns the last value
written to Port 0. A write to an output bit sends that value to port 0.
Port 1 Data register is a read/write byte direction programmable register. A read on this register when it is
programmed to input will read the value at the aDIO connector. A write on this register when it is
programmed as output will write the value to the aDIO connector. A read on this register when it is set to
output will read the last value sent to the aDIO connector.
The multi-function register is a read/write register whose contents are set by the DIO-Control register. See
the DIO-Control register description for a description of this register.
Note
While the 16-pin aDIO connector is pin-for-pin compatible with previous generations
of RTD cpuModules (such as the Montevina series), the hardware is slightly different, and
requires that writes ands reads to/from the aDIO ports happen no more than once per
millisecond. Migrating legacy software to the E3800 Series that utilizes RTD’s Advanced
Digital I/O may require that you add this delay prior to all reads and writes.
Note
RTD provides drivers that support the aDIO interface on popular operating systems.
RTD recommends using these drivers instead of accessing the registers directly.
Table 33 Port 0 Data I/O Address EC0h
D7
D6
D5
D4
D3
D2
D1
D0
P0.7
P0.6
P0.5
P0.4
P0.3
P0.2
P0.1
P0.0
Table 34 Port 1 Data I/O Address EC1h
D7
D6
D5
D4
D3
D2
D1
D0
Reserved
Reserved
Reserved
Reserved
P1.3
P1.2
P1.1
P1.0
Table 35 Multi-Function I/O Address EC2h
D7
D6
D5
D4
D3
D2
D1
D0
Summary of Contents for cpuModules CMA24BT
Page 3: ...Accessing the Analog World www rtd com ISO9001 and AS9100 CMA24BT cpuModules...
Page 5: ...BDM 610000087 Rev A v...
Page 6: ...vi CMA24BT cpuModule BDM 610000087 Rev A...
Page 66: ...56 CMA24BT cpuModule BDM 610000087 Rev A...
Page 87: ...BDM 610000087 Rev A Chapter 4 Using the cpuModule 77...
Page 88: ...78 CMA24BT cpuModule BDM 610000087 Rev A...
Page 94: ...84 CMA24BT cpuModule BDM 610000087 Rev A Figure 11 CMA24BTQ1910 Heatsink Edge near PCIe 104...
Page 96: ...86 CMA24BT cpuModule BDM 610000087 Rev A...
Page 111: ...BDM 610000087 Rev A Appendix C IDAN Dimensions and Pinout 101...
Page 112: ...102 CMA24BT cpuModule BDM 610000087 Rev A...