Operating In Manual Mode - SG Micro SGM5200 Manual

12-bit, 1msps, 16 channels, single-ended, serial interface adc
Table of Contents

Advertisement

SGM5200
DETAILED DESCRIPTION (continued)
Figure 6 illustrates the steps involved in operating in manual channel sequencing mode. Table 1 lists the mode control register
settings for manual mode. There are no program registers in manual mode.
nCS
Frame: n
Request for
Manual Mode
nCS
Frame: n+1
Entry into
Manual Mode
nCS
Frame: n+2
Operation in
Manual 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 sequence. 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] = 0001 (binary). Selects manual mode.
DI11 = 1 enables programming of 'range and GPIO'.
DI[10:7] = Binary address of the next channel.
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 programmed in 'frame n' (manual mode). 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] = 0001 (binary).To continue in manual mode.
DI11 = 1 enables programming of 'range and GPIO'.
DI[10:7] = Binary address of the next channel.
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 selected in 'frame (n+1)'.
*MUX: Selects channel programmed in 'frame (n+1)' (manual mode). 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] = 0001 (binary). Selects manual mode.
DI11 = 1 enables programming of 'range and GPIO'.
DI[10:7] = Binary address of the next channel.
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 6. Entering and Running in Manual Channel Sequencing Mode
12-Bit, 1MSPS, 16 Channels,
Single-Ended, Serial Interface ADC
Device operation in auto-1 or auto-2 mode
Change to manual mode?
Yes
Continue operation in manual mode

Operating in Manual Mode

No
SEPTEMBER 2021
19

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SGM5200 and is the answer not in the manual?

Table of Contents