SGM5200
DETAILED DESCRIPTION (continued)
Figure 11 illustrates the steps involved in entering and operating in auto-2 channel sequencing mode. Table 5 lists the mode
control register settings for auto-2 mode.
nCS
Frame: n
Request for
Auto-2 Mode
nCS
Frame: n+1
Entry into
Auto-2 Mode
nCS
Frame: n+2
Operation in
Auto-2 Mode
SG Micro Corp
www.sg-micro.com
nCS
Frame: n-1
*Sample: Samples and converts channel selected in 'frame (n -1)'.
*MUX: Selects channel incremented from previous frame as per auto-1 sequence, or channel
programmed in previous frame in case of manual mode. This channel will be acquired in this frame
and sampled at start of 'frame (n+1)'.
*Range: As programmed in 'frame (n-1)'. Applies to channel selected for acquisition in current frame.
*SDI: Programming for 'frame (n+1)'.
DI[15:12] = 0010 (binary). Selects auto-2 mode.
DI11 =1 enables programming of 'range and GPIO'.
DI10 = x. Device automatically resets channel 0.
DI6 as per required range for channel to be selected.
DI5 = 0. No power-down.
DI[4:0] as per GPIO settings.
*SDO: DO[15:0] address (or GPIO data) & conversion data of channel selected in 'frame (n-1)'.
*GPIO:
O/P: Latched on nCS falling edge as per DI[3:0] written in 'frame n-1'.
I/P: Input status latched on falling edge of nCS and transferred serially on SDO in the same frame.
*Sample: Samples and converts channel selected in 'frame n'.
*MUX: Selects channel 0 (auto-2 sequence always starts with CH0). This channel will be acquired
in this frame and sampled at start of 'frame (n+2)'.
*Range: As programmed in 'frame n'. Applies to channel selected for acquisition in current frame.
*SDI: Programming for 'frame (n+2)'.
DI[15:12] = 0011 (binary). To continue in auto-2 mode.
DI11 = 1 enables programming of 'range and GPIO'.
DI10 = 0. Not to reset channel sequence.
DI6 as per required range for channel to be selected.
DI5 = 0. No power-down.
DI[4:0] as per GPIO settings.
*SDO: DO[15:0] address (or GPIO data) & conversion data of channel selected in 'frame n'.
*GPIO:
O/P: Latched on nCS falling edge as per DI[3:0] written in 'frame n'.
I/P: Input status latched on falling edge of nCS and transferred serially on SDO in the same frame.
*Sample: Samples and converts channel 0.
*MUX: Selects the next higher channel in auto-2 sequence. This channel will be acquired in this frame
and sampled at start of 'frame (n+3)'.
*Range: As programmed in 'frame (n+1)'. Applies to channel selected for acquisition in current frame.
*SDI: Programming for 'frame (n+3)'.
DI[15:12] = 0011 (binary). To continue in auto-2 mode.
DI11 = 1 enables programming of 'range and GPIO'.
DI10 = 0. Not to reset channel sequence.
DI6 as per required range for channel to be selected.
DI5 = 0. No power-down.
DI[4:0] as per GPIO settings.
*SDO: DO[15:0] address (or GPIO data) & conversion data of channel selected in 'frame (n+1)'.
*GPIO:
O/P: Latched on nCS falling edge as per DI[3:0] written in 'frame (n+1)'.
I/P: Input status latched on falling edge of nCS and transferred serially on SDO in the same frame.
nCS
Figure 11. Entering and Running in Auto-2 Channel Sequencing Mode
12-Bit, 1MSPS, 16 Channels,
Single-Ended, Serial Interface ADC
Device operation in manual or auto-1 mode
Change to auto-2 mode?
Yes
Continue operation in auto-2 mode
Operating in Auto-2 Mode
No
SEPTEMBER 2021
24
Need help?
Do you have a question about the SGM5200 and is the answer not in the manual?