SG Micro SGM5200 Manual page 23

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

Advertisement

SGM5200
DETAILED DESCRIPTION (continued)
The auto-1 program register is programmed (once on
power-up or reset) to pre-select the channels for the auto-1
sequence. Auto-1 program register programming requires
two nCS frames for complete programming. In the first nCS
NOTE: The device continues its operation in 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 3. Program Register Settings for Auto-1 Mode
Reset
Bits
State
Frame 1
DI[15:12]
NA
DI[11:0]
NA
Do not care.
Frame 2
DI[15:0]
All '1'
Table 4. Mapping of Channels to SDI Bits for the SGM5200
(1)
Device
DI15
DI14
16 Chan
1/0
1/0
NOTE:
1. When operating in auto-1 mode, the device only scans the channels programmed to be selected.
SG Micro Corp
www.sg-micro.com
nCS
nCS
(Device enters auto-1 programming sequence)
Entry into Auto-1
Register Programming
Sequence
nCS
Auto-1 Register
Programming
Figure 10. Auto-1 Register Programming Flowchart
Logic State
1000
Device enters auto-1 program sequence. Device programming is done in the next frame.
A particular channel is programmed to be selected in the channel scanning sequence. The
1 (Individual Bit)
channel numbers are mapped one-to-one with respect to the SDI bits; for example, DI15 →
CH15, DI14 → CH14 ... DI0 → CH0.
A particular channel is programmed to be skipped in the channel scanning sequence. The
0 (Individual Bit)
channel numbers are mapped one-to-one with respect to the SDI bits; for example, DI15 →
CH15, DI14 → CH14 ... DI0 → CH0.
DI13
DI12
DI11
DI10
1/0
1/0
1/0
1/0
12-Bit, 1MSPS, 16 Channels,
Single-Ended, Serial Interface ADC
frame the device enters the auto-1 register programming
sequence and in the second frame it programs the auto-1
program register. Refer to Table 2, Table 3 and Table 4 for
complete details.
Device in any operation mode
Program auto-1 register?
Yes
SDI: DI[15:12] = 1000
SDI: DI[15:0] as per Table 3 and Table 4
End of auto-1 register programming
SDI Bits
DI9
DI8
DI7
1/0
1/0
1/0
No
Function
DI6
DI0
DI4
DI3
1/0
1/0
1/0
1/0
DI2
DI1
DI0
1/0
1/0
1/0
SEPTEMBER 2021
23

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