The reader should consult Sensoray if errors are suspected. In no event shall Sensoray be liable for any damages arising out of or related to this document or the information contained in it.
Requires one power supply (+5V). Model 526 is controlled through a set of 27 registers mapped into I/O space. The base address of the board is selected with jumpers from a range of 0x0000 to 0xFFC0. The board is shipped with the base address set to 0x2C0.
Programmable Counters Model 526 contains 4 identical 24-bit up/down counters with enable and preload. The block diagram of one of the counters is shown on Fig.2. DATA BUS COUNTER CORE PRELOAD BUFFER 0 DATA BUS LATCH PRELOAD BUFFER 1 RTGL "1"...
• quadrature x2 (both edges of CLKA); • quadrature x4 (both edges of both CLKA and CLKB); In normal mode the clock sources are: • CLKA↑; • CLKA↓; • Internal clock (27 MHz); • Internal clock divided by 2 (13.5 MHz). Count direction (up or down) is set through the software (normal mode) or determined from CLKA-CLKB phase relationship (quadrature mode).
determined by the state of the RTGL signal: PR0 when RTGL is low, PR1 when RTGL is high. The autoload occurs under a programmable combination of the following conditions: • INDEX↑ - rising edge of INDEX signal; • INDEX↓ - falling edge of INDEX signal; •...
To change the duty cycle steps 1-2 have to be repeated with the new preload register values. Interrupt Timer The interrupt timer provides a way of generating interrupts at precise time intervals in the range between approximately 100 µs and 25.5 ms. The timer is an 8-bit down counter with a preload counting a 99.852 µs clock.
Watchdog enable/disable Watchdog enable/disable is controlled by bit [3] of the Watchdog Timer Control register and jumper 1 of J4. Shunt in position 1 of J4 Bit [3] of Control Register Watchdog timer Not installed Disabled Not installed Enabled Installed Enabled Installed Disabled...
D/A Converter Model 526 implements a 4-channel 16-bit D/A converter. Each channel has an individual preload buffer. Preload buffers are accessed through a single write register (DAC/ADC Data register) and selected with 2 bits of the DAC Control register. Upload to the DAC is performed for all 4 channels from their corresponding preload buffers with a single software command and takes approximately 8 µs to complete.
Page 14
− ⋅ meas − meas where - the actual value of the on-board 10V reference (from the EEPROM); - ADC reading corresponding to the measured voltage; meas - ADC reading corresponding to the on-board +10V reference; - ADC reading corresponding to the on-board 0V reference.
Digital I/O Digital I/O on model 526 consists of 8 signals, which can be configured as inputs or outputs in groups of 4: DIO group 1 (DIO0-3) and DIO group 2 (DIO4-7). Interrupts can be generated on rising or falling edges of DIO signals. Interrupt condition (rising or falling edge) can be selected individually for every signal in group 1, and for group 2 as a whole.
Calibration EEPROM An on-board EEPROM is provided for calibration data storage. Data from the EEPROM is read by using a set of 2 registers: EEPROM Command/Status register and EEPROM data register. The EEPROM is organized as 64 2-byte words, with addresses from 0x00 to 0x3F. The address map of the EEPROM is as following: Address Contents...
Configuration Jumpers A set of configuration jumpers (J1) allows selection of board’s base address and interrupt line (See Fig.1). Jumpers marked ADDR15-6 select the higher 10 bits of the board’s base address in I/O space. Inserted jumper sets the corresponding bit to 0. The board ships with base address set to 0x2C0. Jumpers marked IRQ3-0 select the interrupt line used by the board.
Digital connector (J5) Signal Signal Clock A 0 - Clock A 0 + Clock B 0 - Clock B 0 + Index 0 - Index 0 + Count Enable 0 Counter Output 0 Encoder 0 power (+5V) Ground Clock A 1 - Clock A 1 + Clock B 1 - Clock B 1 +...
Registers Register Map Register addresses are relative to the base address selected with address jumpers (ADDR 15 – 6). All register accesses are 2-byte. Single byte and odd address accesses are not supported. Address Write Read 0x00 Timer control register 0x02 Watchdog timer control register 0x04...
Timer Control Register 0x00 Bits Type Default Description [15:8] 0x00 Timer preload data in 100 us ticks. [7:2] XXXXXX Reserved Timer mode: 0 – manual restart; 1 – auto restart. Manual restart. Writing a 1 restarts the timer if [1] is 0. Bit [0] of the Interrupt Status register is set to 1 when timer expires.
DAC Control Register 0x04 Bits Type Default Description [15:4] Reserved. DAC reset. Writing a 1 to this bit resets all DAC channels. Writing a 0 has no effect. [2:1] DAC data buffer select. Write accesses to DAC Data Register are routed to the corresponding data buffer: 00 - channel 0;...
Digital I/O Control Register 0x0A Bits Type Default Description [15] DIO(3) interrupt condition: 0 – interrupt on a rising edge; 1 – interrupt on a falling edge. [14] DIO(2) interrupt condition: 0 – interrupt on a rising edge; 1 – interrupt on a falling edge. [13] DIO(1) interrupt condition: 0 –...
Miscellaneous Register 0x10 Bits Type Default Description [15:1] Reserved. LED control. A 0 turns the LED on, a 1 turns it off. Counter Preload/Data Register low word 0x12 – counter 0, 0x1A – counter 1, 0x22 – counter 2, 0x2A – counter 3. Bits Type Default...
Notes. 1. In “Latch on read” mode data from the counter is latched on the read access to the Counter data low word register. Thus the low word has to be always read first in this mode. 2. In “Latch on event” mode data from the counter is latched by the event(s) selected with bits [12:10] of Counter Control/Status register.
EEPROM Data Register 0x32 Bits Type Default Description [15:0] 0x0000 EEPROM data. Read accesses return the last value read from EEPROM. EEPROM Command/Status Register 0x34 Bits Type Default Description [8:3] 000000 EEPROM address. [2:1] Must be set to 10 for read access. EEPROM access start bit.
Specifications Parameter Value Units Notes D/A Converter Number of channels Resolution bits µs Upload time, max µs Settling time, max ±10 Output range, min ±2 Max output current Each channel A/D Converter Number of channels Resolution bits ±10 Input range, min µs Conversion time, no channel switching, max µs...
Need help?
Do you have a question about the 526 and is the answer not in the manual?
Questions and answers