REN SLG46620r119 03062023 DST 20230305
REN SLG46620r119 03062023 DST 20230305
REN SLG46620r119 03062023 DST 20230305
GreenPAK
Programmable Mixed-signal Matrix
Features
• Logic & Mixed Signal Circuits
6.4 mm 2 mm
• Highly Versatile Macrocells
• Read Back Protection (Read Lock) 1 20
• 1.8V (±5%) to 5V (±10%) Supply 1 17
2 19
• Operating Temperature Range: -40°C to 85°C 2 20 19 18 16
3 18
• RoHS Compliant / Halogen-Free 3 15
4 17
• 20-pin STQFN: 2 x 3 x 0.55 mm, 0.4 mm pitch
3 mm
4 14
6.5 mm
• 20-pin TSSOP: 6.5 x 6.4 x 1.2 mm, 0.65 mm pitch 5 16
5 13
6 15
Applications 6 8 9 10 12
7 14
8 13 7 11
• Personal Computers and Servers
9 12
• PC Peripherals
• Consumer Electronics 10 11
Counters/Delay Generators
Programmable
ACMP0 Delay0
CNT0 CNT1 CNT2 CNT3 CNT4
Pin 2 Pin 16
GPI GPIO
CNT5 CNT6 CNT7 CNT8 CNT9 Programmable
Delay1
ACMP1
DFF/Latches
Pin 3 Pin 15
GPIO GPIO
DFF0 DFF1 DFF2 DFF3 DFF4 DFF5 Pipe Vref
Delay0
ACMP2
DFF6 DFF7 DFF8 DFF9 DFF10 DFF11
Pin 4 Pipe Pin 14
GPIO Delay1 POR GPIO
Look Up Tables (LUTs)
ACMP3 2-bit 2-bit 2-bit 2-bit 2-bit
LUT2_0 LUT2_1 LUT2_2 LUT2_3 LUT2_4
Additional
Pin 5 Logic Functions Pin 13
GPIO 2-bit 2-bit 2-bit 3-bit 3-bit GPIO
LUT2_5 LUT2_6 LUT2_7 LUT3_0 LUT3_1 INV_0 INV_1
8-bit SAR
Pin 8 PGA ADC Pin 9 DAC0 DAC1 Pin 10
GPIO GPIO GPIO
When a design is ready for in-circuit testing, the same GreenPAK development tools can be used to program the NVM and create
samples for small quantity builds. Once the NVM is programmed, the device will retain this configuration for the duration of its
lifetime.
Once the design is finalized, the design file can be forwarded to Renesas Electronics Corporation to integrate into the production
process.
3URGXFW
'HILQLWLRQ
&XVWRPHUFUHDWHVWKHLURZQGHVLJQLQ (PDLO3URGXFW,GHD'HILQLWLRQ'UDZLQJ
*UHHQ3$. 'HVLJQHU RU6FKHPDWLFWRJUHHQSDN#UHQHVDVFRP
5HQHVDV(OHFWURQLFV$SSOLFDWLRQV
3URJUDP(QJLQHHULQJ6DPSOHVZLWK (QJLQHHUVUHYLHZGHVLJQVSHFLILFDWLRQV
*UHHQ3$. 3URJUDPPHU ZLWKFXVWRPHU
&XVWRPHUYHULILHV*UHHQ3$.LQV\VWHP 6DPSOHV'HVLJQDQG&KDUDFWHUL]DWLRQ
GHVLJQ 5HSRUWDUHVHQWWRFXVWRPHU
*UHHQ3$. 'HVLJQ
DSSURYHGLQV\VWHPWHVW
&XVWRP*UHHQ3$. SDUWHQWHUVSURGXFWLRQ
Note 1: Use SLG46620V or SLG46620G to order. Shipments are automatically in Tape and Reel.
Note 2: “TR” suffix is no longer used. It is a legacy naming convention shown here only for informational purposes.
Note*: IN+ relative to GND in Single-ended mode, IN+ and IN- relative to each other in Differential and Pseudo-differential modes.
Table 4. 25 kHz RC OSC frequency error (error calculated relative to nominal value)
Temperature Range
Power Supply Range +25 °C 0 °C ... +85 °C -40 °C ... +85 °C
(VDD) V
Error (% at Error (% at Error (% at Error (% at Error (% at Error (% at
Minimum) Maximum) Minimum) Maximum) Minimum) Maximum)
1.8 V ±5% -3.27% 3.34% -5.99% 6.18% -12.55% 14.01%
3.3 V ±10% -0.68% 0.74% -3.55% 3.90% -6.26% 5.33%
5 V ±10% -1.48% 2.13% -3.90% 4.26% -6.71% 5.29%
2.5 V - 4.5 V -1.74% 1.78% -3.94% 4.13% -6.88% 6.18%
1.71 V….5.5 V -9.82% 8.90% -12.13% 11.64% -17.71% 18.02%
Table 6. 2 MHz RC OSC frequency error (error calculated relative to nominal value)
Temperature Range
Power Supply Range +25 °C 0 °C ... +85 °C -40 °C ... +85 °C
(VDD) V
Error (% at Error (% at Error (% at Error (% at Error (% at Error (% at
Minimum) Maximum) Minimum) Maximum) Minimum) Maximum)
1.8 V ±5% -2.40% 1.70% -5.15% 2.95% -5.15% 5.71%
3.3 V ±10% -1.84% 1.69% -6.09% 3.01% -6.09% 5.31%
5 V ±10% -1.68% 6.05% -6.39% 6.58% -6.39% 7.87%
2.5 V - 4.5 V -4.98% 4.05% -8.76% 4.84% -8.76% 6.07%
1.71 V….5.5 V -12.37% 5.89% -12.80% 6.81% -13.22% 7.72%
Table 8. 27 MHz Ring OSC frequency error (error calculated relative to nominal value)
Temperature Range
Power Supply Range +25 °C 0 °C ... +85 °C -40 °C ... +85 °C
(VDD) V
Error (% at Error (% at Error (% at Error (% at Error (% at Error (% at
Minimum) Maximum) Minimum) Maximum) Minimum) Maximum)
1.8 V ±5% -8.32% 7.85% -12.44% 8.02% -12.44% 8.02%
3.3 V ±10% -5.43% 7.82% -6.22% 7.82% -9.04% 7.82%
5 V ±10% -5.37% 7.81% -6.44% 7.81% -8.76% 7.81%
2.5 V - 4.5 V -5.44% 7.82% -6.30% 7.82% -9.04% 7.82%
1.71 V….5.5 V -8.26% 7.82% -12.44% 7.88% -12.44% 7.88%
Table 10. 1.73 kHz LF OSC frequency error (error calculated relative to nominal value)
Temperature Range
Power Supply Range +25 °C 0 °C ... +85 °C -40 °C ... +85 °C
(VDD) V
Error (% at Error (% at Error (% at Error (% at Error (% at Error (% at
Minimum) Maximum) Minimum) Maximum) Minimum) Maximum)
1.8 V ±5% -16.00% 14.53% -17.26% 15.80% -20.93% 17.15%
3.3 V ±10% -15.32% 14.89% -16.53% 16.05% -20.03% 17.18%
5 V ±10% -13.84% 22.19% -14.96% 23.11% -18.42% 23.68%
2.5 V - 4.5 V -15.57% 15.79% -16.76% 16.89% -20.27% 17.95%
1.71 V….5.5 V -16.00% 22.19% -17.26% 23.11% -20.93% 23.68%
Table 11. Oscillators Power On delay at room temperature; RC OSC power setting: "Auto Power On", RC osc clock to
matrix input: “Enable”
Power LF OSC RC OSC 2 MHz RC OSC 25 kHz RING OSC
Supply
Range Typical Maximum Typical Maximum Typical Maximum Typical Maximum
(VDD) V Value, µs Value, µs Value, ns Value, ns Value, µs Value, µs Value, ns Value, ns
1.71 562.8 639.2 929.8 1100.2 41.29 43.48 179.4 238.9
1.80 561.9 638.0 898.2 1054.6 41.21 42.75 161.8 188.9
1.89 561.1 637.2 873.1 1021.5 41.09 42.33 154.0 243.5
2.50 557.1 631.1 761.4 871.5 40.58 41.32 111.5 123.3
2.70 556.0 630.8 737.7 833.7 40.50 41.18 105.0 116.0
3.00 554.6 628.4 710.1 793.9 40.39 40.94 90.0 98.6
3.30 553.0 625.7 688.7 768.5 40.33 40.92 85.0 92.6
3.60 551.4 624.1 671.9 752.6 40.30 40.87 81.3 88.4
4.20 546.6 617.4 645.9 727.3 40.25 40.90 75.9 82.3
4.50 542.5 611.8 634.8 716.3 40.20 40.86 73.9 80.2
5.00 529.2 593.7 615.4 694.8 40.12 41.07 71.2 76.9
5.50 505.4 562.8 590.5 667.4 39.90 41.43 69.1 74.3
Note: PGA input voltage should not exceed values given in Section 5.1 Absolute Maximum Conditions.
Table 13. Single-Ended ADC Operation, T = (-40 to +85)°C, VDD = (1.71 to 5.5)V, unless otherwise specified
Symbol Parameter Description/Note Conditions Min. Max. Unit
G = 0.25 VDD = 5V ±10% 120 4120 mV
G = 0.5 VDD = 2.5 to 5.5 V 60 2060 mV
Input Voltage Range G=1 30 1030 mV
Vinp (bit 0 to bit 255),
relative to GND G=2 20 520 mV
G=4 15 265 mV
G=8 12 137 mV
G = 0.25 T = 25°C, VDD = 5V ±10% -- ±1.7 LSB
G = 0.5 T = 25°C, VDD = 2.5 to 5.5 V -- ±2.6 LSB
G=1 -- ±3 LSB
ZE Offset Zero Error
G=2 -- ±2.6 LSB
T = 25°C
G=4 -- ±3.3 LSB
G=8 -- ±4.6 LSB
G = 0.25 VDD = 5V ±10% -- ±0.008 %/°C
G = 0.5 VDD = 2.5 to 5.5 V -- ±0.009 %/°C
Offset Zero Error G=1 -- ±0.01 %/°C
dZE/dT
Temperature Drift G=2 -- ±0.014 %/°C
G=4 -- ±0.025 %/°C
G=8 -- ±0.048 %/°C
G = 0.25 T = 25°C, VDD = 5V ±10% -- ±1.5 LSB
G = 0.5 T = 25°C, VDD = 2.5 to 5.5 V -- ±1.3 LSB
G=1 -- ±1.5 LSB
GE Gain Error
G=2 -- ±1.7 LSB
T = 25°C
G=4 -- ±1.3 LSB
G=8 -- ±1.2 LSB
G = 0.25 VDD = 5V ±10% -- ±0.007 %/°C
G = 0.5 VDD = 2.5 to 5.5 V -- ±0.008 %/°C
Gain Error G=1 -- ±0.007 %/°C
dGE/dT Temperature
Coefficient G=2 -- ±0.009 %/°C
G=4 -- ±0.008 %/°C
G=8 -- ±0.008 %/°C
Note 2: To ensure linear operation, absolute input voltage on each pin should not exceed VDD-0.5.
Note 3: To ensure linear operation, absolute input voltage on each pin should not exceed VDD-0.5.
Note: PGA input voltage should not exceed values given in Section 5.1 Absolute Maximum Conditions.
Table 16. Single-Ended PGA Operation, ADC - Power On/Down, T = (-40 to +85)°C, VDD = (1.71 to 5.5)V, unless otherwise
specified
Symbol Parameter Description/Note Conditions Min. Typ. Max. Unit
T = 25°C,
G = 0.25 -- ±8.5 ±50.3 mV
VDD = 5V ±10%
T = 25°C,
G = 0.5 -- ±5.3 ±28.3 mV
Offset Voltage VDD = 2.5 to 5.5 V
Vos (RTI, G=1 T = 25°C -- ±2.2 ±12.1 mV
see Note 1)
G=2 T = 25°C -- ±3.4 ±13.7 mV
G=4 T = 25°C -- ±3.2 ±12.0 mV
G=8 T = 25°C -- ±3.2 ±11.6 mV
G = 0.25 VDD = 5V ±10% -- ±0.0097 ±0.0584 mV/°C
G = 0.5 VDD = 2.5 to 5.5 V -- ±0.0058 ±0.0345 mV/°C
Vos (RTI)
G=1 -- ±0.0018 ±0.0111 mV/°C
dVos/dT Temperature
G=2 -- ±0.0031 ±0.0186 mV/°C
Drift
G=4 -- ±0.0028 ±0.0167 mV/°C
G=8 -- ±0.0026 ±0.0158 mV/°C
G = 0.25 VDD = 5V ±10% -0.822 0.562 1.945 %
G = 0.5 VDD = 2.5 to 5.5 V -0.877 0.196 1.260 %
G=1 -0.118 -0.012 0.093 %
ΔG Gain Error
G=2 -1.361 -0.213 0.935 %
G=4 -2.169 -0.554 1.060 %
G=8 -3.616 -1.299 1.018 %
G = 0.25 VDD = 5V ±10% 273 -- 4167 mV
G = 0.5 VDD = 2.5 to 5.5 V 126 -- 2153 mV
Linear G=1 59 -- 1145 mV
Vind(lin) Differential Input
Voltage Range G=2 39 -- 572 mV
G=4 23 -- 286 mV
G=8 15 -- 144 mV
Output Voltage GND to
Vsw -- -- mV
Swing 1380
Table 17. Differential PGA Operation, ADC - Power On, T = (-40 to +85)°C, VDD = (1.71 to 5.5)V, Vcm = 500 mV, unless
otherwise specified
Symbol Parameter Description/Note Conditions Min. Typ. Max. Unit
Offset Voltage
Vos (RTO, All gains Vid = 0 -- 550 -- mV
see Note 1)
G=1 T = 25°C -- ±1.4 ±5.4 mV
G=2 T = 25°C -- ±1.1 ±4.5 mV
Offset Voltage
ΔVos G=4 T = 25°C -- ±1.1 ±6.5 mV
Error (RTO)
G=8 T = 25°C -- ±2.2 ±10.1 mV
G = 16 T = 25°C -- ±4.0 ±20.4 mV
G=1 -- ±0.0124 ±0.0551 mV/°C
Table 18. Pseudo-Differential PGA Operation, ADC - Power On, T = (-40 to +85)°C, VDD = (1.71 to 5.5)V, Vinn = 500 mV,
unless otherwise specified
Symbol Parameter Description/Note Conditions Min. Typ. Max. Unit
Offset Voltage
Vos (RTO, All gains Vid = 0 -- 180 -- mV
see Note 1)
T = 25°C,
G=1 -- ±1.2 ±3.6 mV
Offset Voltage VDD = 2.0 V to 5.5 V
ΔVos
Error (RTO) G=2 T = 25°C -- ±1.5 ±5.5 mV
G=4 T = 25°C -- ±2.1 ±6.4 mV
Table 19. Differential or Pseudo-Differential PGA Operation, ADC - Power Down, T = (-40 to +85)°C, VDD = (1.71 to 5.5)V,
Vcm = 500 mV, unless otherwise specified
Symbol Parameter Description/Note Conditions Min. Typ. Max. Unit
Offset Voltage
Vos (RTI, All gains T = 25°C, -- ±1.9 ±11.2 mV
see Note 1) VDD = 3.3 V
G=1 -1.080 -0.194 0.664 %
G=2 -1.761 -0.568 0.629
ΔG Gain Error G=4 -2.573 -0.929 0.656
G=8 -3.553 -1.620 0.225 %
G = 16 -3.720 -1.808 0.106 %
G=1 32 -- -- dB
G=2 38 -- -- dB
Common-Mode
CMRR G=4 44 -- -- dB
Rejection Rate
G=8 50 -- -- dB
G = 16 56 -- -- dB
VDD = 1.8 V,
500 500 mV
Vid= 0 to 1000 mV/G --
Negative Input VDD = 3.3 V,
Vinn All gains 500 1250 mV
Voltage Range Vid= 0 to 1000 mV/G --
VDD = 5.0 V,
500 1250 mV
Vid= 0 to 1000 mV/G --
Output Voltage GND to
Vsw -- -- mV
Swing 1380
Note 2: When ADC is powered down, PGA operation in Differential or Pseudo-Differential mode is not recommended. Parameters
in Table 19. are for reference only.
• Two Inverters
6.14 RC Oscillator
• 1.73 kHz
• OSC/1, OSC/2, OSC/4, OSC/16 dividers
Of the 18 user defined I/O pins on the SLG46620, all but one of the pins (Pin 2) can serve as both digital input and digital output.
Pin 2 can only serve as a digital input pin or external reset.
Each I/O pin can be configured as a digital input pin with/without buffered Schmitt trigger, or can also be configured as a low
voltage digital input. Pins 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, and 17 can also be configured to serve as analog inputs to the
on-chip comparators. Pins 18 and 19 can also be configured as analog reference voltage outputs.
Pins 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, and 20 can all be configured as digital output pins.
All I/O pins have the option for user selectable resistors connected to the input structure. The selectable values on these resistors
are 10 kΩ, 100 kΩ and 1 MΩ. In the case of Pin 2, the resistors are fixed to a pull-down configuration. In the case of all other I/O
pins, the internal resistors can be configured as either pull-up or pull-downs.
Non-Schmitt
Input Mode [1:0] Trigger Input
00: Digital IN without Schmitt Trigger, WOSMT_EN = 1, OE = 0
01: Digital IN with Schmitt Trigger, SMT_EN = 1, OE = 0 WOSMT_EN
10: Low Voltage Digital IN mode, LV_EN = 1, OE = 0
11: Reserved OE Schmitt
Trigger Input
Note 1: OE cannot be selected by user Digital IN
Note 2: OE is Matrix output, Digital IN is Matrix input SMT_EN
OE
Low Voltage
Input
LV_EN
OE
Floating
PAD s0
VDD
s1
s2
s1
s3
900 kΩ 90 kΩ 10 kΩ s0
Res_sel
[1:0]
00: Floating Pull-up_EN
01: 10 kΩ
10: 100 kΩ
11: 1 MΩ
7.6.1 Matrix OE IO Structure (for Pins 3, 5, 7, 9, 13, 14, 16, 18, 19)
Non-Schmitt
Input Mode [1:0] Trigger Input
00: Digital IN without Schmitt Trigger, WOSMT_EN = 1
01: Digital IN with Schmitt Trigger, SMT_EN = 1 WOSMT_EN
10: Low Voltage Digital IN mode, LV_EN = 1
11: Analog IO mode OE Schmitt
Trigger Input
Output Mode [1:0] Digital IN
00: 1x Push-Pull mode, PP1x_EN = 1 SMT_EN
01: 2x Push-Pull mode, PP2x_EN = 1, PP1x_EN = 1
10: 1x NMOS Open-DRAIN mode, OD1x_EN = 1 OE
11: 2x NMOS Open-DRAIN mode, OD2x_EN = 1, OD1x_EN = 1 Low Voltage
Input
Note 1: Digital OUT and OE are Matrix output, Digital IN is Matrix input
Note 2: Can be varied over PVT, for reference only LV_EN
OE
Analog IO
Floating
s0
s1
172 Ω s2
s1
(Note 2) s3
900 kΩ 90 kΩ 10 kΩ s0
VDD Res_sel
[1:0]
00: Floating Pull-up_EN
01: 10 kΩ
10: 100 kΩ
11: 1 MΩ
Digital OUT
Digital OUT
OE OE
OD1x_EN
PP1x_EN
VDD
PAD
OE OE
OD2x_EN
PP2x_EN
Non-Schmitt
Trigger Input
Input Mode [1:0]
00: Digital IN without Schmitt Trigger, WOSMT_EN = 1 WOSMT_EN
01: Digital IN with Schmitt Trigger, SMT_EN = 1
10: Low Voltage Digital IN mode, LV_EN = 1 OE Schmitt
11: Analog IO mode Trigger Input
Digital IN
Output Mode [1:0] SMT_EN
00: 1x Push-Pull mode, PP1x_EN = 1
01: 2x Push-Pull mode, PP2x_EN = 1, PP1x_EN = 1 OE
10: 1x NMOS Open-DRAIN mode, OD1x_EN =1, ODn_EN = 1 Low Voltage
11: 2x NMOS Open-DRAIN mode, OD2x_EN =1, OD1x_en=1, ODn_EN = 1 Input
Note 1: Digital OUT and OE are Matrix output, Digital IN is Matrix input LV_EN
Note 2: Can be varied over PVT, for reference only
OE
Analog IO
Floating
s0
s1
172 Ω s2
s1
(Note 2) s3
900 kΩ 90 kΩ 10 kΩ s0
Res_sel
VDD [1:0]
00: Floating Pull-up_EN
01: 10 kΩ
10: 100 kΩ
11: 1 MΩ
Digital OUT
Digital OUT
OE OE
OD1x_EN
PP1x_EN 4x_EN
ODn_EN
VDD
Digital OUT
OE
OD2x_EN
PAD 4x_EN
VDD
ODn_EN
OE OE
4x_EN
PP2x_EN ODn_EN
Digital OUT
OE
4x_EN
ODn_EN
Non-Schmitt
Trigger Input
Mode [2:0]
000: Digital IN without Schmitt Trigger, WOSMT_EN = 1, OE = 0 WOSMT_EN
001: Digital IN with Schmitt Trigger, SMT_EN = 1, OE = 0
010: Low Voltage Digital IN mode, LV_EN = 1, OE = 0 OE Schmitt
011: Analog IO mode Trigger Input
100: Push-Pull mode, PP_EN = 1, OE = 1 Digital IN
101: NMOS Open-DRAIN mode, ODn_EN = 1, OE = 1 SMT_EN
110: PMOS Open-DRAIN mode, ODp_EN = 1, OE = 1
111: Analog IO and NMOS Open-DRAIN mode, ODn_EN = 1 and AIO_EN = 1 OE
Low Voltage
Note 1: OE cannot be selected by user Input
Note 2: Can be varied over PVT, for reference only
Note 3: Digital OUT and OE are Matrix output, Digital IN is Matrix input LV_EN
OE
Analog IO
(For PIN 4 only)
Floating
s0
s1
s2
172 Ω s1
(Note 2) s3
900 kΩ 90 kΩ 10 kΩ s0
Res_sel
[1:0]
VDD
00: Floating Pull-up_EN
01: 10 kΩ
10: 100 kΩ
11: 1 MΩ
ODp_EN
Digital OUT
Digital OUT
OE OE
2x_EN ODn_EN
PP_EN
VDD
VDD PAD
ODp_EN
Non-Schmitt
Mode [2:0] Trigger Input
000: Digital IN without Schmitt Trigger, WOSMT_EN = 1, OE = 0
001: Digital IN with Schmitt Trigger, SMT_EN = 1, OE = 0 WOSMT_EN
010: Low Voltage Digital IN mode, LV_EN = 1, OE = 0
011: Analog IO mode OE Schmitt
100: Push-Pull mode, PP_EN = 1, OE = 1
Trigger Input
101: NMOS Open-DRAIN mode, ODn_EN = 1, OE = 1 Digital IN
110: PMOS Open-DRAIN mode, ODp_EN = 1, OE = 1
111: Analog IO and NMOS Open-DRAIN mode, odn_EN = 1 and AIO_EN = 1 SMT_EN
OE
Note 1: OE cannot be selected by user Low Voltage
Note 2: Digital OUT and OE are Matrix output, Digital IN is Matrix input Input
Note 3: Can be varied over PVT, for reference only
LV_EN
OE
Analog IO
Floating
s0
VDD
s1
172 Ω s2
s1
(Note 3) s3
900 kΩ 90 kΩ 10 kΩ s0
Res_sel
[1:0]
00: Floating Pull-up_EN
VDD
01: 10 kΩ
10: 100 kΩ
11: 1 MΩ
OE OE OD1x_EN
4x_EN
PP1x_EN
ODn_EN
Digital OUT
VDD OE
OD2x_EN
4x_EN
ODn_EN
VDD PAD
OE OE
4x_EN
PP2x_EN ODn_EN
Digital OUT
OE
4x_EN
ODn_EN
Each Connection Matrix within the device has 64 inputs and 95 outputs. Each of the 64 inputs to each Connection Matrix is
hard-wired to the digital output of a particular source macrocell, including I/O pins, LUTs, ADC, analog comparators, other digital
macrocells and VDD and VSS. The input to a digital macrocell uses a 6-bit register to select one of these 64 input lines. All
macrocells associated with a particular matrix has both its inputs and outputs connected to that matrix. To make connections to
macrocells associated with the other matrix, the user can select the Matrix Cross Connection lines (see below).
Each matrix has 10 dedicated output connections for connecting to the other matrix, known as the “Cross Connection “outputs.
When using these cross connections, any macrocell can be connected to any other macrocell in the device by first going through
the other matrix. As there is fixed number of the Matrix Cross Connections, it is important when making connections of the outputs
of macrocells to the inputs of other macrocells that this is done within the same matrix whenever possible. This will leave the
Matrix Cross Connection lines free for digital connections to resources associated with the other matrix.
For a complete list of the SLG46620’s register table, see Section 25.0 Appendix A - SLG46620 Register Definition.
Matrix 0 Matrix 1
LUT2_0 Output 1
LUT2_1 Output 2
LUT2_2 Output 3
VDD 63
Matrix Inputs N 0 1 2 94
LUT2_4 Output 1
LUT2_5 Output 2
LUT2_6 Output 3
VDD 63
Matrix Inputs N 0 1 2 94
Pin 13
LUT Pin 12
Pin 14
Pin 12
Pin 13
LUT
Pin 14
Inputs:
• CH SELECTOR: Single-Ended Mode ADC Selection and Analog Input Mux Control Signal (PIN 16, VDD)
• IN+: Single-Ended Mode Input (PIN8 or PIN9) and Differential Mode Positive Input (PIN8)
• IN-: Differential Mode Negative Input (PIN 9 or DAC0)
• VREF: ADC Voltage Reference Input (ADC VREF, VDD/4, none)
• CLK or CLK/16: ADC Clock Input (Ring OSC, Ext. CLK2 (matrix1_out73), RC OSC, SPI SCLK)
• Wake/Sleep
Outputs:
Pin 9
0
SER DATA
Pin 8 Gain Sel reg <820:818>
1 PAR DATA
PGA ADC
PGA Power reg <821>
INT OUT
0
0 /16
ADC VREF CLK
1 00
Reserved 01 VREF
1
DAC_in_en reg <815> VDD * (0.25) 10 reg <1639>
• Single-Ended ADC operation using IN+ from PIN 8 or 9, when ADC_sel (reg <817>) is “0”
• Differential ADC operation using IN+ from PIN 8 and IN- from PIN 9, when ADC_sel (reg <817>) is “1”
• Pseudo-Differential ADC operation using IN+ from PIN 8 and IN- from PIN 9, when ADC_sel (reg <817>) and ADC_pseudo-
diff_en (reg <822>) bits are both set to “1”.
The front end of the ADC is a PGA with 3 bits for setting gain. The PGA buffers the ADC in all cases. The PGA gain is set by the
ADC_gain_control (reg<820:818>). See ADC Register Settings Table.
Available gain settings depending on PGA mode selected (when used as ADC front-end):
PGA inputs:
• CH SELECTOR: Single-Ended Mode ADC Selection and Analog Input Mux Control Signal (PIN16, VDD)
• IN+: Single-Ended Mode Input (PIN8 or PIN9) and Differential Mode Positive Input (PIN8)
• IN-: Differential Mode Negative Input (PIN9 or DAC0)
PGA output is connected directly to ADC input. Also, it is possible to connect PIN7 to PGA output (reg<886>), when ADC is not
in use only. The output of PGA has an offset when used as ADC front-end. Please see section 9.3.2 PGA Output for more details.
When ADC_channel_sel (reg <816>) is set to “1”, the PGA of the ADC will sample either PIN 8 or PIN 9 on the IN+ input, where
the selection is controlled by PIN 16.
When ADC_channel_sel (reg <816>) is set to “0”, the PGA of the ADC will sample PIN 8 on the IN+ input.
Logic “1”
0
reg <816>
PGA can be used either in standalone mode or as ADC font-end / ACMP input buffer.
In PGA standalone mode (ADC in POWER DOWN mode) PGA output is always referenced to GND. When ADC is powered on,
it powers also the PGA output reference macrocell, so that the output voltage is referenced to one of predefined output offset
voltages Vos(RTO) which can be found in PGA specifications. This offset is required for correct ADC operation and it does not
affect output code calculation.
• Single-Ended mode:
• ADC
• ACMP
• External output
• Differential mode:
• ADC
• ACMP (See Note 2)
• External output (Operation in this mode is not recommended)
• Pseudo-Differential mode:
• ADC
• ACMP (See Note 2)
• External output (Operation in this mode is not recommended)
Whenever ADC is enabled, PGA is powered on automatically. However, it is possible to use PGA separately. In this case, Power
On function must be enabled, reg <821> = 1.
35 30
Percentage of Occurrences, %
Percentage of Occurrences, %
5 5
0 0
-17.1
-15.1
-13.1
-11.0
-9.0
-7.0
-4.9
-2.9
-0.9
1.1
3.2
5.2
7.2
9.3
11.3
13.3
15.3
21.4
11.5
15.6
19.6
23.6
27.7
31.7
43.8
-32.9
-28.9
-24.8
-20.8
-16.7
-12.7
-8.7
-4.6
-0.6
3.4
7.5
Vos, mV Vos, mV
Figure 13. PGA Input Offset Distribution, Single-Ended Figure 14. PGA Input Offset Distribution, Single-Ended
Mode, G = 0.25 Mode, G = 0.5
30 18
Percentage of Occurrences, %
Percentage of Occurrences, %
-5.9
-5.2
-4.5
-3.9
-3.2
-2.5
-1.8
-1.1
-0.4
-8.6
-7.6
-6.6
-5.6
-4.5
-3.5
-2.5
-1.5
-0.4
0.3
1.0
1.7
2.4
3.1
3.8
4.5
5.2
7.2
0.6
1.6
2.6
3.7
4.7
5.7
6.7
7.8
Vos, mV Vos, mV
Figure 15. PGA Input Offset Distribution, Single-Ended Figure 16. PGA Input Offset Distribution, Single-Ended
Mode, G = 1 Mode, G = 2
20 20
Percentage of Occurrences, %
Percentage of Occurrences, %
-5.4
-4.9
-4.3
-3.8
-3.2
-2.7
-2.1
-1.6
-1.0
-0.4
0.4
1.0
1.6
2.2
2.8
3.4
4.0
5.8
0.1
0.7
1.2
1.8
2.3
2.9
3.4
5.1
Vos, mV Vos, mV
Figure 17. PGA Input Offset Distribution, Single-Ended Figure 18. PGA Input Offset Distribution, Single-Ended
Mode, G = 4 Mode, G = 8
0.5 0.5
0 0
0 200 400 600 800 1000 1200 0 200 400 600 800 1000 1200
Gain Error, %
Gain Error, %
-0.5 -0.5
-1 -1
-40°C -40°C
-1.5 +25°C -1.5 +25°C
+85°C +85°C
-2 -2
Vin Vin
Figure 19. Typical PGA Gain Error vs. Vin, Single-Ended Figure 20. Typical PGA Gain Error vs. Vin, Single-Ended
Mode, G = 1, VDD = 1.71 V Mode, G = 1, VDD = 5.5 V
0 0
0 20 40 60 80 100 120 140 160 0 20 40 60 80 100 120 140 160
-0.5 -0.5
-1 -1
-1.5 -1.5
Gain Error, %
Gain Error, %
-2 -2
-2.5 -2.5
-3 -3
-40°C
-3.5 -40°C -3.5
+25°C
-4 +25°C -4
+85°C
-4.5 +85°C -4.5
-5 -5
Vin Vin
Figure 21. Typical PGA Gain Error vs. Vin, Single-Ended Figure 22. Typical PGA Gain Error vs. Vin, Single-Ended
Mode, G = 8, VDD = 1.71 V Mode, G = 8, VDD = 5.5 V
600 0
-600 -400 -200 0 200 400 600
-0.2
400
-0.4
200 -0.6
Gain Error, %
Vin range ⋅ G, mV
-0.8
0
0 500 1000 1500 2000 2500 3000
-1
-1.2
-200
Vdd = 1.71V
-40°C
Vdd = 3.3 V
-1.4
+25°C
Vdd = 5.5 V
-400 -1.6
+85°C
-1.8
-600
Vcm, mV -2
Vin
Figure 23. PGA Input Vind Range Multiplied by Gain vs. Figure 24. Typical PGA Gain Error vs. Vin, Differential
Vcm, Differential Mode Mode, G = 1, VDD = 1.71 V
0 0
-600 -400 -200 0 200 400 600 -40 -30 -20 -10 0 10 20 30 40
-0.2
-0.5
-0.4 -40°C
-0.6 +25°C
-1
Gain Error, %
Gain Error, %
-0.8 +85°C
-1 -1.5
-1.2
-40°C -2
-1.4
+25°C
-1.6
+85°C -2.5
-1.8
-2 -3
Vin Vin
Figure 25. Typical PGA Gain Error vs. Vin, Differential Figure 26. Typical PGA Gain Error vs. Vin, Differential
Mode, G = 1, VDD = 5.5 V Mode, G = 16, VDD = 1.71 V
0 1200
-40°C
Vin range ⋅ G, mV
-1.5 600
-2 400
-2.5 200
-3 0
0 200 400 600 800 1000 1200 1400 1600
Vin
Vinn, mV
Figure 27. Typical PGA Gain Error vs. Vin, Differential Figure 28. PGA Input Vind Range Multiplied by Gain vs.
Mode, G = 16, VDD = 5.5 V Vinn, Pseudo-Differential Mode, G = 1
1200 1200
1000 1000
Vin range, mV
Vdd = 1.71V
Vdd = 1.71
600 600
400 400
200 200
0 0
0 200 400 600 800 1000 1200 1400 1600 0 200 400 600 800 1000 1200 1400 1600
Vinn, mV Vinn, mV
Figure 29. PGA Input Vind Range Multiplied by Gain vs. Figure 30. PGA Input Vind Range Multiplied by Gain vs.
Vinn, Pseudo-Differential Mode, G = 2 Vinn, Pseudo-Differential Mode, G = 4
0 0
0 200 400 600 800 1000 1200 0 200 400 600 800 1000 1200
-0.2 -0.2
-0.4 -0.4
-0.6 -0.6
Gain Error, %
Gain Error, %
-0.8 -0.8
-1 -1
-1.2 -1.2
-1.4 -40°C -1.4 -40°C
-1.6 +25°C -1.6 +25°C
-1.8 +85°C -1.8 +85°C
-2 -2
Vin Vin
Figure 31. Typical PGA Gain Error vs. Vin, Figure 32. Typical PGA Gain Error vs. Vin,
Pseudo-Differential Mode, G = 1, VDD = 2.0 V Pseudo-Differential Mode, G = 1, VDD = 5.5 V
0 0
0 50 100 150 200 250 300 0 50 100 150 200 250 300
-0.5 -0.5
-1 -1
Gain Error, %
Gain Error, %
-1.5 -1.5
-2 -2
-40°C -40°C
+25°C +25°C
-2.5 -2.5
+85°C +85°C
-3 -3
Vin Vin
Figure 33. Typical PGA Gain Error vs. Vin, Figure 34. Typical PGA Gain Error vs. Vin,
Pseudo-Differential Mode, G= 4, VDD = 1.71 V Pseudo-Differential Mode, G= 4, VDD = 5.5 V
The ADC’s input voltage (VIN_ADC) is calculated based on either the single-ended or differential operation modes the logic cell is
set to. In single-ended mode VIN_ADC is the positive input voltage multiplied by the gain of the PGA. While in differential mode
the VIN_ADC is the difference between the positive and negative input voltages multiplied by the gain of the PGA plus one half of
the reference voltage.
Vos - PGA offset voltage. RTI and RTO denotes referred to input and referred to output Vos.
Vos ( RTO )
V os ( RTI ) = -----------------------
G
ADC code for PGA differential input voltage Vind can be calculated as follows:
• Single-ended mode:
Vind = Vinp
255
ADC code = ----------------------------------------------------- ( V inp – V inp [ min ] )
V inp [ max ] – V inp [ min ]
Vinp[min] and Vinp[max] - positive input voltage for bit0 and bit255 correspondingly (can be found in ADC specifications)
255
ADCcode = ----------------------------------------------------- ( Vind – Vind [ min ] )
V ind [ max ] – V ind [ min ]
Vind[min] and Vind[max] - differential input voltage for bit0 and bit255 correspondingly (can be found in ADC specifications)
FS
LSB = ---------
255
FS = Vind[max] - Vind[min]
The ADC’s reference voltage (VREF) is controlled by ADC_Vref_sel (reg <842:841>). The two reference voltage inputs are chosen
from the following:
ADC VREF
00
Reserved 01 VREF
VDD * (0.25) 10
reg <842:841>
The ADC’s power down source is selected by Matrix0_Out81 reg<491:486>. A value of “1” will drive the ADC and the PGA to
power down mode. The SLG46620 also has a slow/fast power on mode feature controlled by reg<885>. When reg<885> = 0, the
ADC is in slow power on mode and the entire analog macrocell is controlled by connection matrix output0 81. When reg<885> =
1, ADC is in fast power on mode, where only the ADC will be controlled by connection matrix output0 81 and the analog macrocell
will remain on. With this feature, the first ADC power on (with the rest of the analog macrocell) will be approximately 500 µs; the
next power cycle the ADC power on (ADC only) time is <5 µs.
The ADC clock source comes from either the internal RC Oscillator, Matrix1_Out73, Ring Oscillator, or SPI CLK. The ADC requires
16 clock cycles to sample the analog voltage and output the sampled data.
The selection is made from the ADC_clk_sel signal via reg <1629:1628> where:
0 /16
CLK
reg <1639>
Ring Osc
00
Matrix1 Out <73>
01
RC Osc
10
SPI CLK
11
The ADC’s output can be shifted out through the SPI logic cell. Both SER DATA and PAR DATA produce an 8-bit data string over
16 clock cycles. See Figure 37.
The 8-bit serial data can be output from the SLG46620 device on PIN 10. The individual 8 serial data bits can be read into an
external device within the larger system design.
To initialize the SER DATA the ADC needs a Power Down signal, which can be configured through the connection matrix. After
6 ADC_CLK cycles the ADC will start to output the 8-Bit Serial Data. This PD signal needs to be held for at least 16 ADC_CLK
cycles. The ADC_CLK is determined by either the RC Osc, Ring Osc, Matrix1_Out73, or SPI CLK.
The 16-bit parallel data can be output from the ADC logic cell to either the DCMP/PWM or FSM logic cells within the SLG46620
device.
To initialize the PAR DATA the ADC needs a Power Down signal, which can be configured through the connection matrix. After
ten ADC_CLK cycles the ADC will start to output the 16-Bit Parallel Data. This PD signal needs to be held for at least 32 ADC_CLK
cycles. The ADC_CLK is determined by either the RC Osc, Ring Osc, Matrix1_Out73, or SPI CLK.
Power_Down
CLK case 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 16
CLK case 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 16
SER DATA
D7 D0
SER DATA
ADC_int
First pulse
Bandgap OK
0: Disable
ADC Wake Sleep Enable <884>
1: Enable
User controlled inputs and outputs of the DAC are listed below:
DAC0 Inputs:
• Registers
• CNT9_Q<7:0>
• 8LSBs SPI
• FSM0<7:0>
DAC0 Outputs:
• PIN19
• PGA negative input (00: 0 V; FF: 1 V)
• ACMP0 negative input
• ACMP1 negative input
• ACMP2 negative input
• ACMP3 negative input
• ACMP4 negative input
• ACMP5 negative input
DAC1 Inputs:
• Registers
• CNT9_Q<7:0>
• 8LSBs SPI
• FSM0<7:0>
DAC1 Outputs:
• PIN18
• ACMP0 negative input
• ACMP1 negative input
• ACMP2 negative input
• ACMP3 negative input
• ACMP4 negative input
• ACMP5 negative input
If a DAC output is connected to one of SLG46620's external pins (Pin19 for DAC0 and Pin18 for DAC1), it is necessary to enable
those external pins as analog input/output. Reg <840>: 0 - DAC0 power off, 1 - DAC0 power on. Reg <834>: 0 - DAC1 power off,
1 - DAC1 power on.
reg <843>
Pin19_aio_en
reg <1962:1961>=11
Register 01 Vref Out_0 (Pin19)
0 10
DCMP1's neg. input
DAC0 11
1
PWR DOWN
reg <879:878>
reg <840>
PGA negative input
reg <883>
Pin19_aio_en
reg <1955:1954>=11
Register 01 Vref Out_1 (Pin18)
1 10
DCMP1's neg. input
DAC1 11
0
PWR DOWN
reg <877:876>
reg <834>
Inputs/Outputs for the twenty five LUTs are configured from one of the connection matrices with specific logic functions being
defined by the state of NVM bits. The outputs of the LUTs can be configured to any user defined function, including the following
standard digital logic devices (AND, NAND, OR, NOR, XOR, XNOR).
The eight 2-bit LUTs each take in two input signals from one of the two connection matrices and produce a single output, which
goes back into the same connection matrix that the inputs came from. The output state of each 2-bit LUT is defined by four register
bits, the output state is based on the appropriate bit selected by the value of the two inputs to the LUT.
From Connection
2-bit LUT0 OUT
From Connection
2-bit LUT1 OUT
Matrix Output 0 <1> Matrix Output 0 <3>
IN1 IN1
From Connection
2-bit LUT2 OUT
From Connection
2-bit LUT3 OUT
Matrix Output 0 <5> Matrix Output 0 <7>
IN1 IN1
From Connection
2-bit LUT4 OUT
From Connection
2-bit LUT5 OUT
Matrix Output 1 <1> Matrix Output 1 <3>
IN1 IN1
From Connection
2-bit LUT6 OUT
From Connection
2-bit LUT7 OUT
Matrix Output 1 <5> Matrix Output 1 <7>
IN1 IN1
Table 45. 2-bit LUT0 Truth Table Table 49. 2-bit LUT4 Truth Table
IN1 IN0 OUT IN1 IN0 OUT
0 0 reg <576> 0 0 reg <698>
0 1 reg <577> 0 1 reg <699>
1 0 reg <578> 1 0 reg <700>
1 1 reg <579> 1 1 reg <701>
Table 46. 2-bit LUT1 Truth Table Table 50. 2-bit LUT5 Truth Table
IN1 IN0 OUT IN1 IN0 OUT
0 0 reg <580> 0 0 reg <702>
0 1 reg <581> 0 1 reg <703>
1 0 reg <582> 1 0 reg <704>
1 1 reg <583> 1 1 reg <705>
Table 47. 2-bit LUT2 Truth Table Table 51. 2-bit LUT6 Truth Table
IN1 IN0 OUT IN1 IN0 OUT
0 0 reg <584> 0 0 reg <706>
0 1 reg <585> 0 1 reg <707>
1 0 reg <586> 1 0 reg <708>
1 1 reg <587> 1 1 reg <709>
Table 48. 2-bit LUT3 Truth Table Table 52. 2-bit LUT7 Truth Table
IN1 IN0 OUT IN1 IN0 OUT
0 0 reg <588> 0 0 reg <710>
0 1 reg <589> 0 1 reg <711>
1 0 reg <590> 1 0 reg <712>
1 1 reg <591> 1 1 reg <713>
Each Macrocell, when programmed for a LUT function, uses a 4-bit register to define their output function;
The sixteen 3-bit LUTs each take in three input signals from one of the two connection matrices and produce a single output,
which goes back into the same connection matrix that the inputs came from. The output state of each 3-bit LUT is defined by eight
register bits, the output state is based on the appropriate bit selected by the value of the three inputs to the LUT.
From Connection
IN1 3-bit LUT6 OUT IN1 3-bit LUT7 OUT
From Connection
Matrix Output 0 <28> Matrix Output 0 <31>
IN2 IN2
From Connection
IN1 3-bit LUT8 OUT
From Connection
IN1 3-bit LUT9 OUT
From Connection
IN1 3-bit LUT14 OUT IN1 3-bit LUT15 OUT
From Connection
Matrix Output 1 <28> Matrix Output 1 <31>
IN2 IN2
Table 54. 3-bit LUT0 Truth Table Table 58. 3-bit LUT4 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <592> 0 0 0 reg <624>
0 0 1 reg <593> 0 0 1 reg <625>
0 1 0 reg <594> 0 1 0 reg <626>
0 1 1 reg <595> 0 1 1 reg <627>
1 0 0 reg <596> 1 0 0 reg <628>
1 0 1 reg <597> 1 0 1 reg <629>
1 1 0 reg <598> 1 1 0 reg <630>
1 1 1 reg <599> 1 1 1 reg <631>
Table 55. 3-bit LUT1 Truth Table Table 59. 3-bit LUT5 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <600> 0 0 0 reg <632>
0 0 1 reg <601> 0 0 1 reg <633>
0 1 0 reg <602> 0 1 0 reg <634>
0 1 1 reg <603> 0 1 1 reg <635>
1 0 0 reg <604> 1 0 0 reg <636>
1 0 1 reg <605> 1 0 1 reg <637>
1 1 0 reg <606> 1 1 0 reg <638>
1 1 1 reg <607> 1 1 1 reg <639>
Table 56. 3-bit LUT2 Truth Table Table 60. 3-bit LUT6 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <608> 0 0 0 reg <640>
0 0 1 reg <609> 0 0 1 reg <641>
0 1 0 reg <610> 0 1 0 reg <642>
0 1 1 reg <611> 0 1 1 reg <643>
1 0 0 reg <612> 1 0 0 reg <644>
1 0 1 reg <613> 1 0 1 reg <645>
1 1 0 reg <614> 1 1 0 reg <646>
1 1 1 reg <615> 1 1 1 reg <647>
Table 57. 3-bit LUT3 Truth Table Table 61. 3-bit LUT7 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <616> 0 0 0 reg <648>
0 0 1 reg <617> 0 0 1 reg <649>
0 1 0 reg <618> 0 1 0 reg <650>
0 1 1 reg <619> 0 1 1 reg <651>
1 0 0 reg <620> 1 0 0 reg <652>
1 0 1 reg <621> 1 0 1 reg <653>
1 1 0 reg <622> 1 1 0 reg <654>
1 1 1 reg <623> 1 1 1 reg <655>
Table 62. 3-bit LUT8 Truth Table Table 66. 3-bit LUT12 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <714> 0 0 0 reg <746>
0 0 1 reg <715> 0 0 1 reg <747>
0 1 0 reg <716> 0 1 0 reg <748>
0 1 1 reg <717> 0 1 1 reg <749>
1 0 0 reg <718> 1 0 0 reg <750>
1 0 1 reg <719> 1 0 1 reg <751>
1 1 0 reg <720> 1 1 0 reg <752>
1 1 1 reg <721> 1 1 1 reg <753>
Table 63. 3-bit LUT9 Truth Table Table 67. 3-bit LUT13 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <722> 0 0 0 reg <754>
0 0 1 reg <723> 0 0 1 reg <755>
0 1 0 reg <724> 0 1 0 reg <756>
0 1 1 reg <725> 0 1 1 reg <757>
1 0 0 reg <726> 1 0 0 reg <758>
1 0 1 reg <727> 1 0 1 reg <759>
1 1 0 reg <728> 1 1 0 reg <760>
1 1 1 reg <729> 1 1 1 reg <761>
Table 64. 3-bit LUT10 Truth Table Table 68. 3-bit LUT14 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <730> 0 0 0 reg <762>
0 0 1 reg <731> 0 0 1 reg <763>
0 1 0 reg <732> 0 1 0 reg <764>
0 1 1 reg <733> 0 1 1 reg <765>
1 0 0 reg <734> 1 0 0 reg <766>
1 0 1 reg <735> 1 0 1 reg <767>
1 1 0 reg <736> 1 1 0 reg <768>
1 1 1 reg <737> 1 1 1 reg <769>
Table 65. 3-bit LUT11 Truth Table Table 69. 3-bit LUT15 Truth Table
IN2 IN1 IN0 OUT IN2 IN1 IN0 OUT
0 0 0 reg <738> 0 0 0 reg <770>
0 0 1 reg <739> 0 0 1 reg <771>
0 1 0 reg <740> 0 1 0 reg <772>
0 1 1 reg <741> 0 1 1 reg <773>
1 0 0 reg <742> 1 0 0 reg <774>
1 0 1 reg <743> 1 0 1 reg <775>
1 1 0 reg <744> 1 1 0 reg <776>
1 1 1 reg <745> 1 1 1 reg <777>
The table below shows the register bits for the standard digital logic devices (AND, NAND, OR, NOR, XOR, XNOR) that can be
created within each of the 3-bit LUT logic cells.
The one 4-bit LUT (LUT4_1) takes in four input signals from connection matrix 1 and produces a single output, which goes back
into connection matrix 1. The output state of the 4-bit LUT is defined by sixteen register bits, the output state is based on the
appropriate bit selected by the value of the four inputs to the LUT.
reg <793:778>
From Connection
Matrix Output 1 <32>
IN0
From Connection
Matrix Output 1 <33> To Connection
IN1 Matrix Input 1 <13>
From Connection
Matrix Output 1 <34> 4-bit LUT1 OUT
IN2
From Connection
Matrix Output 1 <35>
IN2
11.3.1 The device also includes one Combination Function Macrocell that can be used as a 4-bit LUT. For more details, please
see Section 12.0 Combination Function Macrocells.
Each 4-bit LUT uses an 16-bit register signal to define their output functions;
When used to implement LUT functions, the 4-bit LUT takes in four input signals from the connection matrix 0 and produce a
single output, which goes back into the connection matrix 0. When used as a LUT to implement combinatorial logic functions, the
outputs of the LUTs can be configured to any user defined function, including the following standard digital logic devices (AND,
NAND, OR, NOR, XOR, XNOR). The user can also define the combinatorial relationship between inputs and outputs to be any
selectable function.
When operating as a Programmable Function Generator, the output of the macrocell with clock out a sequence of two to sixteen
bits that are user selectable in their bit values, and user selectable in the number of bits (up to sixteen) that are output before the
pattern repeats. See Figure 45.
clk
Pattern
size
reg <676>
reg <675:672>
VDD
t
nRST
CLK
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
t
OUT
D0 D0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15
During ACMP power up, its output will remain low, and then becomes valid 2.08 ms (max) after ACMP power up signal goes high,
see Figure 46. . If VDD is greater or equal to 2.7 V, it is possible to decrease turn-on time by setting the BG ok delay to 100 µs,
see Figure 47. . The ACMP cells have an input "Low bandwith" signal selection, which can be used to save power and reduce
noise impact when lower bandwidth signals are being compared. To ensure proper chip startup operation, it is recommended to
enable the ACMPs with the POR signal, and not the VDD signal.
2300 600
-40⁰C
2100 room
500 +85⁰C
1900
POWER ON DELAY (µS)
1500 room
+85⁰C 300
1300
1100 200
900
100
700
500 0
1.71
1.80
1.89
2.50
2.70
3.00
3.30
3.60
4.20
4.50
5.00
5.50
1.71
1.80
1.89
2.50
2.70
3.00
3.30
3.60
4.20
4.50
5.00
5.50
Figure 46. Maximum Power On Delay vs. VDD, Figure 47. Maximum Power On Delay vs. VDD,
BG=550 µs, Regulator and Charge Pump set to automatic BG=100 µs, Regulator and Charge Pump set to automatic
ON/OFF ON/OFF
Each of the ACMP cells has a positive input signal that can be provided by a variety of external sources. There is also a selectable
gain stage (1X, 0.5X, 0.33X, 0.25X) before connection to the analog comparator. The Gain divider is unbuffered and consists of
250 KΩ (typ.) resistors, see Table 75. For gain divider accuracy refer to Table 76. IN- voltage range: 0 - 1.2 V. Can use Vref
selection VDD/4 and VDD/3 to maintain this input range.
Each cell also has a hysteresis selection, to offer hysteresis of 0 mV, 25 mV, 50 mV or 200 mV. The 50 mV and 200 mV hysteresis
options can be used with internal voltage reference only, while 25 mV hysteresis option can be used with both internal and external
voltage reference. The 50 mV and 200 mV hysteresis options are one way hysteresis. It means that the actual thresholds will be
Vref (high threshold) and Vref - hysteresis (low threshold). The ACMP output will retain its previous value, if the input voltage is
within threshold window (between Vref and Vref - hysteresis). Please note: for the 25 mV hysteresis option threshold levels will
be Vref + hysteresis/2 (high threshold) and Vref – hysteresis/2 (low threshold).
Note: Any ACMP powered on enables the Bandgap internal circuit as well. An analog voltage will appear on Vref even when the
Force Bandgap option is set as Disabled.
For high input impedance when using the gain divider (x0.25, x0.33, x0.5), it is possible to use the input buffer (except ACMP5).
However, this will add an offset, see Figure 48. to Figure 51. .
80
Upper Limit @ VDD≥3.3V
60 Lower Limit @ VDD≥3.3V
Upper Limit @ VDD=1.71V
Lower Limit @ VDD=1.71V
40
20
Voffset (mV)
-40
-60
-80
Figure 48. Buffer Input Voltage Offset vs. Voltage Reference at T = (-40.... +85)°C,
Buffer Bandwidth = 1 kHz, Vhys = 0 mV, Gain = 1.
40
Upper Limit @ VDD≥3.3V
Lower Limit @ VDD≥3.3V
30
Upper Limit @ VDD=1.71V
Lower Limit @ VDD=1.71V
20
10
Voffset (mV)
-20
-30
-40
Figure 49. Buffer Input Voltage Offset vs. Voltage Reference at T = (-40.... +85)°C,
Buffer Bandwidth = 5 kHz, Vhys = 0 mV, Gain = 1.
20
15
Upper Limit @ VDD≥3.3V
10 Lower Limit @ VDD≥3.3V
Upper Limit @ VDD=1.71V
5 Lower Limit @ VDD=1.71V
VOLTAGE REFERENCE (mV)
Voffset (mV)
0
50 250 600 850 1200
-5
-10
-15
-20
-25
Figure 50. Buffer Input Voltage Offset vs. Voltage Reference at T = (-40.... +85)°C,
Buffer Bandwidth = 20 kHz, Vhys = 0 mV, Gain = 1.
20
15
-10
-15
-20
Figure 51. Buffer Input Voltage Offset vs. Voltage Reference at T = (-40.... +85)°C,
Buffer Bandwidth = 50 kHz, Vhys = 0 mV, Gain = 1.
20%
Upper Limit
15%
Lower Limit
INPUT THRESHOLD VARIATION (%)
10%
5%
0%
50 150 250 350 450 550 650 750 850 950 1050 1150
-5%
-10%
-15%
VOLTAGE REFERENCE (mV)
-20%
-25%
Figure 52. Input Threshold Variation (including Vref variation, ACMP offset) vs.
Voltage Reference at T = (-40.... +85)°C, Vhys = 0 mV, VDD > 1.8 V.
Note 1: When VDD < 1.8 V voltage reference should not exceed 1100 mV.
PIN 19
VDD
DAC0
ACMP Buffer selectable gain will be 1.0X, 0.5X, 0.333X, 0.25X VREF out
selectable
gain 2-bit + ACMP0
PIN 6
-
PIN 7
Internal vref
27 values 5-bit
selectable gain will be 1.0X, 0.5X, 0.333X, 0.25X
From ADC PGA selectable
gain 2-bit + ACMP1
PIN 12
-
Internal vref
PIN 10 27 values
5-bit
selectable
PIN 13 gain 2-bit + ACMP2
-
selectable
gain 2-bit + ACMP3
PIN 15
-
Internal vref
27 values 5-bit PIN 18
DAC1
selectable gain will be 1.0X, 0.5X, 0.333X, 0.25X
selectable
gain 2-bit + ACMP4
PIN 3
-
Internal vref
27 values 5-bit
reg <836:837>
reg <832> Buffer bandwidth LBW
Selection Hysteresis
ACMP Selection
100 µA Buffer* reg <854:853>
Current
Source 01
PIN6: ACMP0(+) Selectable To Connection
00 Gain
+
Matrix 0 Input<33>
External VDD 1.71 V ~ 5.5 V L/S
10 Vref
pdb
-
reg <856:855>
ON after
BG on Delay
DAC0 out
11111
DAC1 out
11110
ACMP0 /2
11101
ACMP1 /2
11100
ACMP0
11011
ACMP1 From Connection
11010
Matrix 0 Output <69>
Internal 11001-
Vref 00000
reg <861>
reg <933:932>
reg <831>
LBW
Selection Hysteresis
100 µA
Current Selection
Source reg <858:857>
Pin 12: ACMP1(+)
00
ADC PGA out Selectable
01 Gain
+ To Connection
Matrix 1 Input <33>
ACMP0 Input (before gain) L/S
10 Vref
pdb
-
reg <860:859>
ON after
BG on Delay
DAC0 out
11111
DAC1 out
11110
ACMP0 /2
11101
ACMP1 /2
11100
ACMP0
11011
ACMP1 From Connection
11010
Matrix 1 Output <70>
Internal 11001-
Vref 00000
reg <901:897>
reg <862>
reg <931:930>
LBW
Selection Hysteresis
Selection
reg <865:864>
Pin 13 ACMP2(+)
0
Selectable + To Connection
Gain Matrix 1 Input <34>
ACMP0 Input (before gain) L/S
1 Vref
pdb
-
reg <863>
ON after
BG on Delay
DAC0 out
11111
DAC1 out
11110
ACMP2 /2
11101
ACMP1 /2
11100
ACMP2
11011
ACMP1 From Connection
11010
Matrix 1 Output <71>
Internal 11001-
Vref 00000
reg <906:902>
reg <866>
reg <929:928>
LBW
Selection Hysteresis
Selection
reg <868:867>
PIN15: ACMP3(+) 00
PIN13: ACMP2(+) Selectable
01 Gain
+ To Connection
Matrix 1 Input <35>
ACMP0 Input (before gain) L/S
10 Vref
pdb
-
reg<870:869>
ON after
BG on Delay
DAC0 out
11111
DAC1 out
11110
ACMP2 /2
11101
ACMP1 /2
11100
ACMP2
11011
ACMP1 From Connection
11010
Matrix 1 Output <72>
Internal 11001-
Vref 00000
reg <911:907>
reg <875>
reg <927:926>
LBW
Selection Hysteresis
Selection
reg <872:871>
PIN3: ACMP4(+) 00
PIN15: ACMP3(+) Selectable
01 Gain
+ To Connection
Matrix 0 Input <34>
ACMP0 Input (before gain) L/S
10 Vref
pdb
-
reg<874:873>
ON after
BG on Delay
DAC0 out
11111
DAC1 out
11110
ACMP2 /2
11101
ACMP1 /2
11100
ACMP2
11011
ACMP1 From Connection
11010
Matrix 0 Output <70>
Internal 11001-
Vref 00000
reg <916:912>
reg <880>
reg <925:924>
LBW
Selection Hysteresis
Selection
Pin4 ACMP5(+)
+ To Connection
Matrix 0 Input <35>
pdb L/S
Vref
-
ON after
BG on Delay
DAC0 out
11111
DAC1 out
11110
ACMP5 /2
11101
ACMP1 /2
11100
ACMP5
11011
ACMP1 From Connection
11010
Matrix 0 Output <71>
Internal 11001-
Vref 00000
reg <921:917>
The operation of the D Flip-Flop and Latch will follow the functional descriptions below:
DFF: CLK is rising edge triggered, then Q = D; otherwise Q will not change.
Latch: when CLK is Low, then Q = D; otherwise Q remains its previous value (input D has no effect on the output, when CLK is
High).
DFF/Latch0
From Connection Matrix 0 Output <38>
CK
nRST nSET
reg <679>
DFF/Latch1
From Connection Matrix 0 Output <41>
CK
nRST nSET
reg <683>
DFF/Latch2
From Connection Matrix 0 Output <44>
CK
nRST nSET
reg <687>
DFF/Latch3
From Connection Matrix 0 Output <46>
CK
DFF/Latch4
From Connection Matrix 0 Output <48>
CK
DFF/Latch5
From Connection Matrix 0 Output <50>
CK
DFF/Latch6
From Connection Matrix 1 Output <38>
CK
nRST nSET
reg <796>
DFF/Latch7
From Connection Matrix 1 Output <41>
CK
nRST nSET
reg <800>
DFF/Latch8
From Connection Matrix 1 Output <44>
CK
nRST nSET
reg <804>
DFF/Latch9
From Connection Matrix Output <46>
CK
DFF/Latch10
From Connection Matrix 1 Output <48>
CK
DFF/Latch11
From Connection Matrix 1 Output <50>
CK
Note: variable can be negative, since OSC can operate while Delay input changes. In this case it might be possible that we will
not see first period, if OSC rising edge appears immediately after input change.
Counter/delay macrocells (0, 2, 5, 6, 9) are connected to Matrix 0 with both inputs and outputs, counter/delay macrocells (1, 3, 4
7, 8) are connected to Matrix 1 with both inputs and outputs.
Four of the counter/delay generator macrocells (CNT/DLY 0,1,2,3) have an optional Edge Detector function.
Two of the counter/delay generator macrocells (CNT/DLY 2,4) have an optional Finite State Machine (FSM) function.These two
macrocells each have two additional matrix inputs for Up and Keep to support FSM functionality.
Two of the counter/delay generator macrocells (CNT/DLY 8,9) have an optional PWM Ramp function.
One of the counter/delay generator macrocells (CNT/DLY 0) can optionally serve as a Wake/Sleep Counter.
Mode Select: reg <1749:1748> Macrocell Function Select: reg <1751:1750> Wake/Sleep Output State: reg <1752>
CK_RCOSC IN
0
CK_RCOSC/4
1 To Connection
CK_RCOSC/24 CNT/DLY0 Matrix 0 Input <36>
2 Counter_end
CK_RCOSC/64
3
CK_LFOSC clk
4
CNT_END9
5
CK_RINGOSC
6
Matrix 0 Output <72>
7
Counter Control Data
reg <1744:1731>
CK_RCOSC IN
0
CK_RCOSC/4
1 To Connection
CK_RCOSC/24 CNT/DLY1 Matrix 1 Input <36>
2 Counter_end
CK_RCOSC/64
3
CK_LFOSC clk
4
CNT_END0
5
CK_RINGOSC
6
Matrix 1 Output <74>
7
Counter Control Data
reg <1766:1753>
CK_RCOSC 0
CK_RCOSC/4 1 IN
CK_RCOSC/12 2
CK_RCOSC/24 3 To Connection
CK_RCOSC/64 4 CNT/DLY2 Matrix 0 Input <37>
CNT_END1 5 Counter_end
Matrix 0 Output <72> 6
Matrix 0 Output <72> /8 7
CK_RINGOSC clk
8
Matrix 0 Output <83> 9
CK_LFOSC 10
CK_FSM/256 11
CK_PWM 12
Reserved 13
Reserved 14
Reserved 15 Counter Control Data
reg <1787:1774>
RC Osc IN
0
RC Osc/4
1 To Connection
RC Osc/24 CNT/DLY3 Matrix 1 Input <37>
2 Counter_end
RC Osc/64
3
LF Osc clk
4
CNT_END2
5
Ring Osc
6
Matrix 1 Output <74>
7
Counter Control Data
reg <1812:1799>
CK_RCOSC 0
CK_RCOSC/4 1 IN
CK_RCOSC/12 2
CK_RCOSC/24 3 To Connection
CK_RCOSC/64 4 CNT/DLY4 Matrix 1 Input <38>
CNT_END3 5 Counter_end
Matrix 1 Output <74> 6
Matrix 0 Output <72> /8 7
CK_RINGOSC clk
8
Matrix 0 Output <83> 9
CK_LFOSC 10
CK_FSM/256 11
CK_PWM 12
Reserved 13
Reserved 14
Reserved 15 Counter Control Data
reg <1827:1820>
RC Osc IN
0
RC Osc/4
1 To Connection
RC Osc/24 CNT/DLY5 Matrix 0 Input <38>
2 Counter_end
RC Osc/64
3
LF Osc clk
4
CNT_END4
5
Ring Osc
6
Matrix 0 Output <73>
7
Counter Control Data
reg <1845:1838>
RC Osc IN
0
RC Osc/4
1 To Connection
RC Osc/24 CNT/DLY6 Matrix 0 Input <39>
2 Counter_end
RC Osc/64
3
LF Osc clk
4
CNT_END5
5
Ring Osc
6
Matrix 0 Output <73>
7
Counter Control Data
reg <1859:1852>
RC Osc IN
0
RC Osc/4
1 To Connection
RC Osc/24 CNT/DLY7 Matrix 1 Input <39>
2 Counter_end
RC Osc/64
3
LF Osc clk
4
CNT_END6
5
Ring Osc
6
Matrix 1 Output <73>
7
Counter Control Data
reg <1873:1866>
CK_RCOSC 0
CK_RCOSC/4 1 IN
CK_RCOSC/12 2
CK_RCOSC/24 3 To Connection
CK_RCOSC/64 4 CNT/DLY8 Matrix 1 Input <40>
CNT_END7 5 Counter_end
Matrix 1 Output <73> 6
Matrix 0 Output <72> /8 7
CK_RINGOSC clk
8
Matrix 0 Output <83> 9
CK_LFOSC 10
CK_FSM/256 11
CK_PWM 12
Reserved 13
Reserved 14
Reserved 15 Counter Control Data
reg <1887:1880>
CK_RCOSC 0
CK_RCOSC/4 1 IN
CK_RCOSC/12 2
CK_RCOSC/24 3 To Connection
CK_RCOSC/64 4 CNT/DLY9 Matrix 0 Input <40>
CNT_END8 5 Counter_end
Matrix 0 Output <72> 6
Matrix 0 Output <72> /8 7
CK_RINGOSC clk
8
Matrix 0 Output <83> 9
CK_LFOSC 10
CK_FSM/256 11
CK_PWM 12
Reserved 13
Reserved 14
Reserved 15 Counter Control Data
reg <1902:1895>
DLYIN
offset
period
1 2 3 4 5
DLYOUT
DLYIN
offset
1 2 3 4 5
DLYOUT
DLYIN
offset
period
1 2 3 4 5
DLYOUT
DLYIN
offset
1 2 3 4 5
DLYOUT
RESETIN
CLK
Q 3 2 0 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Figure 87. Timing (reset rising edge mode, oscillator is forced on) for count data = 3
RESETIN
FROM MATRIX
CLK
Q 3 2 0 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Figure 88. Timing (reset falling edge mode, oscillator is forced on) for count data = 3
RESETIN
FROM MATRIX
CLK
COUNTEND
Q 3 2 0 3 2 1 0 3 2 1 0 3 0
Figure 89. Timing (reset high level mode, oscillator is autopowered on (controlled by reset)) for count data = 3
RESETIN
KEEP
COUNT_END
CLK
Q 3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0
Figure 90. CNT/FSM Timing Diagram (reset rising edge mode, oscillator is forced on, UP=0) for counter data = 3
RESETIN
KEEP
COUNTEND
CLK
Q 3 2 1 3 2 1 0 3 2 1 0 3 2 1 0 3
Figure 91. CNT/FSM Timing Diagram (set rising edge mode, oscillator is forced on, UP=0) for counter data = 3
RESETIN
KEEP
COUNTEND
CLK
FSM0 16383
Note: Q = current counter value FSM1 255
Figure 92. CNT/FSM Timing Diagram (reset rising edge mode, oscillator is forced on, UP=1) for counter data = 3
RESETIN
KEEP
COUNTEND
CLK
FSM0 16383
Note: Q = current counter value FSM1 255
Figure 93. CNT/FSM Timing Diagram (set rising edge mode, oscillator is forced on, UP=1) for counter data = 3
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY0 reg<1751:1750> 00: DLY
Macrocell Function 01: CNT
Select 10: Edge Detect
11: Wake Sleep Ratio Control
Wake Sleep Output reg<1752> 0: in Power Down Mode
State When WS Os- 1: in normal operation State
cillator is Power
Down
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY1 reg<1773:1772> 00: DLY
Macrocell Function 01: CNT
Select 10: Edge Detect
11: Reserved
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY2/FSM0 reg<1795:1794> 00: DLY
Macrocell Function 01: CNT/FSM
Select 10: Edge Detect
11: None
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY3 reg<1819:1818> 00: DLY
Macrocell Function 01: CNT
Select 10: Edge Detect
11: CNT (the Reset From Matrix not Control the Oscillator)
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY4/FSM1 reg<1834> 0: DLY
Macrocell Function 1: CNT/FSM
Select
FSM1 Input data reg<1836:1835> 00: 8 Bits NVM data
Source Select 01: 8bits ADC data
10: 8MSBs SPI Parallel data
11: 0
CNT4 Value Control reg<1837> 0: Reset (CNT value = 0)
1: Set (CNT value = FSM data)
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY5 reg<1851> 0: DLY
Macrocell Function 1: CNT
Select
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY6 reg<1865> 0: DLY
Macrocell Function 1: CNT
Select
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY7 reg<1879> 0: DLY
Macrocell Function 1: CNT
Select
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY8 reg<1894>
0: DLY
Macrocell Function
1: CNT/PWM_RAMP
Select
If CNTReset Mode;
00: Both Edge Reset
01: Falling Edge Reset
10: Rising Edge Reset
11: High level Reset
CNT/DLY9 reg<1909>
00: DLY
Macrocell Function
01: CNT
Select
Both the DCMP and PWM logic can operate at up to a frequency of 10 MHz. The input power for the three logic macrocells is
controlled independently by reg <1678> for DCMP0/PWM0, reg <1698> for DCMP1/PWM1 and reg <1718> for DCMP2/PWM2.
PWM power-down control is configured by reg <1677> which is also shared with the ADC and OSC.
All three DCMP logic macrocells have a positive (IN+) and a negative (IN-) input. The signal (through the IN+ input) takes the
value from a 4:1 MUX selection between the following signals:
The signal (through the IN- input) takes the value from a 4:1 MUX selection between the following signals:
• 8-bit signal from the CNT (CNT9'Q <7:0> for DCMP1 or CNT8'Q <7:0> for DCMP0 and DCMP2)
• 8-bit signal from the SPI logic cell output (SPI<7:0> for DCMP0 and DCMP2 or SPI<15:8> for DCMP1)
• 8-bit signal from the FSM (FSM1' Q <7:0> for DCMP0 or FSM0'Q<7:0> for DCMP1 and DCMP2)
• 8-bit user defined signal value.
The two 8-bit parallel data inputs from IN+ and IN- are compared within the DCMP logic macrocells to produce the output (OUT+)
and an Equal signal (EQ).
There are two cases for the OUT+ signal controlled by reg <1714>, reg <1694>, reg <1673>.
CLK
IN+
(ADC Parallel data) 255 240 78 254 200 178 248 95
IN-
(CNT8'Q [7:0]) 255 254 253 252 251 250 249 248
EQ
EQ = 0
OUT = 1 EQ = 0
EQ = 1 OUT = 0
OUT = 0
OUT
IN+ for the PWM is an 8-bit data string that can be selected from one of four sources;
IN-’s 8-bit data string for all PWMs is sourced from an 8-bit signal from CNT/DLY1.
The output (OUT+) duty cycle can be set to either count down to 0% or count up to 100% and each PWM is independently
controlled by the value of reg<1673> (PWM0), reg<1694> (PWM1), and reg<1714> (PWM2). When both inputs are equal the
output signal (EQ) will go high. The outputs (OUT- and OUT+) are non-overlapping.
• PWM output duty cycle ranges from 0% to 99.61% and is determined by: Output Duty Cycle = IN+/256
• (IN+ = 0: output duty cycle = 0/256 = 0%; IN+ = 255: output duty cycle = 255/256 = 99.61%)
• Output signals are triggered by the rising or falling edge of the CKOSC signal (defined by bit regs <1676>, <1697>, <1717>).
• PWM output duty cycle ranges from 0.39% to 100% and is determined by Output Duty Cycle = (IN+ + 1)/256
• (IN+ = 0: output duty cycle = 1/256 = 0.39%; IN+ = 255: output duty cycle = 256/256 = 100%)
• Output signals are triggered by the rising or falling edge of the CKOSC signal (defined by bit regs <1676>, <1697>, <1717>).
reg <1678>
ADC<7:0>
00
8MSBs SPI
reg 0 <1730:1723> 01
00 FSM0<7:0> IN+
reg 1 <1710:1703> 10
01
reg 2 <1690:1683> 11 DCMP0/PWM0
10
reg 3 <1669:1662> To Connection Matrix 1 Input <43>
11 CNT8_Q<7:0>
00 OUT+
reg0 To Connection Matrix 1 Input <42>
01
8LSBs SPI IN- EQ/OUT-
10
FSM1<7:0>
11
CK OSC
reg <1673> Output Range Select
reg <1682:1681> reg <1676> 0 = 0% to 99.61%
1 = 0.39% to 100%
reg <1698>
ADC <7:0>
00
8LSBs SPI
Connection Matrix 1 01
Output <84:83> FSM1<7:0> IN+
10
reg1
11 DCMP1/PWM1
reg 3 <1669:1662> To Connection Matrix 1 Input <45>
00 CNT9_Q<7:0> OUT+
reg 2 <1690:1683> 00
01 To Connection Matrix 1 Input <44>
reg 1 <1710:1703> 01
10 8LSBs SPI IN- EQ/OUT-
reg 0 <1730:1723> 10
11 FSM0<7:0>
11
CK OSC
reg <1694> Output Range Select
reg <1702:1701> reg <1697> 0 = 0% to 99.61%
1 = 0.39% to 100%
reg <1718>
ADC>7:0>
00
SPI <15:8>
01
FSM1<7:0> IN+
10
reg3
11 DCMP2/PWM2
To Connection Matrix 1 Input <47>
CNT8_Q<7:0> OUT+
00
reg <1690:1683> To Connection Matrix 1 Input <46>
01 IN-
8LSBs SPI EQ/OUT-
10
FSM0<7:0> (CNT2_Q[7:0])
11
CK OSC
reg <1714> Output Range Select
reg <1722:1721> reg <1717> 0 = 0% to 99.61%
1 = 0.39% to 100%
The dead band interval can be controlled with NVM bits from PWM0 reg<1722:1720>, from PWM1 reg<1693:1691>, from PWM2
reg<1713:1711>. The typical dead band time starts at 8 ns and can go to 64 ns, increasing by 8 ns intervals.
For the Delay dead band control, the dead time control range is:
PWM (out)
Reference
outp
outn
The power down source for the DCMP/PWM logic cells is selected by reg <1521:1516>. The DCMP/PWM logic cells can then
be turned on or off individually with the appropriate register. The power down control of each logic cell is managed by the following
register settings:
• When reg<1678> = “0” DCMP0/PWM0 is powered down, when “1” logic cell is ON
• When reg<1698> = “0” DCMP1/PWM1 is powered down, when “1” logic cell is ON
• When reg<1718> = “0” DCMP2/PWM2 is powered down, when “1” logic cell is ON
The three DCMP/PWM logic cells can invert the CKOSC input signal during the compare or PWM function. reg <1676>, reg <
1697>, and reg <1717 > is used to control the three logic cells clock inversion for PWM0, PWM1, and PWM2 respectively.
For serial to parallel operation (S2P), the serial data in (MOSI) comes from PIN 10 of the SLG46620. The S2P will produce a
16-bit parallel data output (S2P<15:0>) where the MSB <15:8> can be used by the PWM/DCMP0_IN+, PWM/DCMP1_IN-,
PWM/DCMP2_IN+ and FSM1 logic cells, while the LSB <7:0> can be used by the PWM/DCMP0_IN-, PWM/DCMP1_IN+,
PWM/DCMP2_IN- and FSM0 logic cells.
In parallel to serial mode (P2S) there is an additional configuration of the length of converted code - 8-bit and 16-bit. With 8-bit
configuration the parallel data from FSM0 or ADC can be converted to serial data. PIN 10 is used to output this 8-bit serial data
out (MISO) signal. With 16 bit configuration the parallel data from FSM0 and FSM1 can be converted into a serial code. 8 LSB
bits of FSM1 data will be sent to PAR_IN<7:0> and 8 bits of FSM0 will be sent to PAR_IN<15:8>. Same as in 8-bit mode 16 bit
serial data will be output to PIN 10.
PWM/DCMP2 IN+
ADC Buffer Enable reg <1656> PDO<15:8>
I/O Mode reg <1661>
SPI
SPI Mode reg <1659:1658>
16/8-bit Mode select reg <1660> PDO <7:0>
0X
10 Pin 10
11
In addition to setting the clock frequency, it is possible to configure the clock polarity and phase with respect to the data. This is
configured by the CPOL and CPHA respectively.
Figure 100. shows the SPI timing diagram when CPHA=0; in this mode data can only be transmitted from serial to parallel, not
from parallel to serial. Figure 101. shows the SPI timing diagram when CPHA=1; in this mode data can be transmitted both from
serial to parallel and from parallel to serial.
CSB tCSW
tCKR
tCKF
SCLK (CPOL=0) tCSS tCH tCL tCP tCSH
tDIS tDIH
SDI MSB Bit[1] LSB MSB Bit[1] LSB
Figure 100. Timing Diagram showing Clock Polarity and Phase, CPHA=0
CSB tCSW
tCKR
tCKF
SCLK (CPOL=0) tCSS tCH tCL tCP tCSH
tCKR
tCKF
SCLK (CPOL=1) tCSH
tDOD tDOS tDOD
tDOE tDOH
tDOR
tDOF
tIR
tIF
Interrupt
tDIS tDIH
Figure 101. Timing Diagram showing Clock Polarity and Phase, CPHA = 1
That is, CPHA=0 means sample on the leading (first) clock edge, while CPHA=1 means sample on the trailing (second) clock
edge, regardless of whether that clock edge is rising or falling. Note that with CPHA=0, the data must be stable for a half cycle
before the first clock cycle.
The MOSI and MISO signals are usually stable (at their reception points) for the half cycle until the next clock transition. SPI
master and slave devices may well sample data at different points in that half cycle.
This adds more flexibility to the communication channel between the master and slave.
When the parallel data is going to be loaded into the buffer in SPI, the SPI will generate the "sync" signal, it will be gating the
ADC/PWM CLOCK or FSM CLOCK/256 to stop the running ADC, PWM, FSM or CNTs to avoid mis-catch data due to the
asynchronization of SCLK and the internal clocks, see Figure 92. .
SYNC
CK_INT
sync_pipe
The delay is within 2 CK_INT period
CK_synced
SPI data buffer can be used to have DCMP compare two different ADC timing data. The ADC buffer is shared with the DFFs that
are in the SPI macrocell. When the SPI is set to ADC buffer mode (reg<1656>=1), the DFF 's data inputs of SPI's parallel outputs
are from ADC and the DFF's clock source comes from matrix0_output83 which can be programmed by user. The DFF's output
(SPI[7:0]) is the ADC data's buffered output which can be sent to DCMP/PWMs or FSM (CNT)s.
REG<1656>
0
0,ADC[7:0] 16 SPI [15:0]
D Q
16
1 Ck
RB Q
REG <1659>
SPI_SCLK
(matrix0_out83)
Resetb_core
Each Pipe Delay has three input signals from the matrix, Input (IN), Clock (CLK) and Reset (RST). The pipe delay cell is built
from 16 D Flip-Flop logic cells that provide two delay options which are user selectable. The DFF cells are tied in series where
the output (Q) of each delay cell goes to the next DFF cell. The two outputs (OUT0 and OUT1) provide user selectable options
for 1 – 16 stages of delay. There are delay output points for each set of the OUT0 and OUT1 outputs to a 4-input mux that is
controlled by register bits. The 4-input mux is used to control the selection of the amount of delay.
The overall time of the delay is based on the clock used in the SLG46620 design. Each DFF cell has a time delay of the inverse
of the clock time (either external clock or any Oscillator within the SLG46620). The sum of the number of DFF cells used will be
the total time delay of the Pipe Delay logic cell.
reg <1617:1614>
reg <1618>
0
OUT1
To Connection
1 Matrix 0 Input <21>
OUT0
To Connection
Matrix 0 Input <20>
reg <1613:1610>
reg <1626:1623>
reg <1627>
0
OUT1
To Connection
1 Matrix 1 Input <21>
OUT0
To Connection
Matrix 1 Input <20>
reg <1622:1619>
Note: The input signal must be longer than the delay, otherwise it will be filtered out.
To Connection
From Connection Matrix 0 Output <54> Programmable Matrix 0 Input <22>
IN OUT
Delay 0
reg <1604>
Delayed Edge Detector Output
To Connection
From Connection Matrix 1 Output <54> Programmable Matrix 1 Input <22>
IN OUT
Delay 1
reg <1609>
Delayed Edge Detector Output
time1 time1
IN
time2 time2
time1 time1
IN
time1
time1 can be set by register value (150 ns, 300 ns, 450 ns, 600 ns)
time2 is a fixed value at ~200 ns
IN
The SLG46620 has a Voltage Reference Macrocell to provide references to the six analog comparators. This macrocell can supply
a user selection of fixed voltage references, /3 and /4 reference off of the VDD power supply to the device, and externally supplied
voltage references from pins 5, 7,10 and 14. The macrocell also has the option to output reference voltages on pins 18 and 19.
See table below for the available selections for each analog comparator. Also see Figure 111. below, which shows the reference
output structure.
reg <896:892>
reg <936>
External VDD
ACMP0_VREF 2.7 V - 5.5 V
ext_vref_acmp5
(Pin5)
reg <901:897> Pin19_aio_en
ext_vref_acmp0 01 reg <1962:1961>=11
ext_vref_acmp1 ACMP1_VREF 10 Vref Out_0 (Pin19)
OP
(Pin7)
11
ext_vref_acmp0 reg <906:902>
ext_vref_acmp1
ext_vref_acmp2 ACMP2_VREF reg <879:878>
ext_vref_acmp3 Pin18_aio_en
ext_vref_acmp4 01 reg <1955:1954>=11
ext_vref_acmp5 reg <911:907>
10 Vref Out_1 (Pin18)
(Pin10) OP
ACMP3_VREF
11
ext_vref_acmp2
ext_vref_acmp3 reg <916:912>
ext_vref_acmp4
(Pin14) ACMP4_VREF reg <877:876>
DAC0
There are two divider stages for the RC and Ring oscillators, one divider stage for the Low-Frequency oscillator, that gives the
user flexibility for introducing clock signals to connection matrix 0 and 1, as well as various other Macrocells. The predivider (first
stage) for RC Oscillator allows the selection of /1, /2, /4 or /8, for LF Osc - /1, /2, /4 or /16 and for Ring Osc - /1, /4, /8 or /16 to
divide down frequency from the fundamental. The second stage divider (does not apply for LF Osc) has an input of frequency
from the predivider, and outputs one of eight different frequencies on Connection Matrix Input lines <49> and <48>. The output
of LF Osc Predivider goes directly on Connection Matrix Input line <50>. Please see Figure 100. below, for more details on the
SLG46620 clock scheme.
The Matrix Power Down function allowes to switch on/off the oscillators using an external pin (reg<1648> for 25 kHz / 2 MHz
OSC, reg<1652> for LF OSC and reg<1638> for Ring Osc):
• Enable <1>. If PWR DOWN input of oscillator is LOW, the oscillator will be turned on. If PWR DOWN input
The user can select two OSC POWER MODEs (reg<1649> for 25 kHz / 2 MHz OSC, reg<1653> for LF OSC and reg<1640> for
Ring Osc):
• If FORCE POWER ON <1> is selected, the OSC will run when the SLG46620 is powered on.
• If AUTO POWER ON <0> is selected, the OSC will run only when any macrocell that uses OSC is powered on.
CK_RCOSC
CK_LFOSC reg<2:0>
Cnt_end0 used as the wake/
shared with
wake/sleep reg <1655:1654> sleep signal to matrix in
0
oscillator DIV4 1
DIV24 2
LF Osc DIV1/2/4/16
DIV64 3
4
CNT/ DLY
(1.73 kHz) cnt(x-1)_end 5
clk cnt_end
6
7
Matrix Out
CNT0/CNT1/CNT3/CNT5/CNT6/CNT7
Matrix0_72 for CNT0/CNT2/CNT9/
Matrix0_73 for CNT5/CNT6
Matrix1_73 for CNT7/CNT8/PWM/ADC
Matrix1_74 for CNT1/CNT3/CNT4 reg<3:0>
0
CNT/
DIV4 1 DLY/
DIV12 2
DIV24 3 FSM/
DIV64 4
cnt(x-1)_end 5 PWM_ramp
6 clk
DIV8 7
CK_SPI_SCK 8
Matrix Out0_83 9
10
DIV256 11
12
CNT2/CNT4/CNT8/CNT9
0
Ring Osc DIV1/4/8/16 0 PWM0/PWM1/PWM2/
(27 MHz) 1
2
reg <1636:1635> 3
DIV16 0 ADC
CK_ADC
clk
reg <1639>
CLK
Note 2: ‘OSC enable’ signal appears when any macrocell that uses OSC is powered on.
650
640
630
620
POWER ON DELAY (µS)
610
600
590
580
570
560
550
1.7
1.8
1.9
2.5
2.7
3.0
3.3
3.6
4.2
4.5
5.0
5.5
VDD (V)
Figure 114. Low Frequency Oscillator Maximum Power On Delay vs. VDD at room temperature
1,100
1,000
POWER ON DELAY (nS)
900
800
700
600
500
1.7
1.8
1.9
2.5
2.7
3.0
3.3
3.6
4.2
4.5
5.0
5.5
VDD (V)
Figure 115. RC Oscillator Maximum Power On Delay vs. VDD at room temperature, RC OSC=2 MHz.
45
44.5
44
POWER ON DELAY (µS)
43.5
43
42.5
42
41.5
41
40.5
40
1.7
1.8
1.9
2.5
2.7
3.0
3.3
3.6
4.2
4.5
5.0
5.5
VDD (V)
Figure 116. RC Oscillator Maximum Power On Delay vs. VDD at room temperature, RC OSC=25 kHz.
180
160
140
POWER ON DELAY (µS)
120
100
80
60
40
20
0
1.71
1.80
1.89
2.50
2.70
3.00
3.30
3.60
4.20
4.50
5.00
5.50
VDD (V)
Figure 117. Ring Oscillator Maximum Power On Delay vs. VDD at room temperature.
2.15
Fmax@VDD=1.8V
Fmin@VDD=1.8V
2.1 Fmax@VDD=3.3V
Fmin@VDD=3.3V
Fmax@VDD=5.0V
2.05
Fmin@VDD=5.0V
F(MHz)
1.95
1.9
1.85
Ͳ40
Ͳ20
20
40
60
80
T(°C)
27
Fmax @ VDD=1.8 V
25
24.5
24
23.5
23
-40
-20
20
40
60
80
T (°C)
2.1
1.9
Fmax @ VDD=1.8 V
1.8 Fmin @ VDD=1.8 V
Fmax @ VDD=3.3 V
F (kHz)
1.5
1.4
1.3
-40
-20
20
40
60
80
T (°C)
29.5
29
28.5
28
Fmax@VDD=1.8V
27.5
Fmin@VDD=1.8V
F(MHz)
27 Fmax@VDD=3.3V
Fmin@VDD=3.3V
26.5
Fmax@VDD=5.0V
26 Fmin@VDD=5.0V
25.5
25
24.5
Ͳ40
Ͳ20
20
40
60
80
T(°C)
Figure 121. Ring Oscillator Frequency vs. Temperature, Ring OSC=27 MHz
The SLG46620 is guaranteed to be powered down and nonoperational when the VDD voltage (voltage on PIN1) is less than
Power Off Threshold (see in Electrical Characteristics table), but not less than -0.6 V. Another essential condition for the chip to
be powered down is that no voltage higher (see Note 1) than the VDD voltage is applied to any other PIN. For example, if VDD
voltage is 0.3 V, applying a voltage higher than 0.3 V to any other PIN is incorrect, and can lead to incorrect or unexpected device
behavior.
Note 1. There is a 0.6V margin due to forward drop voltage of the ESD protection diodes.
To start the POR sequence in the SLG46620, the voltage applied on the VDD should be higher than the Power_ON threshold
(see Note 2). The full operational VDD range for the SLG46620 is 1.71V – 5.5V (1.8 V ±5% - 5 V±10%). This means that the VDD
voltage must ramp up to the operational voltage value, but the POR sequence will start earlier, as soon as the VDD voltage rises
to the Power_ON threshold. After the POR sequence has started, the SLG46620 will have a typical period of time to go through
all the steps in the sequence (see Figure 109. and Figure 110. ), and will be ready and completely operational after the POR
sequence is complete.
Note 3. VDD ramp rising speed must be less than 0.6 V/µs after power on. Violating this specification may cause chip to restart.
To power down the chip the VDD voltage should be lower than the operational and to guarantee that chip is powered down it
should be less than Power Off Threshold.
All PINs are in high impedance state when the chip is powered down and while the POR sequence is taking place. The last step
in the POR sequence releases the I/O structures from the high impedance state, at which time the device is operational. The pin
configuration at this point in time is defined by the design programmed into the chip. Also as it was mentioned before the voltage
on PINs can’t be bigger than the VDD, this rule also applies to the case when the chip is powered on.
VDD
t
POR_NVM
(reset for NVM)
t
NVM_ready_out
t
POR_GPI
(reset for input enable)
t
POR_LUT
(reset for LUT output)
t
POR_CORE
(reset for DLY/RCO/DFF
/Latch/Pipe DLY)
t
POR_OUT
(generate low to high to matrix)
t
POR_GPO
(reset for output enable)
t
As can be seen from Figure 122. after the VDD has start ramping up and crosses the Power_ON threshold, first, the on-chip
NVM memory is reset. Next the chip reads the data from NVM, and transfers this information to SRAM registers that serve to
configure each macrocell, and the Connection Matrix which routes signals between macrocells. The third stage causes the reset
of the input pins, and then to enable them. After that, the LUTs are reset and become active. After LUTs the Delay cells, RC OSC,
DFFs, Latches and Pipe Delay are initialized. Only after all macrocells are initialized internal POR signal (POR macrocell output)
goes from LOW to HIGH. The last portion of the device to be initialized are the output PINs, which transition from high impedience
to active at this point.
The typical time that takes to complete the POR sequence varies by device type in the GreenPAK family. It also depends on many
environmental factors, such as: slew rate, VDD value, temperature and even will vary from chip to chip (process influence).
To have a full picture of SLG46620 operation during powering and POR sequence, review the overview the macrocell output
states during the POR sequence (Figure 123. describes the output signals states).
First, before the NVM has been reset, all macrocells have their output set to logic LOW (except the output PINs which are in high
impedance state). Before the NVM is ready, all macrocell outputs are unpredictable (except the output PINs). On the next step,
some of the macrocells start initialization: input pins output state becomes LOW; LUTs also output LOW. Only P DLY macrocell
configured as edge detector becomes active at this time. After that input PINs are enabled. Next, only LUTs are configured. Next,
all other macrocells are initialized. After macrocells are initialized, internal POR matrix signal switches from LOW to HIGH. The
last are output PINs that become active and determined by the input signals.
VDD
t
Prog. Edge_Detector_out
Unpredictable Determined by Input signals
to matrix
Determined by initial state t
DFF/Latch_out
Unpredictable Determined by Input signals
to matrix
Determined by input signals t
OUT = IN without Delay
Delay_out Determined by Input signals
Unpredictable
to matrix Starts to detect input edges
t
POR_out
Unpredictable
to matrix
t
Ext. GPO Tri-state
Determined by input signals
t
Figure 123. Internal Macrocell States during POR sequence
All internal macrocells by default have initial low level. Starting from indicated powerup time of 1.15 V - 1.6 V, macrocells in
SLG46620 are powered on while forced to the reset state. All outputs are in Hi-Z and chip starts loading data from NVM. Then
the reset signal is released for internal macrocells and they start to initialize according to the following sequence:
The VREF output pin driving signal can precede POR output signal going high by 3 µs - 5 µs. The POR signal going high indicates
the mentioned powerup sequence is complete.
Note: The maximum voltage applied to any PIN should not be higher than the VDD level. There are ESD Diodes between PIN
–> VDD and PIN –> GND on each PIN. So if the input signal applied to PIN is higher than VDD, then current will sink through the
diode to VDD. Exceeding VDD results in leakage current on the input PIN, and VDD will be pulled up, following the voltage on
the input PIN. There is no effect from input pin when input voltage is applied at the same time as VDD.
VDD (V)
2V
1.6 V
Time
During powerdown, macrocells in SLG46620 are powered off after VDD falling down below Power Off Threshold. Please note
that during a slow rampdown, outputs can possibly switch state during this time.
Note: External Reset affects Pipe Delay only if its nRST is connected to POR.
External Reset
(high active)
VDD
t
POR_NVM
(reset for NVM)
t
NVM_ready_out
t
POR_GPI
(reset for input enable)
t
POR_LUT
(reset for LUT output)
t
POR_CORE
(reset for DLY/RCO/DFF
/Latch/Pipe DLY)
t
POR_OUT
(generate low to high to matrix)
t
POR_GPO
(reset for output enable)
t
External Reset
(rising edge detect)
VDD t
t
POR_NVM
(reset for NVM)
t
NVM_ready_out
t
POR_GPI
(reset for input enable)
t
POR_LUT
(reset for LUT output)
t
POR_CORE
(reset for DLY/RCO/DFF
/Latch/Pipe DLY)
t
POR_OUT
(generate low to high
to matrix)
t
POR_GPO
(reset for output
enable)
t
External Reset
(falling edge detect)
VDD t
t
POR_NVM
(reset for NVM)
t
NVM_ready_out
t
POR_GPI
(reset for input enable)
t
POR_LUT
(reset for LUT output)
t
POR_CORE
(reset for DLY/RCO/DFF
/Latch/Pipe DLY)
t
POR_OUT
(generate low to high
to matrix)
t
POR_GPO
(reset for output
enable)
t
INV_0 Gate
From Connection Matrix0 Output <55> To Connection Matrix0 Input <23>
INV_1 Gate
From Connection Matrix1 Output <55> To Connection Matrix1 Input <23>
Register Bit
Signal Function Register Bit Definition
Address
reg<5:0> Matrix 0 Out: In0 of LUT2_0
reg<11:6> Matrix 0 Out: In1 of LUT2_0
reg<17:12> Matrix 0 Out: In0 of LUT2_1
reg<23:18> Matrix 0 Out: In1 of LUT2_1
reg<29:24> Matrix 0 Out: In0 of LUT2_2
reg<35:30> Matrix 0 Out: In1 of LUT2_2
reg<41:36> Matrix 0 Out: In0 of LUT2_3
reg<47:42> Matrix 0 Out: In1 of LUT2_3
reg<53:48> Matrix 0 Out: In0 of LUT3_0
reg<59:54> Matrix 0 Out: In1 of LUT3_0
reg<65:60> Matrix 0 Out: In2 of LUT3_0
reg<71:66> Matrix 0 Out: In0 of LUT3_1
reg<77:72> Matrix 0 Out: In1 of LUT3_1
reg<83:78> Matrix 0 Out: In2 of LUT3_1
reg<89:84> Matrix 0 Out: In0 of LUT3_2
reg<95:90> Matrix 0 Out: In1 of LUT3_2
reg<101:96> Matrix 0 Out: In2 of LUT3_2
reg<107:102> Matrix 0 Out: In0 of LUT3_3
reg<113:108> Matrix 0 Out: In1 of LUT3_3
reg<119:114> Matrix 0 Out: In2 of LUT3_3
reg<125:120> Matrix 0 Out: In0 of LUT3_4
reg<131:126> Matrix 0 Out: In1 of LUT3_4
reg<137:132> Matrix 0 Out: In2 of LUT3_4
reg<143:138> Matrix 0 Out: In0 of LUT3_5
reg<149:144> Matrix 0 Out: In1 of LUT3_5
reg<155:150> Matrix 0 Out: In2 of LUT3_5
reg<161:156> Matrix 0 Out: In0 of LUT3_6
reg<167:162> Matrix 0 Out: In1 of LUT3_6
reg<173:168> Matrix 0 Out: In2 of LUT3_6
reg<179:174> Matrix 0 Out: In0 of LUT3_7
reg<185:180> Matrix 0 Out: In1 of LUT3_7
reg<191:186> Matrix 0 Out: In2 of LUT3_7
reg<197:192> Matrix 0 Out: In0 of LUT4_0
reg<203:198> Matrix 0 Out: In1 of LUT4_0
reg<209:204> Matrix 0 Out: In2 of LUT4_0 or PGEN CLK
reg<215:210> Matrix 0 Out: In3 of LUT4_0 or PGEN ResetB
reg<221:216> Matrix 0 Out: Set or Resetb of DFF0/Latch0
reg<227:222> Matrix 0 Out: Data of DFF0/Latch0
reg<233:228> Matrix 0 Out: Clock of DFF0/Latch0
reg<239:234> Matrix 0 Out: Set or Resetb of DFF1/Latch1
reg<245:240> Matrix 0 Out: Data of DFF1/Latch1
0: Power Down
reg<834> DAC1 Power On Signal
1: Power On When DAC0 Used Only, need set this bit
Reserved
reg<835>
00: 1 K
01: 5 K
reg<837:836> ACMP Buffer Bandwidth Selection
10: 20 K
11: 50 K
00: Reserved
01: Reserved
reg<839:838> ADC Speed Selection
10: 100 kHz
11: Reserved
0: Power Down
reg<840> DAC0 Power On Signal
1: Power On When DAC0 Used Only, need set this bit
00: ADC VREF
01: Reserved
reg<842:841> ADC Vref Source Select 10: 1/4 Vdd
11: None
reg<1981:1975> Reserved
reg<1987:1982> Reserved
reg<1995:1988> Reserved
reg<2001:1996> Reserved
reg<2007:2002> Reserved
0: 1.8 V Use Regulator
reg<2008> Bypass Vdd to 1.8 V Device Only When Power is 1.8 V
1: Bypass Vdd as 1.8 V Device Power
0: Delay 4 us
reg<2009> Input pad Enable to Core nReset Delay 500 us Enable
1: Delay 500 us
0: Enable
reg<2010> Power Auto Detector Function for Charge Pump
1: Disable
reg<2012:2011> Reserved
reg<2014:2013> Reserved
SPI top Control
SPI Parallel Output Selection for Matrix 1 (in<44> --> 0: Matrix 1 Input From DCMP
reg<2015>
in<51>) 1: Matrix 1 Input From SPI Parallel Output <7: 0>
0X: PIN 10 dout From Matrix 0 (out67)
reg<2017:2016> SPI SDIO Output Control 10: From SPI (SDO)
11: From ADC serial Output
PIN 2 Reset Control
0: PIN 2 Edge Active
reg<2018> Bypass the PIN 2
1: PIN 2 High Active
0: Rising Edge
reg<2019> PIN2 Edge Detect Mode
1: Falling Edge
0: Enable
reg<2020> PIN2 Reset Enable
1: Disable
reg<2027:2021> Reserved Reserved
NVM
reg<2029:2028> Reserved
reg<2030> Reserved
Pin 1 Identifier
ARR Assembly + Rev. Code
26.2 TSSOP-20
Pin 1
YYWW Date Code
Identifier
Nominal Max Units Reel & Leader (min) Trailer (min) Tape Part
Package # of
Package Size Hub Size Length Length Width Pitch
Type Pins per Reel per Box Pockets Pockets
[mm] [mm] [mm] [mm] [mm] [mm]
STQFN
20L 2x3
20 2 x 3 x 0.55 3,000 3,000 178 / 60 100 400 100 400 8 4
mm 0.4P
COL
TSSOP
20L 173
20 6.5 x 6.4 4,000 4,000 330 / 100 42 336 42 336 16 8
MIL Green
Package
28.2 STQFN-20
Units: µm
RoHS Compliance
Renesas Electronics Corporation’s suppliers certify that its products are in compliance with the requirements of Directive 2011/65/EU of the European Parliament on
the restriction of the use of certain hazardous substances in electrical and electronic equipment. RoHS certificates from our suppliers are available on request.
These resources are intended for developers skilled in the art designing with Renesas products. You are solely responsible
for (1) selecting the appropriate products for your application, (2) designing, validating, and testing your application, and (3)
ensuring your application meets applicable standards, and any other safety, security, or other requirements. These
resources are subject to change without notice. Renesas grants you permission to use these resources only for
development of an application that uses Renesas products. Other reproduction or use of these resources is strictly
prohibited. No license is granted to any other Renesas intellectual property or to any third party intellectual property.
Renesas disclaims responsibility for, and you will fully indemnify Renesas and its representatives against, any claims,
damages, costs, losses, or liabilities arising out of your use of these resources. Renesas' products are provided only subject
to Renesas' Terms and Conditions of Sale or other applicable terms agreed to in writing. No use o any Renesas resources
expands or otherwise alters any applicable warranties or warranty disclaimers for these products.
Trademarks
Renesas and the Renesas logo are trademarks of Renesas
Electronics Corporation. All trademarks and registered
trademarks are the property of their respective owners.