SGM5200
DETAILED DESCRIPTION (continued)
The auto-2 program register is programmed (once on
power-up or reset) to pre-select the last channel (or
sequence depth) in the auto-2 sequence. Unlike auto-1
program register programming, auto-2 program register
programming requires only 1 nCS frame for complete
programming. See Figure 13 and Table 6 for complete
details.
NOTE: The device continues its operation in the selected mode during programming. SDO is valid, however it is not possible to
change the range or write GPIO data into the device during programming.
Table 6. Program Register Settings for Auto-2 Mode
Bits
Reset State
DI[15:12]
NA
DI[11:10]
NA
DI[9:6]
NA
DI[5:0]
NA
Table 7. Continued Operation in a Selected Mode
Bits
Reset State
DI[15:12]
0001
DI[11:0]
All '0'
SG Micro Corp
www.sg-micro.com
nCS
nCS
DI[9:6] = Binary address of last channel in the sequence
Auto-2 Register
Programming
End of auto-2 register programming
Figure 13. Auto-2 Register Programming Flowchart
Logic State
1001
Auto-2 program register is selected for programming.
Do not care.
This 4-bit data represents the address of the last channel in the scanning sequence.
During device operation in auto-2 mode, the channel counter starts at CH0 and
aaaa
increments every frame until it equals "aaaa". The channel counter roles over to CH0
in the next frame.
Do not care.
Logic State
The device continues to operate in the selected mode. In auto-1 and auto-2 modes
the channel counter increments normally, whereas in the Manual mode it continues
0000
with the last selected channel. The device ignores data on DI[11:0] and continues
operating as per the previous settings. This feature is provided so that SDI can be
held low when no changes are required in the mode control register settings.
Device ignores these bits when DI[15:12] is set to 0000 logic state.
12-Bit, 1MSPS, 16 Channels,
Single-Ended, Serial Interface ADC
Continued Operation in a Selected Mode
Once a device is programmed to operate in one of the
modes, the user may want to continue operating in the
same mode. Mode control register settings to continue
operating in a selected mode are detailed in Table 7.
Device in any operation mode
Program auto-2 register?
Yes
SDI: DI[15:12] = 1001
Refer Table 6
No
Function
Function
SEPTEMBER 2021
26
Need help?
Do you have a question about the SGM5200 and is the answer not in the manual?