SLG46538-A RENESAS | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 174

Technical content

Revision 2.5 1 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

Applications

The SLG46538-A provides a small, low power componen t for commonly used Mixed-Signal functions. The use r creates their circuit design by programming the one time Non-Volatile Memory (NVM) to configure the interconnect logic, the IO Pins, and the macrocells of the SLG46538-A. This highly versatile device allows a wide variety of Mixed-Signal functions to be designed within a very small, low power single integrated circuit. The additional power supply (V DD2 ) on the SLG46538-A provides the ability to interface two independent voltage domains within the same design. Users can configure pins, dedicated to each power supply, as inputs, outputs, or both (controlled dynamically by internal logic) to both V DD and V DD2 voltage domains. Using the available macrocells designers can implement Mixed-Signal functions bridging both domains or simply pass through level-translation in both High to Low and Low to High directions. Key Features  Four Analog Comparators (ACMP)  Two Voltage References (Vref)  Nineteen Combination Function Macrocells  Three Selectable DFF/LATCH or 2-bit LUTs  One Selectable Continuous DFF/LATCH or 3-bit LUT  Four Selectable DFF/LATCH or 3-bit LUTs  One Selectable Pipe Delay or 3-bit LUT  One Selectable Programmable Function Generator or 2-bit LUT  Five 8-bit Delays/Counters or 3-bit LUTs  Two 16-bit Delays/Counters or 4-bit LUTs  Two Deglitch Filters with Edge Detectors  State Machine  Eight States  Flexible Input Logic from State Transitions  Serial Communications  I2C Protocol Compliant  Pipe Delay – 16 Stage/3 Output (Part of Combination Function Macrocell)  Programmable Delay  Additional Logic Functions  One Inverter  Two Oscillators  Configurable 25 kHz or 2 MHz  25 MHz RC Oscillator  Crystal Oscillator  Power-On Reset  Eight Byte RAM + OTP User Memory  RAM Memory Space that is Readable and Writable via I  User Defined Initial Values Transferred from OTP  Logic & Mixed-Signal Circuits  Highly Versatile Macrocells  Read Back Protection (Read Lock)  Power Supply  Operating Temperature Range: -40 °C to 125 °C  RoHS Compliant/Halogen-Free  Available Package  20-pin TQFN: 3.5 mm x 3.5 mm x 0.75 mm, 0.5 mm pitch  AEC-Q100 Grade 1 Qualified  Infotainment  Navigation  Advanced Driver Assistance Systems (ADAS)  Automotive Display Clusters  Body Electronics

Revision 2.5 2 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

Contents

Revision 2.5 3 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

Revision 2.5 7 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Tables

Revision 2.5 8 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

Revision 2.5 9 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

1 Block Diagram

Figure 1: Block Diagram 3-bit LUT3_2 or DFF5 Vref Programmable Delay RC Oscillator ACMP0 ACMP1 ACMP2 ACMP3 Additional Logic Functions Combination Function Macrocells 2-bit LUT2_0 or DFF0 2-bit LUT2_2 or DFF2 2-bit LUT2_1 or DFF1 2-bit LUT2_3 or PGen 3-bit LUT3_1 or DFF4 3bit LUT3_0 or DFF3 3-bit LUT3_4 or DFF7 3-bit LUT3_3 or DFF6 FILTER_1 with Edge Detect POR I2C Serial Communication State Machine 8 states 3-bit LUT3_5 or CNT/DLY2 3-bit LUT3_6 or CNT/DLY3 3-bit LUT3_7 or CNT/DLY4 3-bit LUT3_8 or CNT/DLY5 3-bit LUT3_9 or CNT/DLY6 4-bit LUT4_0 or CNT/DLY0 4-bit LUT4_1 or CNT/DLY1 3-bit LUT3_10 or Pipe Delay FILTER_0 with Edge Detect

8 Byte RAM +

Revision 2.5 10 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

2 Pinout

2.1 PIN CONFIGURATION - TQFN- 20L

Table 1: Functional Pin Description TQFN 20L Pin # Pin Name Signal Name Function Input Options Output Options

1 V DD VDD Power Supply -- --

2 IO0 IO0 General Purpose Input

Low Voltage Digital Input --

3 IO1 IO1 General Purpose IO

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input -- VDD2 IO12 IO13 IO14 IO2 IO1 16 17 IO0 VDD 1 TQFN-20 (Top View) IO4 IO3 5 IO9 IO10 IO5 GND 11 IO7 IO6 8 9 IO8 IO16 IO15 18 19 IO17 Pin # Signal Name Pin Functions

1 V DD Power Supply

2 IO0 GPI

3 IO1 GPIO with OE

4 IO2 GPIO

5 IO3 GPIO with OE

6 IO4 GPIO/ACMP0+

7 IO5 GPIO with OE/ACMP0-

8 IO6 GPIO/SCL

9 IO7 GPIO/SDA

10 IO8 GPIO with OE/ACMP1+

11 GND GND

12 IO9 GPIO/ACMP0-/ACMP1-/ACMP2-/ACMP3-

13 IO10 GPIO with OE/ACMP2+/ACMP3+

15 IO12 GPIO/ACMP3+

16 IO13 GPIO with OE/XTAL0

17 IO14 GPIO/XTAL1/EXT_CLK0

18 IO15 GPIO with OE/Vref0/EXT_CLK1

19 IO16 GPIO with OE/Vref0

20 IO17 GPIO/EXT_CLK2

TP -- Leave unconnected or connect to GND OE : Output Enable ACMPx+ : ACMPx Positive Input ACMPx- : ACMPx Negative Input SCL : I 2C Clock Input SDA : I 2C Data Input/Output Vrefx : Voltage Reference Output EXT_CLKx : External Clock Input XTALx : Crystal TP : Thermal Pad. Thermal Pad is not connected to any pin, but it can be connected to GND for better thermal performance. Legend : TP

Revision 2.5 11 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

4 IO2 IO2 General Purpose IO

Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input Open-Drain PMOS (1x) (2x)

5 IO3 IO3 General Purpose IO

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input --

6 IO4

Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input Open-Drain PMOS (1x) (2x) ACMP0+ Analog Comparator 0 Positive Input Analog --

7 IO5

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input -- ACMP0- Analog Comparator 0 Negative Input Analog --

8 IO6

(1x) (2x) Digital Input with Schmitt Trigger -- Low Voltage Digital Input -- SCL I 2C Serial Clock Digital Input without Schmitt Trigger Open-Drain NMOS Digital Input with Schmitt Trigger Open-Drain NMOS Low Voltage Digital Input Open-Drain NMOS

9 IO7

(1x) (2x) Digital Input with Schmitt Trigger -- Low Voltage Digital Input -- SDA I 2C Serial Data Digital Input without Schmitt Trigger Open-Drain NMOS Digital Input with Schmitt Trigger Open-Drain NMOS Low Voltage Digital Input Open-Drain NMOS Table 1: Functional Pin Description (Continued) TQFN 20L Pin # Pin Name Signal Name Function Input Options Output Options

Revision 2.5 12 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

10 IO8

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) (4x) Low Voltage Digital Input Open-Drain PMOS (1x) (2x) ACMP1+ Analog Comparator 1 Positive Input Analog --

11 GND GND Ground -- --

12 IO9

Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) (4x) Low Voltage Digital Input -- EXT_Vref Analog Comparator Negative Input Analog --

13 IO10

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input -- ACMP2+ Analog Comparator 2 Positive Input Analog -- ACMP3+ Analog Comparator 3 Positive Input Analog --

14 V DD2 VDD2 Power Supply -- --

15 IO12

Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input Open-Drain PMOS (1x) (2x) ACMP3+ Analog Comparator 3 Positive Input Analog --

16 IO13

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input -- XTAL0 External Crystal Connection 0 -- Analog Table 1: Functional Pin Description (Continued) TQFN 20L Pin # Pin Name Signal Name Function Input Options Output Options

Revision 2.5 13 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

17 IO14

Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input Open-Drain PMOS (1x) (2x) XTAL1 External Crystal Connection 1 Analog -- EXT_CLK0 External Clock Connection 0 Digital Input without Schmitt Trigger -- Digital Input with Schmitt Trigger -- Low Voltage Digital Input --

18 IO15

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input -- Vref0 Voltage Reference 0 Output -- Analog EXT_CLK1 External Clock Connection 1 Digital Input without Schmitt Trigger -- Digital Input with Schmitt Trigger -- Low Voltage Digital Input --

19 IO16 IO16 General Purpose IO

with OE (Note 1) Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input -- Vref0 Voltage Reference 0 Output -- Analog

20 IO17

Digital Input without Schmitt Trigger Push-Pull (1x) (2x) Digital Input with Schmitt Trigger Open-Drain NMOS (1x) (2x) Low Voltage Digital Input Open-Drain PMOS (1x) (2x) EXT_CLK2 External Clock Connection Digital Input without Schmitt Trigger -- Digital Input with Schmitt Trigger -- Low Voltage Digital Input -- TP TP -- Thermal Pad. Leave un - connected or connect to GND. -- -- Note 1 General Purpose IO's with OE can be used to implement bidirectional signals under user control via Connection Matrix to OE signal in IO structure. Table 1: Functional Pin Description (Continued) TQFN 20L Pin # Pin Name Signal Name Function Input Options Output Options

Revision 2.5 14 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Table 2: Pin Type Definitions Pin Type Description VDD Power Supply IO Input/Output GND Ground V DD2 Power Supply 2 NC No Connection

Revision 2.5 15 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3 Characteristics

3.1 ABSOLUTE MAXIMUM RATINGS

Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, so functional operation of the device at these or any other conditions beyond those indi cated in the operational sections of the specification are not implied. Expo sure to Absolute Maximum Rating conditions for extended periods may affect device reliability.

3.2 ELECTROSTATIC DISCHARGE RATINGS

3.3 RECOMMENDED OPERATING CONDITIONS

Table 3: Absolute Maximum Ratings Parameter Min Max Unit Supply voltage on V DD relative to GND -0.5 7 V Supply voltage on V DD2 relative to GND -0.5 V DD + 0.5 V DC Input voltage GND - 0.5 VDD + 0.5 V IOs 9, 10, 12, 13, 14, 15, 16, 17 V DD2 + 0.5 Maximum Average or DC Current Through VDD Pin (per chip side) TJ = 85 °C -- 45 mA TJ = 110 °C -- 22 mA Maximum Average or DC Current Through VDD2 Pin (per chip side) TJ = 85 °C -- 45 mA TJ = 110 °C -- 22 mA Maximum Average or DC Current Through GND Pin (per chip side) TJ = 85 °C -- 86 mA TJ = 110 °C -- 41 mA Maximum Average or DC Current (Through pin) Push-Pull 1x -- 11 mA Push-Pull 2x -- 16 OD 1x -- 11 OD 2x -- 21 OD 4x -- 43 Current at Input Pin -1.0 1.0 mA Input leakage (Absolute Value) -- 1000 nA Storage Temperature Range -65 150 °C Junction Temperature -- 150 °C Moisture Sensitivity Level 1 Supply voltage on V DD relative to GND -0.5 7 V Table 4: Electrostatic Discharge Ratings Parameter Min Max Unit ESD Protection (Human Body Model) 2000 -- V ESD Protection (Charged Device Model) 500 -- V Table 5: Recommended Operating Conditions Parameter Condition Min Max Unit Supply Voltage (V DD ) 1.71 5.5 V Supply Voltage 2 (V DD2 ) V DD2 ≤ V DD 1.71 V DD V Operating Temperature -40 125 °C Programming Voltage 7.25 7.75 V

Revision 2.5 16 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3.4 ELECTRICAL CHARACTERISTICS

Maximal Voltage Applied to any PIN in High Impedance State -- V DD V Capacitor Value at V DD 0.1 -- µF Analog Input Common Mode Range Allowable Input Volta ge at Analog Pins 0 V DD V Table 6: EC at T = -40 °C to 125 °C, V DD = 1.71 V to 5.5 V Unless Otherwise Noted Parameter Description Condition Min Typ Max Unit VACMP ACMP Input Voltage Range Positive Input 0 -- V DD V Negative Input 0 -- 1.2 V VIH HIGH-Level Input Voltage Logic Input (Note 1) 0.7x VDD (Note 2) VDD + 0.3 (Note 2) V Logic Input with Schmitt Trigger 0.8x VDD (Note 2) VDD + 0.3 (Note 2) V Low-Level Logic Input (Note 1) 1.25 -- VDD + 0.3 (Note 2) V VIL LOW-Level Input Voltage Logic Input (Note 1) GND- 0.3 -- 0.3x VDD (Note 2) V Logic Input with Schmitt Trigger GND- 0.3 -- 0.2x VDD (Note 2) V Low-Level Logic Input (Note 1) GND- 0.3 -- 0.5 V VHYS Schmitt Trigger Hysteresis Voltage Logic Input with Schmitt Trigger, V DD = 1.8 V ± 5 % 0.10 0.41 0.66 V Logic Input with Schmitt Trigger, V DD = 3.3 V ± 10 % 0.29 0.62 0.94 Logic Input with Schmitt Trigger, V DD = 5.0 V ± 10 % 0.44 0.90 1.38 VOH HIGH-Level Output Voltage Push-Pull, I OH = 100 µA, 1x Drive, VDD = 1.8 V ± 5 % 1.69 1.79 -- V Push-Pull, I OH = 3 mA, 1x Drive, VDD = 3.3 V ± 10 % 2.74 3.12 -- V Push-Pull, I OH = 5 mA, 1x Drive, VDD = 5.0 V ± 10 % 4.15 4.76 -- V PMOS OD, I OH = 100 µA, 1x Drive, VDD = 1.8 V ± 5 % 1.69 1.79 -- V PMOS OD, I OH = 3 mA, 1x Drive, VDD = 3.3 V ± 10 % 2.74 3.12 -- V PMOS OD, I OH = 5 mA, 1x Drive, VDD = 5.0 V ± 10 % 4.16 4.76 -- V Table 5: Recommended Operating Conditions (Continued) Parameter Condition Min Max Unit

Revision 2.5 17 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary VOH HIGH-Level Output Voltage Push-Pull, I OH = 100 µA, 2x Drive, VDD = 1.8 V ± 5 % 1.70 1.79 -- V Push-Pull, I OH = 3 mA, 2x Drive, VDD = 3.3 V ± 10 % 2.87 3.21 -- V Push-Pull, I OH = 5 mA, 2x Drive, VDD = 5.0 V ± 10 % 4.32 4.89 -- V PMOS OD, I OH = 100 µA, 2x Drive, VDD = 1.8 V ± 5 % 1.70 1.79 -- V PMOS OD, I OH = 3 mA, 2x Drive, VDD = 3.3 V ± 10 % 2.87 3.21 -- V PMOS OD, I OH = 5 mA, 2x Drive, VDD = 5.0 V ± 10 % 4.33 4.89 -- V VOL LOW-Level Output Voltage Push-Pull, I OL = 100 µA, 1x Drive, VDD = 1.8 V ± 5 % -- 0.01 0.03 V Push-Pull, I OL = 3 mA, 1x Drive, VDD = 3.3 V ± 10 % -- 0.13 0.23 V Push-Pull, I OL = 5 mA, 1x Drive, VDD = 5.0 V ± 10 % -- 0.19 0.24 V Push-Pull, I OL = 100 µA, 2x Drive, VDD = 1.8 V ± 5 % -- 0.01 0.01 V Push-Pull, I OL = 3 mA, 2x Drive, VDD = 3.3 V ± 10 % -- 0.06 0.11 V Push-Pull, I OL =5 mA, 2x Drive, VDD = 5.0 V ± 10 % -- 0.09 0.12 V Open-Drain, I OL = 100 µA, 1x Drive, VDD = 1.8 V ± 5 % -- 0.01 0.02 V Open-Drain, I OL = 3 mA, 1x Drive, VDD = 3.3 V ± 10 % -- 0.08 0.15 V Open-Drain, I OL = 5 mA, 1x Drive, VDD = 5.0 V ± 10 % -- 0.12 0.16 V Open-Drain, I OL = 100 µA, 2x Drive, VDD = 1.8 V ± 5 % -- 0.01 0.02 V Open-Drain, I OL = 3 mA, 2x Drive, VDD = 3.3 V ± 10 % -- 0.04 0.08 V Open-Drain, I OL = 5 mA, 2x Drive, VDD = 5.0 V ± 10 % -- 0.07 0.08 V Open-Drain NMOS 4x, IO8, I OL = 100 µA, V DD = 1.8 V ± 5 % -- 0.001 0.002 V Open-Drain NMOS 4x, IO8, I OL = 3 mA, V DD = 3.3 V ± 10 % -- 0.02 0.04 V Open-Drain NMOS 4x, IO8, I OL = 5 mA, V DD = 5.0 V ± 10 % -- 0.03 0.05 V Table 6: EC at T = -40 °C to 125 °C, V DD = 1.71 V to 5.5 V Unless Otherwise Noted (Continued) Parameter Description Condition Min Typ Max Unit

Revision 2.5 18 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IOH HIGH-Level Output Pulse Current (Note 3) Push-Pull, V OH = V DD - 0.2, 1x Drive, VDD = 1.8 V ± 5 % 1.07 1.70 -- mA Push-Pull, V OH = 2.4 V, 1x Drive, VDD = 3.3 V ± 10 % 6.05 12.08 -- mA Push-Pull, V OH = 2.4 V, 1x Drive, VDD = 5.0 V ± 10 % 22.08 34.04 -- mA PMOS OD, V OH = V DD - 0.2, 1x Drive, VDD = 1.8 V ± 5 % 1.07 1.70 -- mA PMOS OD, V OH = 2.4 V, 1x Drive, VDD = 3.3 V ± 10 % 6.05 12.08 -- mA PMOS OD, V OH = 2.4 V, 1x Drive, VDD = 5.0 V ± 10 % 22.08 34.04 -- mA Push-Pull, V OH = V DD - 0.2, 2x Drive, VDD = 1.8 V ± 5 % 2.22 3.41 -- mA Push-Pull, V OH = 2.4 V, 2x Drive, VDD = 3.3 V ± 10 % 11.54 24.16 -- mA Push-Pull, V OH = 2.4 V, 2X Drive, VDD = 5.0 V ± 10 % 41.76 68.08 -- mA PMOS OD, V OH = V DD - 0.2, 2x Drive, VDD = 1.8 V ± 5 % 2.22 3.41 -- mA PMOS OD, V OH = 2.4 V, 2x Drive, VDD = 3.3 V ± 10 % 11.52 24.16 -- mA PMOS OD, V OH = 2.4 V, 2x Drive, VDD = 5.0 V ± 10 % 41.69 68.08 -- mA IOL LOW-Level Output Pulse Current (Note 3) Push-Pull, V OL = 0.15 V, 1x Drive, VDD = 1.8 V ± 5 % 0.92 1.69 -- mA Push-Pull, V OL = 0.4 V, 1x Drive, VDD = 3.3 V ± 10 % 4.88 8.24 -- mA Push-Pull, V OL = 0.4 V, 1X Drive, VDD = 5.0 V ± 10 % 7.22 11.58 -- mA Push-Pull, V OL = 0.15 V, 2x Drive, VDD = 1.8 V ± 5 % 1.83 3.38 -- mA Push-Pull, V OL = 0.4 V, 2x Drive, VDD = 3.3 V ± 10 % 9.75 16.49 -- mA Push-Pull, V OL = 0.4 V, 2X Drive, VDD = 5.0 V ± 10 % 13.83 23.16 -- mA Open-Drain, V OL = 0.15 V, 1x Drive, VDD = 1.8 V ± 5 % 1.38 2.53 -- mA Open-Drain, V OL = 0.4 V, 1x Drive, VDD = 3.3 V ± 10 % 7.31 12.37 -- mA Open-Drain, V OL = 0.4 V, 1X Drive, VDD = 5.0 V ± 10 % 10.82 17.38 -- mA Open-Drain, V OL = 0.15 V, 2x Drive, VDD = 1.8 V ± 5 % 2.75 5.07 -- mA Open-Drain, V OL = 0.4 V, 2x Drive, VDD = 3.3 V ± 10 % 14.54 24.74 -- mA Open-Drain, V OL = 0.4 V, 2X Drive, VDD = 5.0 V ± 10 % 17.34 34.76 -- mA Table 6: EC at T = -40 °C to 125 °C, V DD = 1.71 V to 5.5 V Unless Otherwise Noted (Continued) Parameter Description Condition Min Typ Max Unit

Revision 2.5 19 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IOL LOW-Level Output Pulse Current (Note 3) Open-Drain NMOS 4x, IO8, V OL = 0.15 V, V DD = 1.8 V ± 5 % 7.21 9.00 -- mA Open-Drain NMOS 4x, IO8, V OL = 0.4 V, V DD = 3.3 V ± 10 % 31.32 41.06 -- mA Open-Drain NMOS 4X, IO8, V OL = 0.4 V, V DD = 5.0 V ± 10 % 41.06 55.18 -- mA TSU Startup Time From V DD rising past PON THR 0.61 1.24 1.65 ms PON THR Power-On Threshold V DD Level Required to Start Up the Chip 1.41 1.54 1.66 V POFF THR Power-Off Threshold VDD Level Required to Switch Off the Chip 1.00 1.15 1.31 V RPUP Pull-up Resistance

1 M Pull-up -- 1000 -- k Ω

100 k Pull-up -- 100 -- k Ω 10 k Pull-up -- 10 -- k Ω RPDWN Pull-down Resistance

1 M Pull-down -- 1000 -- k Ω

100 k Pull-down -- 100 -- k Ω 10 k Pull-down -- 10 -- k Ω Note 1 No hysteresis. Note 2 The GreenPAK’s power rails are divided in two sides. IOs 0, 1, 2, 3, 4, 5, 6, 7, and 8 are connected to one side, IOs 9, 10, 12, 13, 14, 15, 16, and 17 to another. Note 3 DC or average current through any pin should not exceed value given in Absolute Maximum Conditions. Table 7: EC at T = -40 °C to 125 °C, V DD2 = 1.71 V to 5.5 V Unless Otherwise Noted Parameter Description Condition Min Typ Max Unit VIH2 HIGH-Level Input Voltage IOs 9, 10, 12, 13, 14, 15, 16, Logic Input (Note 1) 0.7x VDD (Note 2) VDD + 0.3 (Note 2) V Logic Input with Schmitt Trigger 0.8x VDD (Note 2) VDD + 0.3 (Note 2) V Low-Level Logic Input (Note 1) 1.25 -- VDD + 0.3 (Note 2) V VIL2 LOW-Level Input Voltage IOs 9, 10, 12, 13, 14, 15, 16, Logic Input (Note 1) GND- 0.3 -- 0.3x VDD (Note 2) V Logic Input with Schmitt Trigger GND- 0.3 -- 0.2x VDD (Note 2) V Low-Level Logic Input (Note 1) GND- 0.3 -- 0.5 V VHYS Schmitt Trigger Hysteresis Voltage IOs 9, 10, 12, 13, 14, 15, 16, Logic Input with Schmitt Trigger, V DD2 = 1.8 V ± 5 % 0.10 0.41 0.66 V Logic Input with Schmitt Trigger, V DD2 = 3.3 V ± 10 % 0.29 0.62 0.94 V Logic Input with Schmitt Trigger, V DD2 = 5.0 V ± 10 % 0.29 0.62 0.94 V Table 6: EC at T = -40 °C to 125 °C, V DD = 1.71 V to 5.5 V Unless Otherwise Noted (Continued) Parameter Description Condition Min Typ Max Unit

Revision 2.5 20 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary VOH2 HIGH-Level Output Voltage IOs 9, 10, 12, 13, 14, 15, 16, Push-Pull 1x, Open-Drain PMOS 1x, I OH = 100 µA, V DD2 = 1.8 V ± 5 % 1.68 1.79 -- V Push-Pull, I OH = 3 mA, 1x Drive, VDD2 = 3.3 V ± 10 % 2.70 3.12 -- V PMOS OD, I OH = 3 mA, 1x Drive, VDD2 = 3.3 V ± 10 % 2.70 3.12 -- V Push-Pull, PMOS OD, I OH = 3 mA, 1x Drive, V DD2 = 5.0 V ± 10 % 4.15 4.76 -- V Push-Pull 2x, Open-Drain PMOS 2x, I OH = 100 µA, V DD2 = 1.8 V ± 5 % 1.70 1.79 -- V Push-Pull, I OH = 3 mA, 2x Drive, VDD2 = 3.3 V ± 10 % 2.85 3.21 -- V PMOS OD, I OH = 3 mA, 2x Drive, VDD2 = 3.3 V ± 10 % 2.86 3.21 -- V Push-Pull, PMOS OD, I OH = 3 mA, 2x Drive, V DD2 = 5.0 V ± 10 % 4.32 4.89 -- V VOL2 LOW-Level Output Voltage IOs 9, 10, 12, 13, 14, 15, 16, Push-Pull 1x, I OL = 100 µA, V DD2 = 1.8 V ± 5 % -- 0.010 0.015 V Push-Pull, I OL = 3 mA, 1x Drive, VDD2 = 3.3 V ± 10 % -- 0.13 0.23 V Push-Pull, I OL = 3 mA, 1x Drive, VDD2 = 5.0 V ± 10 % -- 0.19 0.24 V Push-Pull 2x, I OL = 100 µA, V DD2 = 1.8 V ± 5 % -- 0.007 0.010 V Push-Pull, I OL = 3 mA, 2x Drive, VDD2 = 3.3 V ± 10 % -- 0.06 0.11 V Push-Pull, I OL = 3 mA, 2x Drive, VDD2 = 5.0 V ± 10 % -- 0.09 0.12 V Open-Drain NMOS 1x, I OL = 100 µA, V DD2 = 1.8 V ± 5 % -- 0.007 0.010 V Open-Drain, I OL = 3 mA, 1x Drive, VDD2 = 3.3 V ± 10 % -- 0.08 0.15 V Open-Drain NMOS, I OL = 3 mA, 1x Drive, VDD2 = 5.0 V ± 10 % -- 0.12 0.16 V Open-Drain NMOS 2x, I OL = 100 µA, V DD2 = 1.8 V ± 5 % -- 0.003 0.010 V Open-Drain, I OL = 3 mA, 2x Drive, VDD2 = 3.3 V ± 10 % -- 0.04 0.08 V Open-Drain NMOS, I OL = 3 mA, 2x Drive, VDD2 = 5.0 V ± 10 % -- 0.07 0.08 V Open-Drain NMOS 4x, IO9, I OL = 100 µA, V DD2 = 1.8 V ± 5 % -- 0.001 0.004 V Open-Drain NMOS 4x, IO9, I OL = 3 mA, V DD2 = 3.3 V ± 10 % -- 0.02 0.04 V Open-Drain NMOS 4x, IO9, I OL = 3 mA, V DD2 = 5.0 V ± 10 % -- 0.03 0.05 V Table 7: EC at T = -40 °C to 125 °C, V DD2 = 1.71 V to 5.5 V Unless Otherwise Noted (Continued) Parameter Description Condition Min Typ Max Unit

Revision 2.5 21 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IOH2 HIGH-Level Output Pulse Current (Note 3) IOs 9, 10, 12, 13, 14, 15, 16, Push-Pull 1x,Open-Drain PMOS 1x, V OH = V DD - 0.2, V DD2 = 1.8 V ± 5 % 1.03 1.70 -- mA Push-Pull, V OH = 2.4 V, 1x Drive, VDD2 = 3.3 V ± 10 % 6.05 12.08 -- mA Push-Pull, V OH = 2.4 V, 1x Drive, VDD2 = 5.0 V ± 10 % 22.08 34.04 -- mA PMOS OD, V OH = 2.4 V, 1x Drive, VDD2 = 3.3 V ± 10 % 6.05 12.08 -- mA PMOS OD, V OH = 2.4 V, 1x Drive, VDD2 = 5.0 V ± 10 % 22.08 34.04 -- mA Push-Pull 2x, Open-Drain PMOS 2x, V OH = V DD - 0.2, V DD2 = 1.8 V ± 5 % 2.03 3.41 -- mA Push-Pull, V OH = 2.4 V, 2x Drive, VDD2 = 3.3 V ± 10 % 11.54 24.16 -- mA Push-Pull, V OH = 2.4 V, 2x Drive, VDD2 = 5.0 V ± 10 % 41.76 68.08 -- mA PMOS OD, V OH = 2.4 V, 2x Drive, VDD2 = 3.3 V ± 10 % 11.52 24.16 -- mA PMOS OD, V OH = 2.4 V, 2x Drive, VDD2 = 5.0 V ± 10 % 41.69 68.08 -- mA IOL2 LOW-Level Output Pulse Current (Note 3) IOs 9, 10, 12, 13, 14, 15, 16, Push-Pull 1x, V OL = 0.15 V, V DD2 = 1.8 V ± 5 % 0.92 1.66 -- mA Push-Pull, V OL = 0.4 V, 1x Drive, VDD2 = 3.3 V ± 10 % 4.88 8.24 -- mA Push-Pull, V OL = 0.4 V, 1x Drive, VDD2 = 5.0 V ± 10 % 7.22 11.58 -- mA Push-Pull 2x, V OL = 0.15 V, V DD2 = 1.8 V ± 5 % 1.83 3.30 -- mA Push-Pull, V OL = 0.4 V, 2x Drive, VDD2 = 3.3 V ± 10 % 9.75 16.49 -- mA Push-Pull, V OL = 0.4 V, 2x Drive, VDD2 = 5.0 V ± 10 % 13.83 23.16 -- mA Open-Drain NMOS 1x, V OL = 0.15 V, V DD2 = 1.8 V ± 5 % 1.38 2.53 -- mA Open-Drain, V OL = 0.4 V, 1x Drive, VDD2 = 3.3 V ± 10 % 7.31 12.37 -- mA Open-Drain NMOS, V OL = 0.4 V, 1x Drive, V DD2 = 5.0 V ± 10 % 10.82 17.38 -- mA Open-Drain NMOS 2x, V OL = 0.15 V, V DD2 = 1.8 V ± 5 % 2.75 5.07 -- mA Open-Drain, V OL = 0.4 V, 2x Drive, VDD2 = 3.3 V ± 10 % 14.54 24.74 -- mA Open-Drain NMOS, V OL = 0.4 V, 2x Drive, V DD2 = 5.0 V ± 10 % 17.34 34.76 -- mA Open-Drain NMOS 4x, IO9, V OL = 0.15 V, V DD2 = 1.8 V ± 5 % 5.50 10.14 -- mA Open-Drain NMOS 4x, IO9, V DD2 = 3.3 V ± 10 % 31.32 41.06 -- mA Table 7: EC at T = -40 °C to 125 °C, V DD2 = 1.71 V to 5.5 V Unless Otherwise Noted (Continued) Parameter Description Condition Min Typ Max Unit

Revision 2.5 22 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3.5 I2C PINS ELECTRICAL CHARACTERISTICS

3.6 ASYNCHRONOUS STATE MACHINE SPECIFICATION

(Note 3) IOs 9, 10, 12, 13, 14, 15, 16, Open-Drain NMOS 4x, IO9, V DD2 = 5.0 V ± 10 % 41.06 55.18 -- mA Note 1 No hysteresis. Note 2 The GreenPAK’s power rails are divided in two sides. IOs 0, 1, 2, 3, 4, 5, 6, 7, and 8 are connected to one side, IOs 9, 10, 12, 13, 14, 15, 16, and 17 to another. Note 3 DC or average current through any pin should not exceed value given in Absolute Maximum Conditions. Table 8: I 2C Pins Timing Characteristics at T = -40 °C to 125 °C Unless Otherwise Noted Parameter Description Condition Min Typ Max Unit FSCL Clock Frequency, SCL V DD = 1.71 V to 5.5 V -- -- 400 kHz tLOW Clock Pulse Width Low V DD = 1.71 V to 5.5 V 1300 -- -- ns tHIGH Clock Pulse Width High V DD = 1.71 V to 5.5 V 600 -- -- ns tI Input Filter Spike Suppression (SCL, SDA) V tAA Clock Low to Data Out Valid V DD = 1.71 V to 5.5 V -- -- 900 ns tBUF Bus Free Time between Stop and Start V DD = 1.71 V to 5.5 V 1300 -- -- ns tHD_STA Start Hold Time V DD = 1.71 V to 5.5 V 600 -- -- ns tSU_STA Start Set-up Time V DD = 1.71 V to 5.5 V 600 -- -- ns tHD_DAT Data Hold Time V DD = 1.71 V to 5.5 V 0 -- -- ns tSU_DAT Data Set-up Time V DD = 1.71 V to 5.5 V 100 -- -- ns tR Inputs Rise Time V DD = 1.71 V to 5.5 V -- -- 300 ns tF Inputs Fall Time V DD = 1.71 V to 5.5 V -- -- 300 ns tSU_STO Stop Set-up Time V DD = 1.71 V to 5.5 V 600 -- -- ns tDH Data Out Hold Time V DD = 1.71 V to 5.5 V 50 -- -- ns Table 9: Asynchronous State Machine Specifications at T = -40 °C to 125 °C Unless Otherwise Noted Parameter Description Condition Min Typ Max Unit tst_out_delay Asynchronous State Machine Output Delay Time VDD = 1.8 V ± 5 % 104 -- 213 ns VDD = 3.3 V ± 10 % 44 -- 89 VDD = 5.0 V ± 10 % 32 -- 58 tst_out Asynchronous State Machine Output Transition Time tst_pulse Asynchronous State Machine Input Pulse Acceptance Time Table 7: EC at T = -40 °C to 125 °C, V DD2 = 1.71 V to 5.5 V Unless Otherwise Noted (Continued) Parameter Description Condition Min Typ Max Unit

Revision 2.5 23 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3.7 MACROCELLS CURRENT CONSUMPTION

3.8 TIMING CHARACTERISTICS

tst_comp Asynchronous State Machine Input Compete Time Table 10: Typical Current Estimated for Each Macrocell at T = 25 °C Parameter Description Note VDD /V DD2 = 1.8 V VDD /V DD2 = 3.3 V VDD /V DD2 = 5.0 V Unit IDD Current Chip Quiescent, I DD1 0.45 0.75 1.12 µA Chip Quiescent, I DD2 0.015 0.021 0.029 µA OSC 2 MHz, pre-divide = 1 41.48 64.00 94.89 µA OSC 2 MHz, pre-divide = 8 25.68 32.41 43.22 µA OSC 25 kHz, pre-divide = 1 7.16 7.94 9.25 µA OSC 25 kHz, pre-divide = 8 6.97 7.60 8.68 µA OSC 25 MHz, pre-divide = 1 87.25 238.27 428.66 µA OSC 25 MHz, pre-divide = 1, Force On 87.25 238.27 428.67 µA OSC 25 MHz, pre-divide = 8 78.01 212.45 390.17 µA ACMP (each) 54.96 52.64 60.81 µA ACMP with buffer (each) 75.06 72.74 81.25 µA Vref (each) 49.70 47.32 55.60 µA Vref with buffer (each) 71.93 71.27 79.62 µA Table 11: Typical Delay Estimated for Each Macrocell at T = 25 °C Parameter Description Note VDD /V DD2 = 1.8 V VDD /V DD2 = 3.3 V VDD /V DD2 = 5.0 V Unit Rising Falling Rising Falling Rising Falling tpd Delay Digital Input to PP 1x 42 45 17 19 12 13 ns tpd Delay Digital Input with Schmitt Trig - ger to PP 1x 42 43 16 17 18 12 ns tpd Delay Low Voltage Digital input to PP 1x 45 428 17 177 12 120 ns tpd Delay Digital input to PMOS output 42 - 17 - 12 - ns tpd Delay Digital input to NMOS output - 80 - 27 - 18 ns tpd Delay Output enable from pin, OE Hi-Z to 1 53 - 21 - 15 - ns tpd Delay Output enable from pin, OE Hi-Z to 0 50 - 20 - 14 - ns tpd Delay LUT2bit (LATCH) 34 33 14 13 10 9 ns tpd Delay LATCH (LUT2bit) 30 34 14 13 10 9 ns tpd Delay LUT3bit (LATCH) 38 37 18 15 13 10 ns tpd Delay LATCH+nRESET(LUT3bit) 45 42 21 17 15 12 ns tpd Delay LUT4bit 28 33 14 13 10 9 ns tpd Delay LUT2bt 19 26 10 10 7 7 ns tpd Delay LUT3bit 28 34 14 13 10 9 ns Table 9: Asynchronous State Machine Specifications at T = -40 °C to 125 °C Unless Otherwise Noted (Continued) Parameter Description Condition Min Typ Max Unit

Revision 2.5 24 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary tpd Delay CNT/DLY Logic 40 38 18 15 13 11 ns tpd Delay P_DLY1C 367 356 165 160 123 119 ns tpd Delay P_DLY2C 720 718 314 312 233 231 ns tpd Delay P_DLY3C 1061 1060 462 460 343 341 ns tpd Delay P_DLY4C 1396 1400 609 609 451 451 ns tpd Delay Filter 200 200 78 78 53 53 ns tpd Delay ACMP (5 mV overdrive, IN- = 600 mV) 3000 3000 2000 2000 2000 2000 ns tw Pulse Width IO with 1x Push-Pull (min transmitted) 20 20 20 20 20 20 ns tw Pulse Width Filter (min transmitted) 150 150 55 55 35 35 ns Table 12: Typical Propagations Delays and Pulse Widths at T = 25 °C Parameter Description Note VDD = 1.8 V VDD = 3.3 V VDD = 5.0 V Unit tw Pulse Width, 1 cell mode: (any)edge detect, edge detect output 296 135 101 ns tw Pulse Width, 2 cell mode: (any)edge detect, edge detect output 597 272 203 ns tw Pulse Width, 3 cell mode: (any)edge detect, edge detect output 898 410 305 ns tw Pulse Width, 4 cell mode: (any)edge detect, edge detect output 1195 546 40 7 ns time1 Delay, 1 cell mode: (any)edge detect, edge dete ct output 55 24 18 ns time1 Delay, 2 cell mode: (any)edge detect, edge dete ct output 55 24 18 ns time1 Delay, 3 cell mode: (any)edge detect, edge dete ct output 55 24 18 ns time1 Delay, 4 cell mode: (any)edge detect, edge dete ct output 55 24 18 ns time2 Delay, 1 cell mode: both edge delay, edge detec t output 367 165 106 ns time2 Delay, 2 cell mode: both edge delay, edge detec t output 667 300 193 ns time2 Delay, 3 cell mode: both edge delay, edge detec t output 968 440 279 ns time2 Delay, 4 cell mode: both edge delay, edge detec t output 1265 575 365 ns Table 13: Typical Pulse Width Performance at T = 25 °C Parameter VDD = 1.8 V VDD = 3.3 V VDD = 5.0 V Unit Filtered Pulse Width for Filter 0 < 114 < 47 < 30 ns Filtered Pulse Width for Filter 1 <75 <30 <19 ns Table 11: Typical Delay Estimated for Each Macrocell at T = 25 °C (Continued) Parameter Description Note VDD /V DD2 = 1.8 V VDD /V DD2 = 3.3 V VDD /V DD2 = 5.0 V Unit Rising Falling Rising Falling Rising Falling

Revision 2.5 25 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3.9 OSC CHARACTERISTICS

Table 14: Typical Counter/Delay Offset Measurements Parameter RC OSC Freq RC OSC Power VDD = 1.8 V VDD = 3.3 V VDD = 5.0 V Unit Offset (Power-On Delay) 25 kHz auto 1.6 1.6 1.6 µs Offset (Power-On Delay), fast start 25 kHz auto 2.1 2.1 2.1 µs Offset (Power-On Delay) 2 MHz auto 0.4 0.2 0.2 µs Offset (Power-On Delay), fast start 2 MHz auto 0.7 0.5 0 .4 µs Offset (Power-On Delay) 25 MHz auto 0.01 0.05 0.04 µs Frequency settling time 25 kHz auto 19 14 12 µs Frequency settling time 2 MHz auto 14 14 14 µs Variable (CLK period) 25 kHz forced 0-40 0-40 0-40 µs Variable (CLK period) 2 MHz forced 0-0.5 0-0.5 0-0.5 µs Variable (CLK period) 25 MHz 0-0.04 0-0.04 0-0.04 µs Tpd (non-delayed edge) 25 kHz/

2 MHz either 35 14 10 ns

Table 15: 25 kHz RC OSC0 Frequency Limits Power Supply Range (V DD ), V Temperature Range +25 °C 0 °C to +125 °C -40 °C to +125 °C Minimum Value, kHz Maximum Value, kHz Minimum Value, kHz Maximum Value, kHz Minimum Value, kHz Maximum Value, kHz Table 16: 25 kHz RC OSC0 Frequency Error (Error Calculated Relative to Nominal Value) Power Supply Range (V DD ), V Temperature Range +25 °C 0 °C to +125 °C -40 °C to +125 °C Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum)

Revision 2.5 26 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Table 17: 2 MHz RC OSC0 Frequency Limits Power Supply Range (V DD ), V Temperature Range +25 °C 0 °C to +125 °C -40 °C to +125 °C Minimum Value, MHz Maximum Value, MHz Minimum Value, MHz Maximum Value, MHz Minimum Value, MHz Maximum Value, MHz Table 18: 2 MHz RC OSC0 Frequency Error (Error Calculated Relative to Nominal Value) Power Supply Range (V DD ), V Temperature Range +25 °C 0 °C to +125 °C -40 °C to +125 °C Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum) Table 19: 25 MHz RC OSC1 Frequency Limits Power Supply Range (V DD ), V Temperature Range +25 °C 0 °C to +125 °C -40 °C to +125 °C Minimum Value, MHz Maximum Value, MHz Minimum Value, MHz Maximum Value, MHz Minimum Value, MHz Maximum Value, MHz Table 20: 25 MHz RC OSC1 Frequency Error (Error Calculated Relative to Nominal Value) Power Supply Range (V DD ), V Temperature Range +25 °C 0 °C to +125 °C -40 °C to +125 °C Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum)

Revision 2.5 27 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Note: 25 MHz RC OSC1 performance is not guaranteed at V DD < 2.5 V. Table 20: 25 MHz RC OSC1 Frequency Error (Error Calculated Relative to Nominal Value) (Continued) Power Supply Range (V DD ), V Temperature Range +25 °C 0 °C to +125 °C -40 °C to +125 °C Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum) Error (% at Minimum) Error (% at Maximum)

Revision 2.5 28 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3.9.1 OSC Power-On Delay

Note: DLY/CNT Counter Data = 100, RC OSC Power Setting: "Auto Power-On", RC OSC Clock to Matrix Input: "Enable". Table 21: OSC Power-On Delay, T = 25 °C Power Supply Range (V DD ) V RC OSC0 2 MHz RC OSC0 25 kHz RC OSC1 Typical Value, ns Maximum Value, ns Typical Value, µs Maximum Value, µs Typical Value, ns Maximum Value, ns Table 22: OSC Power-On Delay, T = 25 °C, Fast Start-Up Time Mode Power Supply Range (V DD ) V RC OSC0 2 MHz RC OSC1 25 kHz Typical Value, ns Maximum Value, ns Typical Value, µs Maximum Value, µs

Revision 2.5 29 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3.10 ACMP CHARACTERISTICS

Table 23: ACMP Specifications at T = -40 °C to +85 °C, V DD = 2.3 V to 5.5 V, Unless Otherwise Noted Parameter Description Note Conditions Min Typ Max Unit VACMP ACMP Input Voltage Range Positive Input VDD = 1.8 V ± 5% 0 -- V DD V Negative Input 0 -- 1.2 V Positive Input VDD = 3.3 V ± 10% 0 -- V DD V Negative Input 0 -- 1.2 V Positive Input VDD = 5.0 V ± 10% 0 -- V DD V Negative Input 0 -- 1.2 V Voffset ACMP Input Offset Voltage Low Bandwidth - Enable, Vhys = 0 mV, Gain = 1, Vref = 50 mV to 1200 mV, V DD = 1.71 V to 5.5 V T = -40 °C to 85 °C -10.9 -- 10.9 mV Low Bandwidth - Disable, Vhys = 0 mV, Gain =1, Vref = 50 mV to 1200 mV, V DD = 1.71 V to 5.5 V T = -40 °C to 85 °C -10.7 -- 10.5 mV tstart ACMP Start Time ACMP Power-On delay, Minimal required wake time for the "Wake and Sleep function", Regulator and Charge Pump set to automatic ON/OFF BG = 550 μs, T = 25 °C V DD = 1.71 V to 5.5 V -- 609.7 862.2 µS BG = 550 μs, T = -40 °C to 85 °C VDD = 1.71 V to 5.5 V -- 675.0 1028.8 µS BG = 100 μs, T = 25 °C VDD = 2.7 V to 5.5 V -- 132.4 176.2 µS BG = 100 μs, T = -40 °C to 85 °C VDD = 2.7 V to 5.5 V -- 149.4 213.5 µS ACMP Power-On delay, Minimal required wake time for the "Wake and Sleep function", Regulator and Charge Pump always OFF BG = 550 μs, T = 25 °C V DD = 3V to 5.5 V -- 609.5 862.0 µS BG = 550 μs, T = -40 °C to 85°C V DD = 3 V to 5.5 V -- 674.6 1027.5 µS BG = 100 μs, T = 25 °C VDD = 3 V to 5.5 V -- 131.6 176.0 µS BG = 100 μs, T = -40 °C to 85°C V DD = 3 V to 5.5 V -- 149.2 213.3 µS

Revision 2.5 30 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary VHYS Built-in Hysteresis VHYS = 25 mV VIL = Vin - V HYS /2 VIH = Vin + V HYS /2 LB - Enabled, T = 25 °C 7.32 -- 35.5 mV LB - Disabled, T = 25 °C 10.0 -- 38.5 mV VHYS = 50 mV VIL = Vin - V HYS VIH = V HYS LB - Enabled, T = 25 °C 42.9 -- 57.8 mV LB - Disabled, T = 25 °C 44.2 -- 54.3 mV VHYS = 200 mV VIL = Vin - V HYS VIH = V HYS LB - Enabled, T = 25 °C 192.7 -- 208.7 mV LB - Disabled, T = 25 °C 193.3 -- 204.8 mV VHYS = 25 mV VIL = Vin - V HYS /2 VIH = Vin + V HYS /2 LB - Enabled 0.0 -- 58.0 mV LB - Disabled 0.0 -- 52.9 mV VHYS = 50 mV VIL = Vin - V HYS VIH = V HYS LB - Enabled 22.5 -- 86.9 mV LB - Disabled 29.2 -- 76.5 mV VHYS = 200 mV VIL = Vin - V HYS VIH = V HYS LB - Enabled 157.1 -- 251.6 mV LB - Disabled 160.2 -- 245.3 mV Rsin Series Input Resistance Gain = 1x -- 100.0 -- ΜΩ Gain = 0.5x -- 1.0 -- ΜΩ Gain = 0.33x -- 0.8 -- ΜΩ Gain = 0.25x -- 1.0 -- ΜΩ PROP Propagation Delay, Response Time Low Bandwidth - Enable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 50 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 50 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 50 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 50 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 250 mV Low to High, High to Low, Table 23: ACMP Specifications at T = -40 °C to +85 °C, V DD = 2.3 V to 5.5 V, Unless Otherwise Noted (Continued) Parameter Description Note Conditions Min Typ Max Unit

Revision 2.5 31 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary PROP Propagation Delay, Response Time Low Bandwidth - Disable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 250 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 250 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 250 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 600 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 600 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 600 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 600 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 850 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 850 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 850 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 850 mV Low to High, High to Low, Table 23: ACMP Specifications at T = -40 °C to +85 °C, V DD = 2.3 V to 5.5 V, Unless Otherwise Noted (Continued) Parameter Description Note Conditions Min Typ Max Unit

Revision 2.5 32 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary PROP Propagation Delay, Response Time Low Bandwidth - Enable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 1200 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(1.71..3.3)V, Overdrive=5 mV, Vref = 1200 mV Low to High, High to Low, Low Bandwidth - Enable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 1200 mV Low to High, High to Low, Low Bandwidth - Disable, Gain = 1, VDD=(3.3..5.5)V, Overdrive=5 mV, Vref = 1200 mV Low to High, High to Low, G Gain error (including threshold and internal Vref error), T = -40 °C to +85 °C G = 1, V DD = 1.71 V Vref = 50 mV to 1200 mV -- 1 -- G = 1, V DD = 3.3 V -- 1 -- Table 23: ACMP Specifications at T = -40 °C to +85 °C, V DD = 2.3 V to 5.5 V, Unless Otherwise Noted (Continued) Parameter Description Note Conditions Min Typ Max Unit

Revision 2.5 33 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

3.11 ANALOG TEMPERATURE SENSOR CHARACTERISTICS

Internal Vref error, Vref = 1200 mV V DD = 1.8 V ± 5% -1.01% -- 0.70% VDD = 3.3 V ± 10% -1.06% -- 0.72% VDD = 5.0 V ± 10% -1.16% -- 0.74% Internal Vref error, Vref = 1000 mV V DD = 1.8 V ± 5% -1.14% -- 0.76% VDD = 3.3 V ± 10% -1.04% -- 0.73% VDD = 5.0 V ± 10% -1.15% -- 0.73% Internal Vref error, Vref = 500 mV V DD = 1.8 V ± 5% -1.11% -- 0.75% VDD = 3.3 V ± 10% -1.10% -- 0.78% VDD = 5.0 V ± 10% -1.15% -- 0.80% Table 24: TS Output vs Temperature (Output Range 1) T, °C VDD = 1.8 V VDD = 3.3 V VDD = 5.0 V Typical, V Accuracy, % Typical, V Accuracy, % Typical, V Accuracy, % Table 23: ACMP Specifications at T = -40 °C to +85 °C, V DD = 2.3 V to 5.5 V, Unless Otherwise Noted (Continued) Parameter Description Note Conditions Min Typ Max Unit

Revision 2.5 34 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Table 25: TS Output vs Temperature (Output Range 2) T, °C VDD = 1.8 V VDD = 3.3 V VDD = 5.0 V Typical, V Accuracy, % Typical, V Accuracy, % Typical, V Accuracy, % Table 26: TS Output Error (Output Range 1) VDD , V Error at T -40 °C, -20 °C, 0 °C, 20 °C, 40 °C, 60 °C, 80 °C, Table 27: TS Output Error (Output Range 2) VDD , V Error at T -40 °C, -20 °C, 0 °C, 20 °C, 40 °C, 60 °C, 80 °C,

Revision 2.5 35 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Table 27: TS Output Error (Output Range 2) (Continued) VDD , V Error at T -40 °C, -20 °C, 0 °C, 20 °C, 40 °C, 60 °C, 80 °C,

Revision 2.5 36 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

4 User Programmability

Non-volatile memory (NVM) is used to configure the SLG46538-A’s connection matrix routing and macrocells. The NVM is One Time Programmable (OTP). However, Renesas’s GreenPAK development tools can be used to configure the connection matrix and macrocells, without programming the NVM, to allow on-chip emulation. This configuration will remain active on the device as long as it remains powered and can be re-written as needed to facilitate rapid design changes. 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 configurati on for the duration of its lifetime. Once the design is finalized, the design file can be forwarded to Renesas to integrate into the production process. Figure 2: Steps to Create a Custom GreenPAK Device Product Definition E-mail Product Idea, Definition, Drawing or Schematic to CMBUGreenPAK@diasemi.com Dialog Semiconductor Applications Engineers will review design specifications with customer Samples, Design and Characterization Report send to customer Customers verifies GreenPAK design Customer creates their own design in GreenPAK Designer Emulate design to verify behavior Program Engineering Samples with GreenPAK Development Tools Customer verifies GreenPAK in system design Custom GreenPAK part enters production GreenPAK Design approved GreenPAK Design Approved in system test GreenPAK Design approved E-mail .gpx to CMBUGreenPAK@diasemi.com

Revision 2.5 37 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5 IO Pins

The SLG46538-A has a total of 17 multi-function IO pins which can function as either a user defined Input or Output, as well as serving as a special function (such as voltage reference output), or serving as a signal for programming of the on-chip Non Volatile Memory (NVM). Refer to Section 2 for normal and programming mode pin definitions. Normal Mode pin definitions are as follows:  VDD : V DD power supply  IO0: general purpose input  IO1: general purpose input or output with OE  IO2: general purpose input or output  IO3: general purpose input or output with OE  IO4: general purpose input or output or analog comparator 0(+)  IO5: general purpose input or output with OE or analog comparator 0(-)  IO6: general purpose input or OD output I 2C SCL  IO7: general purpose input or OD output I 2C SDA  IO8: general purpose input or output with OE or analog comparator 1(+)  GND: ground  IO9: general purpose input or output or analog comparator 1(-)  IO10: general purpose input or output with OE or analog comparator 2(+)  VDD2 : V DD2 power supply  IO12: general purpose input or output or analog comparator 3(+)  IO13: general purpose input or output with OE  IO14: general purpose input or output  IO15: general purpose input or output with OE and Vref output (Vref1)  IO16: general purpose input or output with OE and Vref output (Vref0)  IO17: general purpose input or output or external clock input Programming Mode pin definitions are as follows:  VDD : V DD power supply  IO0: V PP programming voltage  IO6: Programming SCL  IO7: Programming SDA  GND: ground Of the 17 user defined IO pins on the SLG46538-A, all but one of the pins (IO0) can serve as both digital input and digital output. IO0 can only serve as a digital input pin. IOs 0, 1, 2, 3, 4, 5, 6, 7, and 8 are powered from V DD and IOs 9, 10, 12, 13, 14, 15, 16, and 17 are powered from V DD2. All internal macrocells are powered from V DD. Voltage on V DD2 Pin must be less or equal voltage on V DD Pin. In case V DD2 floating and any Pin powered from V DD2 is configured as input, ESD pin protection diodes must be considered when applying an input signal to the pin. This will cause a significant current leakage. In case V DD2 floating and any Pin powered from V DD2 is configured as Output, the pin will behave as NMOS Open-Drain. It is not recommended to connect V DD2 to the GND.

5.1 INPUT MODES

Each IO pin can be configured as a digital input pi n with/without buffered Schmitt Trigger, or can als o be configured as a low voltage digital input. IOs 4, 5, 8, 9, 10, and 12 can also be configured to serve as analog inputs to the on-chip comparators. IOs 15 and 16 can also be configured as analog reference voltage inputs.

Revision 2.5 38 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5.2 OUTPUT MODES

IOs 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, and 17 can all be configured as digital output pins.

5.3 PULL-UP/DOWN RESISTORS

All IO 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 IO0, the resistors are fixed to a pull-down configuration. In the case of all other IO pins, the internal resistors can be configured as either Pull-up or Pull-downs.

5.4 GPI STRUCTURE

5.4.1 GPI Structure (for IO0)

Figure 3: IO0 GPI Structure Diagram LV_EN SMT_EN WOSMT_EN OE Digital IN 900 k Ω 90 k Ω 10 k Ω Floating Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input Input Mode [1:0] 00: Digital In without Schmitt Trigger, wosmt_en = 1, OE = 0 01: Digital In with Schmitt Trigger, smt_en = 1, OE = 0 10: Low Voltage Digital In mode, lv_en = 1, OE = 0 11: Reserved Note 1: OE cannot be selected by user Note 2: OE is Matrix output, Digital In is Matrix input OE OE PAD

Revision 2.5 39 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5.5 MATRIX OE IO STRUCTURE

5.5.1 Matrix OE IO Structure (for IOs 1, 3, 5)

Figure 4: Matrix OE IO Structure Diagram Digital OUT OE Digital OUT OE VDD VDD PP1x_EN OD2x_EN 172 Ω (Note 2) LV_EN SMT_EN OE WOSMT_EN Digital IN Analog IO (For IO5 only) Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input OE OE 900 k Ω 90 k Ω 10 k Ω Floating Pull-up_EN Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Digital OUT OE VDD PP2x_EN PAD Digital OUT OE VDD Input Mode [1:0] 00: Digital In without Schmitt Trigger, wosmt_en = 1 01: Digital In with Schmitt Trigger, smt_en = 1 10: Low Voltage Digital In mode, lv_en = 1 11: Analog IO mode Output Mode [1:0] 00: Push-Pull 1x mode, pp1x_en = 1 01: Push-Pull 2x mode, pp2x_en = 1, pp1x_en = 1 10: NMOS 1x Open-Drain mode, od1x_en = 1 11: NMOS 2x Open-Drain mode, od2x_en = 1, od1x_en = 1 Note 1: Digital Out and OE are Matrix output, Digital In is Matrix input Note 2: Can be varied over PVT, for reference only OD1x_EN

Revision 2.5 40 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5.5.2 Matrix OE IO Structure (for IOs 10, 13, 15, 16)

Figure 5: Matrix OE IO Structure Diagram Digital OUT OE Digital OUT OE VDD2 VDD2 PP1x_EN OD2x_EN 172 Ω (Note 2) LV_EN SMT_EN OE WOSMT_EN Digital IN Analog IO (For IOs 10, 15, 16 only) Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input OE OE 900 k Ω 90 k Ω 10 k Ω Floating Pull-up_EN Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Digital OUT OE VDD2 PP2x_EN PAD Digital OUT OE VDD2 Input Mode [1:0] 00: Digital In without Schmitt Trigger, wosmt_en = 1 01: Digital In with Schmitt Trigger, smt_en = 1 10: Low Voltage Digital In mode, lv_en = 1 Output Mode [1:0] 00: Push-Pull 1x mode, pp1x_en = 1 01: Push-Pull 2x mode, pp2x_en = 1, pp1x_en = 1 10: NMOS 1x Open-Drain mode, od1x_en = 1 11: NMOS 2x Open-Drain mode, od2x_en = 1, od1x_en = 1 Note 1: Digital Out and OE are Matrix output, Digital In is Matrix input Note 2: Can be varied over PVT, for reference only OD1x_EN

Revision 2.5 41 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5.5.3 Matrix OE IO Structure (for IOs 6 and 7)

Figure 6: Matrix OE IO Structure Diagram LV_EN SMT_EN WOSMT_EN OE Digital IN 900 k Ω 90 k Ω 10 k Ω Floating Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input OE OE PAD Digital OUT OE OD1x_EN IO6, IO7 Mode [2:0] 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Reserved 100: Reserved 101: Open-Drain NMOS 110: Reserved 111: Reserved Note: Digital Out and OE are Matrix output, Digital In is Matrix input

Revision 2.5 42 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5.5.4 Matrix OE 4x Drive Structure (for IO8)

Figure 7: Matrix OE IO 4x Drive Structure Diagram Digital OUT OE Digital OUT OE VDD VDD PP1x_EN ODn_EN 4x_EN ODn_EN 4x_EN ODn_EN OD1x_EN 4x_EN Digital OUT OE ODn_EN OD2x_EN 4x_EN 172 Ω (Note 2) LV_EN SMT_EN OE WOSMT_EN Digital IN Analog IO Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input OE OE 900 k Ω 90 k Ω 10 k Ω Floating Pull-up_EN Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Digital OUT OE VDD PP2x_EN PAD Digital OUT OE Digital OUT OE VDD Input Mode [1:0] 00: Digital In without Schmitt Trigger, wosmt_en = 1 01: Digital In with Schmitt Trigger, smt_en = 1 10: Low Voltage Digital In mode, lv_en = 1 11: analog IO mode Output Mode [1:0] 00: Push-Pull 1x mode, pp1x_en = 1 01: Push-Pull 2x mode, pp2x_en = 1, pp1x_en = 1 10: NMOS Open-Drain 1x mode, od1x_en = 1, odn_en = 1 11: NMOS Open-Drain 2x mode, od2x_en = 1, od1x_en = 1, odn_en = 1 Note 1: Digital Out and OE are Matrix output, Digital In is Matrix input Note 2: Can be varied over PVT, for reference only

Revision 2.5 43 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5.6 REGISTER OE IO STRUCTURE

5.6.1 IO Structure (for IOs 2 and 4)

Figure 8: IO Structure Diagram Digital OUT OE Digital OUT OE ODn_EN Digital OUT OE VDD VDD PAD 2x_EN ODn_EN 2x_EN PP_EN ODp_EN 172 Ω (Note 2) LV_EN SMT_EN OE WOSMT_EN Digital IN Analog IO (For IO4 only) Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input OE OE 900 k Ω 90 k Ω 10 k Ω Floating Pull-up_EN Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Digital OUT OE VDD 2x_EN PP_EN ODp_EN Mode [2:0] 000: Digital In without Schmitt Trigger, wosmt_en = 1, OE = 0 001: Digital In with Schmitt Trigger, smt_en = 1, OE = 0 010: Low Voltage Digital In mode, lv_en = 1, OE = 0 011: Analog IO mode 100: Push-Pull mode, pp_en = 1, OE = 1 101: NMOS Open-Drain mode, odn_en = 1, OE = 1 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 Note 1: OE cannot be selected by user and is controlled by register Note 2: Can be varied over PVT, for reference only

Revision 2.5 44 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

5.6.2 IO Structure (for IOs 12, 14, 17)

Figure 9: IO Structure Diagram Digital OUT OE Digital OUT OE ODn_EN Digital OUT OE VDD2 VDD2 PAD 2x_EN ODn_EN 2x_EN PP_EN ODp_EN 172 Ω (Note 2) LV_EN SMT_EN OE WOSMT_EN Digital IN Analog IO (For IO12 only) Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input OE OE 900 k Ω 90 k Ω 10 k Ω Floating Pull-up_EN Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Digital OUT OE VDD2 2x_EN PP_EN ODp_EN Mode [2:0] 000: Digital In without Schmitt Trigger, wosmt_en = 1, OE = 0 001: Digital In with Schmitt Trigger, smt_en = 1, OE = 0 010: Low Voltage Digital In mode, lv_en = 1, OE = 0 011: Analog IO mode 100: Push-Pull mode, pp_en = 1, OE = 1 101: NMOS Open-Drain mode, odn_en = 1, OE = 1 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 Note 1: OE cannot be selected by user and is controlled by register Note 2: Can be varied over PVT, for reference only VDD2

Revision 2.5 45 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 5.6.3 4x Drive Structure (for IO9) Figure 10: IO 4x Drive Structure Diagram Digital OUT OE Digital OUT OE Digital OUT OE VDD VDD PP1x_EN Digital OUT OE ODn_EN 4x_EN ODn_EN 4x_EN ODn_EN OD1x_EN 4x_EN Digital OUT OE ODn_EN OD2x_EN 4x_EN 172 Ω (Note 3) LV_EN SMT_EN OE WOSMT_EN Digital IN Analog IO Non-Schmitt Trigger Input Schmitt Trigger Input Low Voltage Input OE OE 900 k Ω 90 k Ω 10 k Ω Floating Res_sel [1:0] 00: Floating 01: 10 k Ω 10: 100 k Ω 11: 1 M Ω Pull-up_EN VDD Digital OUT OE VDD PP2x_EN PAD Mode [2:0] 000: Digital In without Schmitt Trigger, wosmt_en = 1, OE = 0 001: Digital In with Schmitt Trigger, smt_en = 1, OE = 0 010: Low Voltage Digital In mode, lv_en = 1, OE = 0 011: Analog IO mode 100: Push-Pull mode, pp_en = 1, OE = 1 101: NMOS Open-Drain mode, odn_en = 1, OE = 1 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 Note 1: OE cannot be selected by user Note 2: Digital Out and OE are Matrix output, Digital In is Matrix input Note 3: Can be varied over PVT, for reference only

Revision 2.5 46 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

6 Connection Matrix

The Connection Matrix in the SLG46538-A is used to create the internal routing for internal functional macrocells of the device once it is programmed. The registers are programmed from the one-time NVM cell during Test Mode Operat ion. The output of each functional macrocell within the SLG46538-A has a specific digital bit code assigned to it that is either set to active “High” or inactive “Low” based on the design that is created. Once the 2048 register bits within the SLG46538-A are programmed a fully custom circuit will be created. The Connection Matrix has 64 inputs and 110 outputs. Each of the 64 inputs to the Connection Matrix is hard-wired to the digital output of a particular source macrocell, including IO pins, LUTs, analog comparators, other digital re sources, such as V DD and GND. The input to a digital macrocell uses a 6-bit register to select one of these 64 input lines. For a complete list of the SLG46538-A’s register table, see Section 20 . Figure 11: Connection Matrix Figure 12: Connection Matrix Example Ground 0 IO0 Digital In 1 IO1 Digital In 2 IO2 Digital In 3 Matrix Input Signal Functions N Resetb_core 62 VDD 63 N Function Registers 109 Matrix OUT: PD of either Temp out or XTAL Osc Registers [877:872] Matrix OUT: ASM-state0-EN0 Registers [5:0] Matrix OUT: ASM-state0-EN1 Registers [13:8] Matrix OUT: ASM-state0-EN2 Registers [21:16] Matrix Inputs Matrix Outputs IO9 IO10 IO12 Connection Matrix LUT IO10 IO9 LUT IO12 Function

Revision 2.5 47 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

6.1 MATRIX INPUT TABLE

Table 28: Matrix Input Table Matrix Input Number Matrix Input Signal Function Matrix Decode 5 4 3 2 1 0

0 GND 0 0 0 0 0 0

1 IO0 Digital Input 0 0 0 0 0 1

2 IO1 Digital Input 0 0 0 0 1 0

3 IO2 Digital Input 0 0 0 0 1 1

4 IO3 Digital Input 0 0 0 1 0 0

5 IO4 Digital Input 0 0 0 1 0 1

6 IO5 Digital Input 0 0 0 1 1 0

7 IO8 Digital Input 0 0 0 1 1 1

8 LUT2_0/DFF0 Output 0 0 1 0 0 0

9 LUT2_1/DFF1 Output 0 0 1 0 0 1

10 LUT2_2/DFF2 Output 0 0 1 0 1 0

11 LUT2_3/PGen Output 0 0 1 0 1 1

12 LUT3_0/DFF3 Output 0 0 1 1 0 0

13 LUT3_1/DFF4 Output 0 0 1 1 0 1

14 LUT3_2/DFF5 Output 0 0 1 1 1 0

15 LUT3_3/DFF6 Output 0 0 1 1 1 1

16 LUT3_4/DFF7 Output 0 1 0 0 0 0

17 LUT3_5/CNT_DLY2(8bit) Output 0 1 0 0 0 1

18 LUT3_6/CNT_DLY3(8bit) Output 0 1 0 0 1 0

19 LUT3_7/CNT_DLY4(8bit) Output 0 1 0 0 1 1

20 LUT3_8/CNT_DLY5(8bit) Output 0 1 0 1 0 0

21 LUT3_9/CNT_DLY6(8bit) Output 0 1 0 1 0 1

22 LUT4_0/CNT_DLY0(16bit) Output 0 1 0 1 1 0

23 LUT4_1/CNT_DLY1(16bit) Output 0 1 0 1 1 1

24 LUT3_10/Pipe Delay (1st stage) Output 0 1 1 0 0 0

25 Pipe Delay Output0 0 1 1 0 0 1

26 Pipe Delay Output1 0 1 1 0 1 0

27 Internal OSC Pre-Divided by 1/2/4/8 Output and Post-Divided by 1/

2/3/4/8/12/24/64 Output (25 kHz/2 MHz) 0 1 1 0 1 1

28 Internal OSC Pre-Divided by 1/2/4/8 Output and Post-Divided by 1/

2/3/4/8/12/24/64 Output (25 kHz/2 MHz) 0 1 1 1 0 0

29 Internal OSC Pre-Divided by 1/2/4/8 Output (25 MH z) 0 1 1 1 0 1

30 Filter0/Edge Detect0 Output 0 1 1 1 1 0

31 Filter1/Edge Detect1 Output 0 1 1 1 1 1

32 IO6 Digital or I

2C_virtual_0 Input 1 0 0 0 0 0

33 IO7 Digital or I 2C_virtual_1 Input 1 0 0 0 0 1

34 I 2C_virtual_2 Input 1 0 0 0 1 0

35 I 2C_virtual_3 Input 1 0 0 0 1 1

36 I 2C_virtual_4 Input 1 0 0 1 0 0

Revision 2.5 48 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

6.2 MATRIX OUTPUT TABLE

37 I 2C_virtual_5 Input 1 0 0 1 0 1

38 I 2C_virtual_6 Input 1 0 0 1 1 0

39 I 2C_virtual_7 Input 1 0 0 1 1 1

40 ASM-stateX-dout0 1 0 1 0 0 0

41 ASM-stateX-dout1 1 0 1 0 0 1

42 ASM-stateX-dout2 1 0 1 0 1 0

43 ASM-stateX-dout3 1 0 1 0 1 1

44 ASM-stateX-dout4 1 0 1 1 0 0

45 ASM-stateX-dout5 1 0 1 1 0 1

46 ASM-stateX-dout6 1 0 1 1 1 0

47 ASM-stateX-dout7 1 0 1 1 1 1

48 IO9 Digital Input 1 1 0 0 0 0

49 IO10 Digital Input 1 1 0 0 0 1

50 Inverter Output 1 1 0 0 1 0

51 IO12 Digital Input 1 1 0 0 1 1

52 IO13 Digital Input 1 1 0 1 0 0

53 IO14 Digital Input 1 1 0 1 0 1

54 IO15 Digital Input 1 1 0 1 1 0

55 IO16 Digital Input 1 1 0 1 1 1

56 IO17 Digital Input 1 1 1 0 0 0

57 ACMP_0 Output 1 1 1 0 0 1

58 ACMP_1 Output 1 1 1 0 1 0

59 ACMP_2 Output 1 1 1 0 1 1

60 ACMP_3 Output 1 1 1 1 0 0

61 Programmable Delay with Edge Detector Output 1 1 1 1 0 1

62 nRST_core (POR) as matrix input 1 1 1 1 1 0 63 V DD 1 1 1 1 1 1 Table 29: Matrix Output Table Register Bit Address Matrix Output Signal Function Matrix Output Number [7:0] Matrix OUT: ASM-state0-EN0 0 [15:8] Matrix OUT: ASM-state0-EN1 1 [23:16] Matrix OUT: ASM-state0-EN2 2 [31:24] Matrix OUT: ASM-state1-EN0 3 [39:32] Matrix OUT: ASM-state1-EN1 4 [47:40] Matrix OUT: ASM-state1-EN2 5 Table 28: Matrix Input Table (Continued) Matrix Input Number Matrix Input Signal Function Matrix Decode 5 4 3 2 1 0

Revision 2.5 49 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary [55:48] Matrix OUT: ASM-state2-EN0 6 [63:56] Matrix OUT: ASM-state2-EN1 7 [71:64] Matrix OUT: ASM-state2-EN2 8 [79:72] Matrix OUT: ASM-state3-EN0 9 [87:80] Matrix OUT: ASM-state3-EN1 10 [95:88] Matrix OUT: ASM-state3-EN2 11 [103:96] Matrix OUT: ASM-state4-EN0 12 [111:104] Matrix OUT: ASM-state4-EN1 13 [119:112] Matrix OUT: ASM-state4-EN2 14 [127:120] Matrix OUT: ASM-state5-EN0 15 [135:128] Matrix OUT: ASM-state5-EN1 16 [143:136] Matrix OUT: ASM-state5-EN2 17 [151:144] Matrix OUT: ASM-state6-EN0 18 [159:152] Matrix OUT: ASM-state6-EN1 19 [167:160] Matrix OUT: ASM-state6-EN2 20 [175:168] Matrix OUT: ASM-state7-EN0 21 [183:176] Matrix OUT: ASM-state7-EN1 22 [191:184] Matrix OUT: ASM-state7-EN2 23 [199:192] Matrix OUT: ASM-state-nRST 24 [207:200] Matrix OUT: IO1 Digital Output Source 25 [215:208] Matrix OUT: IO1 Output Enable 26 [223:216] Matrix OUT: IO2 Digital Output Source 27 [231:224] Matrix OUT: IO3 Digital Output Source 28 [239:232] Matrix OUT: IO3 Output Enable 29 [247:240] Matrix OUT: IO4 Digital Output Source 30 [255:248] Matrix OUT: IO5 Digital Output Source 31 [263:256] Matrix OUT: IO5 Output Enable 32 [271:264] Matrix OUT: IO6 Digital Output Source (SC L with VI/Input & NMOS Open-Drain) 33 [279:272] Matrix OUT: IO7 Digital Output Source (SD A with VI/Input & NMOS Open-Drain) 34 [287:280] Matrix OUT: IO8 Digital Output Source 35 [295:288] Matrix OUT: IO8 Output Enable 36 [303:296] Matrix OUT: IO9 Digital Output Source 37 [311:304] Matrix OUT: IO10 Digital Output Source 38 [319:312] Matrix OUT: IO10 Output Enable 39 [327:320] Matrix OUT: Inverter Input 40 [335:328] Reserved 41 [343:336] Matrix OUT: IO12 Digital Output Source 42 [351:344] Matrix OUT: IO13 Digital Output Source 43 [359:352] Matrix OUT: IO13 Output Enable 44 Table 29: Matrix Output Table (Continued) Register Bit Address Matrix Output Signal Function Matrix Output Number

Revision 2.5 50 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary [367:360] Matrix OUT: IO14 Digital Output Source 45 [375:368] Matrix OUT: IO15 Digital Output Source 46 [383:376] Matrix OUT: IO15 Output Enable 47 [391:384] Matrix OUT: IO16 Digital Output Source 48 [399:392] Matrix OUT: IO16 Output Enable 49 [407:400] Matrix OUT: IO17 Digital Output Source 50 [415:408] Matrix OUT: ACMP0 PDB (Power-Down) 51 [423:416] Matrix OUT: ACMP1 PDB (Power-Down) 52 [431:424] Matrix OUT: ACMP2 PDB (Power-Down) 53 [439:432] Matrix OUT: ACMP3 PDB (Power-Down) 54 [447:440] Matrix OUT: Input of Filter_0 with fixed time edge detector 55 [455:448] Matrix OUT: Input of Filter_1 with fixed time edge detector 56 [463:456] Matrix OUT: Input of Programmable Delay & Edge Detector 57 [471:464] Matrix OUT: OSC 25 kHz/2 MHz PDB (Power-D own) 58 [479:472] Matrix OUT: OSC 25 MHz PDB (Power-Down) 59 [487:480] Matrix OUT: IN0 of LUT2_0 or Clock Input of DFF0 60 [495:488] Matrix OUT: IN1 of LUT2_0 or Data Input o f DFF0 61 [503:496] Matrix OUT: IN0 of LUT2_1 or Clock Input of DFF1 62 [511:504] Matrix OUT: IN1 of LUT2_1 or Data Input o f DFF1 63 [519:512] Matrix OUT: IN0 of LUT2_2 or Clock Input of DFF2 64 [527:520] Matrix OUT: IN1 of LUT2_2 or Data Input o f DFF2 65 [535:528] Matrix OUT: IN0 of LUT2_3 or Clock Input of PGen 66 [543:536] Matrix OUT: IN1 of LUT2_3 or nRST of PGen 67 [551:544] Matrix OUT: IN0 of LUT3_0 or Clock Input of DFF3 68 [559:552] Matrix OUT: IN1 of LUT3_0 or Data Input o f DFF3 69 [567:560] Matrix OUT: IN2 of LUT3_0 or nRST (nSET) of DFF3 70 [575:568] Matrix OUT: IN0 of LUT3_1 or Clock Input of DFF4 71 [583:576] Matrix OUT: IN1 of LUT3_1 or Data Input o f DFF4 72 [591:584] Matrix OUT: IN2 of LUT3_1 or nRST (nSET) of DFF4 73 [599:592] Matrix OUT: IN0 of LUT3_2 or Clock Input of DFF5 74 [607:600] Matrix OUT: IN1 of LUT3_2 or Data Input o f DFF5 75 [615:608] Matrix OUT: IN2 of LUT3_2 or nRST (nSET) of DFF5 76 [623:616] Matrix OUT: IN0 of LUT3_3 or Clock Input of DFF6 77 [631:624] Matrix OUT: IN1 of LUT3_3 or Data Input o f DFF6 78 [639:632] Matrix OUT: IN2 of LUT3_3 or nRST (nSET) of DFF6 79 [647:640] Matrix OUT: IN0 of LUT3_4 or Clock Input of DFF7 80 [655:648] Matrix OUT: IN1 of LUT3_4 or Data Input o f DFF7 81 [663:656] Matrix OUT: IN2 of LUT3_4 or nRST (nSET) of DFF7 82 [671:664] Matrix OUT: IN0 of LUT3_5 or Delay2 Input (or Counter2 RST Input) 83 Table 29: Matrix Output Table (Continued) Register Bit Address Matrix Output Signal Function Matrix Output Number

Revision 2.5 51 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary [679:672] Matrix OUT: IN1 of LUT3_5 or External Clo ck Input of Delay2 (or Counter2) 84 [687:680] Matrix OUT: IN2 of LUT3_5 85 [695:688] Matrix OUT: IN0 of LUT3_6 or Delay3 Input (or Counter3 RST Input) 86 [703:696] Matrix OUT: IN1 of LUT3_6 or External Clo ck Input of Delay3 (or Counter3) 87 [711:704] Matrix OUT: IN2 of LUT3_6 88 [719:712] Matrix OUT: IN0 of LUT3_7 or Delay4 Input (or Counter4 RST Input) 89 [727:720] Matrix OUT: IN1 of LUT3_7 or External Clo ck Input of Delay4 (or Counter4) 90 [735:728] Matrix OUT: IN2 of LUT3_7 91 [743:736] Matrix OUT: IN0 of LUT3_8 or Delay5 Input (or Counter5 RST Input) 92 [751:744] Matrix OUT: IN1 of LUT3_8 or External Clo ck Input of Delay5 (or Counter5) 93 [759:752] Matrix OUT: IN2 of LUT3_8 94 [767:760] Matrix OUT: IN0 of LUT3_9 or Delay6 Input (or Counter6 RST Input) 95 [775:768] Matrix OUT: IN1 of LUT3_9 or External Clo ck Input of Delay6 (or Counter6) 96 [783:776] Matrix OUT: IN2 of LUT3_9 97 [791:784] Matrix OUT: IN0 of LUT3_10 or Input of Pi pe Delay 98 [799:792] Matrix OUT: IN1 of LUT3_10 or nRST of Pip e Delay 99 [807:800] Matrix OUT: IN2 of LUT3_10 or Clock of Pi pe Delay 100 [815:808] Matrix OUT: IN0 of LUT4_0 or Delay0 Input (or Counter0 RST/SET Input) 101 [823:816] Matrix OUT: IN1 of LUT4_0 or External Clo ck Input of Delay0 (or Counter0) 102 [831:824] Matrix OUT: IN2 of LUT4_0 or UP Input of FSM0 103 [839:832] Matrix OUT: IN3 of LUT4_0 or KEEP Input o f FSM0 104 [847:840] Matrix OUT: IN0 of LUT4_1 or Delay1 Input (or Counter1 RST/SET Input) 105 [855:848] Matrix OUT: IN1 of LUT4_1 or External Clo ck Input of Delay1 (or Counter1) 106 [863:856] Matrix OUT: IN2 of LUT4_1 or UP Input of FSM1 107 [871:864] Matrix OUT: IN3 of LUT4_1 or KEEP Input o f FSM1 108 [879:872] Matrix OUT: PD ofeither Temp-output with BG AND/OR crystal oscillator by register [1268] 109 Note 1 For each Address, the two most significant bits are unused. Table 29: Matrix Output Table (Continued) Register Bit Address Matrix Output Signal Function Matrix Output Number

Revision 2.5 52 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

6.3 CONNECTION MATRIX VIRTUAL INPUTS

As mentioned previously, the Connection Matrix inputs come from the outputs of various digital macroce lls on the device. Eight of the Connection Matrix inputs have the special ch aracteristic that the state of these signal lines c omes from a corresponding data bit written as a register value via I 2C. This gives the user the ability to write data vi a the serial channel, and have this information translated into signals that can be dri ven into the Connection Matrix and from the Connect ion Matrix to the digital inputs of other macrocells on the device. The I 2C address for reading and writing these register values is at byte 0244. Six of the eight Connection Matrix Virtual Inputs are dedicated to this virtual input function. An I 2C write command to these register bits will set the signal values going into the Connection Matrix to the desired state. A read command to these register bits will read either the original data values coming from the NVM memory bits (that were loaded during the initial device startup), or the values from a previous write command (if that has happened). Two of the eight Connection Matrix Virtual Inputs a re shared with Pin digital inputs,(IO6 Digital or I 2C_virtual_0 Input) and (IO7 Digital or I 2C_virtual_1 Input). If the virtual input mode is selected, an I 2C write command to these register bits will set the signal values going into the Connection Matrix to the desired state. Two register bits select whether the Connection Matrix input comes from the pin input or from the virtual register:  register [1074] Select SCL & Virtual Input 0 or IO6  register [1082] Select SDA & Virtual Input 1 or IO7 See Table 30 for Connection Matrix Virtual Inputs.

6.4 CONNECTION MATRIX VIRTUAL OUTPUTS

The digital outputs of the various macrocells are routed to the Connection Matrix to enable interconnections to the inputs of other macrocells in the device. At the same time, it is possible to read the state of each of the macrocell outputs as a register value via I2C. This option, called Connection Matrix Virtual Outputs, allows the user to remotely read the values of each macrocell output. The I 2C addresses for reading these register values are at bytes 0240 to 0247. Write commands to these same register values will be ignored (with the exception of the Virtual Input register bits at byte 0244). Table 30: Connection Matrix Virtual Inputs Matrix Input Number Matrix Input Signal Function Register Bit Addresses (d)

32 I 2C_virtual_0 Input [1952]

33 I 2C_virtual_1 Input [1953]

34 I 2C_virtual_2 Input [1954]

35 I 2C_virtual_3 Input [1955]

36 I 2C_virtual_4 Input [1956]

37 I 2C_virtual_5 Input [1957]

38 I 2C_virtual_6 Input [1958]

39 I 2C_virtual_7 Input [1959]

Revision 2.5 53 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

7 Combination Function Macrocells

The SLG46538-A has seventeen combination function macrocells that can serve more than one logic or timing function. In each case, they can serve as a Look Up Table (LUT), or a s another logic or timing function. See the list be low for the functions that can be implemented in these macrocells.  Three macrocells that can serve as either 2-bit LUTs or as D Flip-Flops;  Five macrocells that can serve as either 3-bit LUTs or as D Flip-Flops with Set/Reset Input;  One macrocell that can serve as either 3-bit LUT or as Pipe Delay;  One macrocell that can serve as either 2-bit LUT or as Programmable Pattern Generator (PGen);  Five macrocells that can serve as either 3-bit LUTs or as 8-Bit Counter/Delays;  Two macrocells that can serve as either 4-bit LUTs or as 16-Bit Counter/Delays. Inputs/Outputs for the 17 combination function macrocells are configured from the connection matrix with specific logic functions being defined by the state of NVM bits. 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). 7.1 2-BIT LUT OR D FLIP-FLOP MACROCELLS There are three macrocells that can serve as either 2-bit LUTs or as D Flip-Flops. When used to implem ent LUT functions, the 2-bit LUTs each take in two input signals from the connection matrix and produce a single output, whic h goes back into the connection matrix. When used to implement D Flip-Flop function, the two input signals from the connection matrix go to the data (D) and clock (CLK) inputs for the Flip-Flop, with the output going back to the connection matrix. 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). Figure 13: 2-bit LUT0 or DFF0 DFF0 clk D 2-bit LUT0 OUT IN0 IN1 To Connection Matrix Input [8] 4-bits NVM From Connection Matrix Output [61] 1-bit NVM Registers [1207:1204] Register [1191] From Connection Matrix Output [60] Q/nQ Register [1207] DFF or LATCH Select Register [1206] Output Select (Q or nQ) Register [1205] DFF Initial Polarity Select LUT Truth Table DFF Registers 0: 2-bit LUT0 IN0 1: DFF0 clk 0: 2-bit LUT0 IN1 1: DFF0 Data 0: 2-bit LUT0 OUT 1: DFF0 OUT

Revision 2.5 55 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 7.1.1 2-Bit LUT or D Flip-Flop Macrocells Used as 2-Bit LUTs Each macrocell, when programmed for a LUT function, uses a 4-bit register to define their output function: 2-Bit LUT0 is defined by registers [1207:1204] 2-Bit LUT1 is defined by registers [1203:1200] 2-Bit LUT2 is defined by registers [1215:1212] Table 34 shows the register bits for the standard digital logic devices (AND, NAND, OR, NOR, XOR, XNOR) that can be created within each of the 2-bit LUT logic cells. Table 34: 2-bit LUT Standard Digital Functions Function MSB LSB AND-2 1 0 0 0 NAND-2 0 1 1 1 OR-2 1 1 1 0 NOR-2 0 0 0 1 XOR-2 0 1 1 0 XNOR-2 1 0 0 1 Table 31: 2-bit LUT0 Truth Table IN1 IN0 OUT 0 0 register [1204] LSB 0 1 register [1205] 1 0 register [1206] 1 1 register [1207] MSB Table 32: 2-bit LUT1 Truth Table IN1 IN0 OUT 0 0 register [1200] LSB 0 1 register [1201] 1 0 register [1202] 1 1 register [1203] MSB Table 33: 2-bit LUT2 Truth Table IN1 IN0 OUT 0 0 register [1212] LSB 0 1 register [1213] 1 0 register [1214] 1 1 register [1215] MSB

Revision 2.5 56 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

7.1.2 Initial Polarity Operations

7.2 3-BIT LUT OR D FLIP-FLOP WITH SET/RESET MACROCELLS There are five macrocells that can serve as either 3-bit LUTs or as D Flip-Flops with Set/Reset inputs. When used to implement LUT functions, the 3-bit LUTs each take in three input signals from the connection matrix and produce a single output, which goes back into the connection matrix. When used to implement D Flip-Flop function, the three input signals from the connection matrix go to the data (D) and clock (CLK), and Reset/Set ( rRST/nSET) inputs for the Flip-Flop, with the outpu t going back to the connection matrix. DFF3 has a user selectable option to allow the macrocell output to either come from the Q/nQ output of one D Flip-Flop, or two D Flip-Flops in series, with the first D Flip-Flop triggering on the rising clock edge, and the second D Flip-Flop triggering on the falling clock edge. Figure 16: DFF Polarity Operations

Revision 2.5 63 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 7.2.1 3-Bit LUT or D Flip-Flop Macrocells Used as 3-Bit LUTs Table 35: 3-bit LUT0 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1216] LSB 0 0 1 register [1217] 0 1 0 register [1218] 0 1 1 register [1219] 1 0 0 register [1220] 1 0 1 register [1221] 1 1 0 register [1222] 1 1 1 register [1223] MSB Table 36: 3-bit LUT1 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1224] LSB 0 0 1 register [1225] 0 1 0 register [1226] 0 1 1 register [1227] 1 0 0 register [1228] 1 0 1 register [1229] 1 1 0 register [1230] 1 1 1 register [1231] MSB Table 37: 3-bit LUT2 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1232] LSB 0 0 1 register [1233] 0 1 0 register [1234] 0 1 1 register [1235] 1 0 0 register [1236] 1 0 1 register [1237] 1 1 0 register [1238] 1 1 1 register [1239] MSB Table 38: 3-bit LUT3 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1240] LSB 0 0 1 register [1241] 0 1 0 register [1242] 0 1 1 register [1243] 1 0 0 register [1244] 1 0 1 register [1245] 1 1 0 register [1246] 1 1 1 register [1247] MSB Table 39: 3-bit LUT4 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1248] LSB 0 0 1 register [1249] 0 1 0 register [1250] 0 1 1 register [1251] 1 0 0 register [1252] 1 0 1 register [1253] 1 1 0 register [1254] 1 1 1 register [1255] MSB Table 40: 3-bit LUT11 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1368] LSB 0 0 1 register [1369] 0 1 0 register [1370] 0 1 1 register [1371] 1 0 0 register [1372] 1 0 1 register [1373] 1 1 0 register [1374] 1 1 1 register [1375] MSB Table 41: 3-bit LUT12 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1376] LSB 0 0 1 register [1377] 0 1 0 register [1378] 0 1 1 register [1379] 1 0 0 register [1380] 1 0 1 register [1381] 1 1 0 register [1382] 1 1 1 register [1383] MSB Table 42: 3-bit LUT13 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1384] LSB 0 0 1 register [1385] 0 1 0 register [1386] 0 1 1 register [1387] 1 0 0 register [1388] 1 0 1 register [1389] 1 1 0 register [1390] 1 1 1 register [1391] MSB

Revision 2.5 64 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Each macrocell, when programmed for a LUT function, uses a 8-bit register to define their output function: 3-Bit LUT0 is defined by registers [1223:1216] 3-Bit LUT1 is defined by registers [1231:1224] 3-Bit LUT2 is defined by registers [1239:1232] 3-Bit LUT3 is defined by registers [1247:1240] 3-Bit LUT4 is defined by registers [1255:1248] 3-Bit LUT11 is defined by registers [1375:1368] 3-Bit LUT12 is defined by registers [1383:1376] 3-Bit LUT13 is defined by registers [1391:1384] 3-Bit LUT14 is defined by registers [1399:1392] 3-Bit LUT15 is defined by registers [1407:1400] 3-Bit LUT16 is defined by registers [1415:1408] 3-Bit LUT17 is defined by registers [1423:1416] Table 43: 3-bit LUT14 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1392] LSB 0 0 1 register [1393] 0 1 0 register [1394] 0 1 1 register [1395] 1 0 0 register [1396] 1 0 1 register [1397] 1 1 0 register [1398] 1 1 1 register [1399] MSB Table 44: 3-bit LUT15 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1400] LSB 0 0 1 register [1401] 0 1 0 register [1402] 0 1 1 register [1403] 1 0 0 register [1404] 1 0 1 register [1405] 1 1 0 register [1406] 1 1 1 register [1407] MSB Table 45: 3-bit LUT16 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1408] LSB 0 0 1 register [1409] 0 1 0 register [1410] 0 1 1 register [1411] 1 0 0 register [1412] 1 0 1 register [1413] 1 1 0 register [1414] 1 1 1 register [1415] MSB Table 46: 3-bit LUT17 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1416] LSB 0 0 1 register [1417] 0 1 0 register [1418] 0 1 1 register [1419] 1 0 0 register [1420] 1 0 1 register [1421] 1 1 0 register [1422] 1 1 1 register [1423] MSB

Revision 2.5 65 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Table 47 shows the register bits for the standard digital logic devices (AND, NAND, OR, NOR, XOR, XNOR) that can be created within each of the six 3-bit LUT logic cells.

7.2.2 Initial Polarity Operations

7.3 3-BIT LUT OR PIPE DELAY MACROCELL There is one macrocell that can serve as either a 3-bit LUT or as a Pipe Delay. When used to implement LUT functions, the 3-bit LUT takes in three input signals from the connection m atrix and produces a single output, which goes back into the connection matrix. When used as a Pipe Delay, there are three inputs signals from the matrix: Input (IN), Clock (CLK), and Reset (nRST). The Pipe Delay cell is built from 16 D Flip-Flop logic cells that provide the three delay options, two of which are user selectable. The DFF Table 47: 3-bit LUT Standard Digital Functions Function MSB LSB AND-3 1 0 0 0 0 0 0 0 NAND-3 0 1 1 1 1 1 1 1 OR-3 1 1 1 1 1 1 1 0 NOR-3 0 0 0 0 0 0 0 1 XOR-3 1 0 0 1 0 1 1 0 XNOR-3 0 1 1 0 1 0 0 1 Figure 29: DFF Polarity Operations VDD Data Clock POR nReset (Case 1) Q with nReset (Case 1) nReset (Case 2) Q with nReset (Case 2) Initial Polarity: High

Revision 2.5 66 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary cells are tied in series where the output (Q) of each delay cell goes to the next DFF cell. The first delay option (OUT2) is fixed at the output of the first Flip-Flop stage. The other two outputs (OUT0 and OUT1) provide user selectable options for 1 to 16 stages of delay.There are delay output points for each set of the OUT0 and OUT1 outputs to a 16-input mux that is controlled by registers [1259:1256] for OUT0 and registers [1263:1260] for OUT1. The 16-input mux is used to select the amount of delay. The overall time of the delay is based on the clock used in the SLG46538-A design. Each DFF cell has a time delay of the inverse of the clock time (either external clock or the RC Oscillator within the SLG46538-A). The sum of the n umber of DFF cells used will be the total time delay of the Pipe Delay logic cell. Note: CLK is rising edge triggered. 7.3.1 3-Bit LUT or Pipe Delay Macrocells Used as 3-Bit LUTs Figure 30: 3-bit LUT10 or Pipe Delay Table 48: 3-bit LUT10 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1256] LSB 0 0 1 register [1257] 3-bit LUT10 OUT IN1 IN0 From Connection Matrix Output [98] From Connection Matrix Output [99] IN2 From Connection Matrix Output [100]

16 Flip-Flops nRST

Matrix Output [98] From Connection Matrix Output [99] From Connection Matrix Output [100] Registers [1263:1260] Registers [1259:1256] To Connection Matrix Input [26] To Connection Matrix Input [25] OUT1 OUT0 Register [1271] To Connection Matrix Input [24]

1 Pipe OUT

Registers [1263:1256] Register [1270]

Revision 2.5 67 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Each macrocell, when programmed for a LUT function, uses a 8-bit register to define their output function: 3-Bit LUT10 is defined by registers [1263:1256] 7.3.2 3-Bit LUT or Pipe Delay Macrocells Used as Pipe Delay Register Settings 7.4 3-BIT LUT OR 8-BIT COUNTER/DELAY MACROCELLS There are five macrocells that can serve as either 3-bit LUTs or as Counter/Delays. When used to implement LUT function, the 3-bit LUT takes in three input signals from the con nection matrix and produces a single output, which goes back into the connection matrix. When used to implement 8-Bit Counter/Delay function, two of the three input signals from the connection matrix go to the external clock (EXT_CLK) and reset (DLY_I N/CNT Reset) for the Counter/Delay, with the output going back to the connection matrix. These macrocells can also operate in a one-shot mode, which will generate an output pulse of user-defined width. These macrocells can also operate in a frequency detection or edge detection mode. For timing diagrams refer to Section 7.6 Note Counters initialize with counter data after POR. Two of the five macrocells can have their active count value read via I 2C (CNT4 and CNT6). See Section 17.6.1 for further details. 0 1 0 register [1258] 0 1 1 register [1259] 1 0 0 register [1260] 1 0 1 register [1261] 1 1 0 register [1262] 1 1 1 register [1263] MSB Table 49: Pipe Delay Register Settings Signal Function Register Bit Address Register Definition LUT3_10 or Pipe Delay Output Select [1270] 0: LUT3_10 1: 1 Pipe Delay Output OUT0 select [1259:1256] OUT1 select [1263:1260] Pipe Delay OUT1 Polarity Select Bit [1271] 0: Non-inverted 1: Inverted Table 48: 3-bit LUT10 Truth Table (Continued) IN2 IN1 IN0 OUT

Revision 2.5 69 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Figure 33: 3-bit LUT7 or CNT/DLY4 CNT/DLY4 OUT clk DLY_IN/CNT_Reset 3-bit LUT7 OUT IN0 IN1 8-bits NVM 1-bit NVM IN2 Registers [1559:1552] Register [1196] From Connection Matrix Output [89] From Connection Matrix Output [90] To Connection Matrix Input [19] From Connection Matrix Output [91] LUT Truth Table CNT Data 0: 3-bit LUT7 IN1 1: CNT/DLY4 clk 0: 3-bit LUT7 OUT 1: CNT/DLY4 OUT 0: 3-bit LUT7 IN0 1: CNT/DLY4 RST

Revision 2.5 71 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 7.4.2 3-Bit LUT or Counter/Delay Macrocells Used as 3-Bit LUTs Each macrocell, when programmed for a LUT function, uses a 8-bit register to define their output function: 3-Bit LUT5 is defined by registers [1543:1536] 3-Bit LUT6 is defined by registers [1551:1544] 3-Bit LUT7 is defined by registers [1559:1552] 3-Bit LUT8 is defined by registers [1567:1560] 3-Bit LUT9 is defined by registers [1575:1568] Table 50: 3-bit LUT5 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1536] LSB 0 0 1 register [1537] 0 1 0 register [1538] 0 1 1 register [1539] 1 0 0 register [1540] 1 0 1 register [1541] 1 1 0 register [1542] 1 1 1 register [1543] MSB Table 51: 3-bit LUT6 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1544] LSB 0 0 1 register [1545] 0 1 0 register [1546] 0 1 1 register [1547] 1 0 0 register [1548] 1 0 1 register [1549] 1 1 0 register [1550] 1 1 1 register [1551] MSB Table 52: 3-bit LUT7 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1552] LSB 0 0 1 register [1553] 0 1 0 register [1554] 0 1 1 register [1555] 1 0 0 register [1556] 1 0 1 register [1557] 1 1 0 register [1558] 1 1 1 register [1559] MSB Table 53: 3-bit LUT8 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1560] LSB 0 0 1 register [1561] 0 1 0 register [1562] 0 1 1 register [1563] 1 0 0 register [1564] 1 0 1 register [1565] 1 1 0 register [1566] 1 1 1 register [1567] MSB Table 54: 3-bit LUT9 Truth Table IN2 IN1 IN0 OUT 0 0 0 register [1568] LSB 0 0 1 register [1569] 0 1 0 register [1570] 0 1 1 register [1571] 1 0 0 register [1572] 1 0 1 register [1573] 1 1 0 register [1574] 1 1 1 register [1575] MSB

Revision 2.5 72 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Table 55 shows the register bits for the standard digital logic devices (AND, NAND, OR, NOR, XOR, XNOR) that can be created within each of the six 3-bit LUT logic cells. 7.5 4-BIT LUT OR 16-BIT COUNTER/DELAY MACROCELLS There are two macrocells that can serve as either 4-bit LUTs or as 16-bit Counter/Delays. When used to implement LUT function, the 4-bit LUT takes in four input signals from the Connection Matrix and produces a single output, whi ch goes back into the Connection Matrix. When used to implement 16-Bit Co unter/Delay function, four input signals from the c onnection matrix go to the external clock (EXT_CLK) and reset (DLY_IN/CNT_Reset), Keep and Up for the Counter/Delay, with the output going back to the connection matrix. These two macrocells have an optional Finite State Machine (FSM) function. There are two matrix inputs for Up and Keep to support FSM functionality. Any counter within GreenPAK is counting down by default. In FSM mode (CNT/DLY0 and CNT/DLY1) it is possible to reverse counting by applying High level to Up input. Also, there is a possibility to pause counting by applying High level to Keep input, after the level goes Low, the counter will proceed counting.These macrocells can also operate in a one-shot mode, which will generate an output pulse of user-defined width. These macrocells can also operate in a frequency detection. Delay time and Output Period can be calculated using the following formulas:  Delay time: [(Counter data + 2)/CLK input frequency – Offset*];  Output Period: [(Counter data + 1)/CLK input frequency – Offset*]. One Shot pulse width can be calculated using formula:  Pulse width = [(Counter Data + 2)/CLK input frequency – Offset*]; *Offset is the asynchronous time offset between the input signal and the first clock pulse. Note Counters initialize with counter data after POR For timing diagrams refer to Section 7.6 . Both of these macrocells can have their active count value read via I 2C. See Section 17.6.1 for further details. Table 55: 3-bit LUT Standard Digital Functions Function MSB LSB AND-3 1 0 0 0 0 0 0 0 NAND-3 0 1 1 1 1 1 1 1 OR-3 1 1 1 1 1 1 1 0 NOR-3 0 0 0 0 0 0 0 1 XOR-3 1 0 0 1 0 1 1 0 XNOR-3 0 1 1 0 1 0 0 1

Revision 2.5 73 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 7.5.1 4-Bit LUT or 16-Bit CNT/DLY Block Diagram Figure 36: 4-bit LUT0 or CNT/DLY0 CNT/DLY0 OUT clk DLY_IN/CNT_Reset 4-bit LUT0 OUT IN0 IN1 16-bits NVM 1-bit NVM IN2 IN3 Registers [1591:1576] Register [1193] From Connection Matrix Output [101] From Connection Matrix Output [104] From Connection Matrix Output [102] To Connection Matrix Input [22] FSM UP KEEP From Connection Matrix Output [103] LUT Truth Table CNT Data 0: 4-bit LUT0 IN1 1: CNT/DLY0 clk 0: 4-bit LUT0 OUT 1: CNT/DLY0 OUT 0: 4-bit LUT0 IN0 1: CNT/DLY0 RST 0: 4-bit LUT0 IN2 1: FSM UP 0: 4-bit LUT0 IN3 1: FSM KEEP

Revision 2.5 74 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Figure 37: 4-bit LUT1 or CNT/DLY1 CNT/DLY1 OUT clk DLY_IN/CNT_Reset 4-bit LUT1 OUT IN0 IN1 16-bits NVM 1-bit NVM IN2 IN3 Registers [1607:1592] Register [1192] From Connection Matrix Output [105] From Connection Matrix Output [108] From Connection Matrix Output [106] To Connection Matrix Input [23] FSM UP KEEP From Connection Matrix Output [107] LUT Truth Table CNT Data 0: 4-bit LUT1 IN1 1: CNT/DLY1 clk 0: 4-bit LUT1 IN0 1: CNT/DLY1 RST 0: 4-bit LUT1 IN2 1: FSM UP 0: 4-bit LUT1 IN3 1: FSM KEEP

Revision 2.5 75 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 7.5.2 4-Bit LUT or 16-Bit Counter/Delay Macrocells Used as 4-Bit LUTs Each macrocell, when programmed for a LUT function, uses a 16-bit register to define their output function: 4-Bit LUT0 is defined by registers [1591:1576] 4-Bit LUT1 is defined by registers [1607:1592] Table 58: 4-bit LUT Standard Digital Functions Function MSB LSB AND-4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NAND-4 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 OR-4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 NOR-4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 XOR-4 0 1 1 0 1 0 0 1 1 0 0 1 0 1 1 0 XNOR-4 1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 Table 56: 4-bit LUT0 Truth Table IN3 IN2 IN1 IN0 OUT 0 0 0 0 register [1576] LSB 0 0 0 1 register [1577] 0 0 1 0 register [1578] 0 0 1 1 register [1579] 0 1 0 0 register [1580] 0 1 0 1 register [1581] 0 1 1 0 register [1582] 0 1 1 1 register [1583] 1 0 0 0 register [1584] 1 0 0 1 register [1585] 1 0 1 0 register [1586] 1 0 1 1 register [1587] 1 1 0 0 register [1588] 1 1 0 1 register [1589] 1 1 1 0 register [1590] 1 1 1 1 register [1591] MSB Table 57: 4-bit LUT1 Truth Table IN3 IN2 IN1 IN0 OUT 0 0 0 0 register [1592] LSB 0 0 0 1 register [1593] 0 0 1 0 register [1594] 0 0 1 1 register [1595] 0 1 0 0 register [1596] 0 1 0 1 register [1597] 0 1 1 0 register [1598] 0 1 1 1 register [1599] 1 0 0 0 register [1600] 1 0 0 1 register [1601] 1 0 1 0 register [1602] 1 0 1 1 register [1603] 1 1 0 0 register [1604] 1 1 0 1 register [1605] 1 1 1 0 register [1606] 1 1 1 1 register [1607] MSB

Revision 2.5 76 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

7.6 CNT/DLY/FSM TIMING DIAGRAMS

7.6.1 Delay Mode (Edge Select: Both, Counter Data: 3) CNT/DLY2 to CNT/DLY6

7.6.2 Count Mode (Count Data: 3), Counter Reset (Rising Edge Detect) CNT/DLY2 to CNT/DLY6

7.6.3 One-Shot Mode CNT/DLY0 to CNT/DLY6

This macrocell will generate a pulse whenever a selected edge is detected on its input. Register bits set the edge selection. The pulse width determines by counter data and clock se lection properties. The output pulse polarity (non- inverted or inverted) is Figure 38: Delay Mode Timing Diagram Figure 39: Counter Mode Timing Diagram Delay In RC OSC: force Power-On (always running) Delay Output Asynchronous delay variable Asynchronous delay variable delay = period x (counter data + 1) + variable variable is from 0 to 1 clock period delay = period x (counter data + 1) + variable variable is from 0 to 1 clock period Delay In RC OSC: auto Power-On (powers up from delay in) Delay Output offset offset delay = offset + period x (counter data + 1) See offset in table 3 delay = offset + period x (counter data + 1) See offset in table 3 RESET_IN CLK Counter OUT Count start in 0 clk after reset 4 clk period pulse

Revision 2.5 77 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary selected by register bit. See Table 59. Any incoming edges will be ignored during the puls e width generation. The following diagram shows one-shot function for non-inverted output. Figure 40: One-Shot Function Timing Diagram One-Shot/Freq. DET/Delay IN One-Shot Function Rising Edge Detection One-Shot Function Falling Edge Detection One-Shot Function Both Edge Detection t t t t Delay time Delay time Delay time Delay time Delay time Delay time

Revision 2.5 78 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary This macrocell generates a high level pulse with a set width (defined by counter data) when detecting the respective edge. It does not restart while pulse is high.

7.6.4 Frequency Detection Mode CNT/DLY0 to CNT/DLY6

Rising Edge: The output goes high if the time betwe en two successive edges is less than the delay. The output goes low if the second rising edge has not come after the last rising edge in specified time. Falling Edge: The output goes high if the time betw een two falling edges is less than the set time. Th e output goes low if the second falling edge has not come after the last falling edge in specified time. Both Edge: The output goes high if the time between the rising and falling edges is less than the set time, which is equivalent to the length of the pulse. The output goes low if after the last rising/falling edge and specified time, the second edge has not come. Table 59: DLY/CNTx One-Shot/Freq. Detect Output Polarity Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write [1329] Select the Polarity of DLY/CNT6's One Shot/ Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid [1330] Select the Polarity of DLY/CNT5's One Shot/ Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid [1331] Select the Polarity of DLY/CNT4's One Shot/ Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid [1332] Select the Polarity of DLY/CNT3's One Shot/ Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid [1333] Select the Polarity of DLY/CNT2's One Shot/ Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid [1334] Select the Polarity of DLY/CNT1's One Shot/ Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid [1335] Select the Polarity of DLY/CNT0's One Shot/ Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid

Revision 2.5 79 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Figure 41: Frequency Detection Mode Timing Diagram One-Shot/Freq. DET/Delay IN Frequency Detector Function Rising Edge Detection Frequency Detector Function Falling Edge Detection Frequency Detector Function Both Edge Detection t t t t Delay time Delay time Delay time Delay time Delay time Delay time

Revision 2.5 80 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

7.6.5 Edge Detection Mode CNT/DLY2 to CNT/DLY6

The macrocell generates high level short pulse when detecting the respective edge. See Table 12 . Figure 42: Edge Detection Mode Timing Diagram One-Shot/Freq. DET/Delay IN Edge Detector Function Rising Edge Detection Edge Detector Function Falling Edge Detection Edge Detector Function Both Edge Detection t t t t Delay time Delay time Delay time Delay time Delay time

Revision 2.5 81 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

7.6.6 Delay Mode CNT/DLY0 to CNT/DLY6

The macrocell shifts the respective edge to a set t ime and restarts by appropriate edge. It works as a filter if the input signal is shorter than the delay time.

7.6.7 CNT/FSM Mode CNT/DLY0, CNT/DLY1

Figure 43: Delay Mode Timing Diagram Figure 44: CNT/FSM Timing Diagram (Reset Rising Edge Mode, Oscillator is Forced On, UP = 0) for Counter Data = 3 One-Shot/Freq. DET/Delay IN Delay Function Rising Edge Detection Delay Function Falling Edge Detection Delay Function Both Edge Detection t t t t Delay time Delay time Delay time Delay time Delay time Delay time RESET IN CLK 3 1 3 2 1 0Q COUNT END 3 2 1 00 KEEP 2 3 2 1 0 Note: Q = current counter value

Revision 2.5 83 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

7.6.8 Difference in Counter Value for Counter, Delay, One-Shot, and Frequency Detect Modes

There is a difference in counter value for Counter and Delay/One-Shot/Frequency Detect modes. The coun ter value is shifted for two rising edges of the clock signal in Delay/One-Shot/Frequency Detect modes compared to Counter mode. See Figure 48 . Figure 47: CNT/FSM Timing Diagram (Set Rising Edge Mode, Oscillator is Forced On, UP = 1) for Counter Data = 3 Figure 48: Counter Value, Counter Data = 3 SET IN CLK 3 5 4 5 6 7Q COUNT END 8 9 10 11 3 KEEP 4 12 65533 65534 65535 3 4 5 Note: Q = current counter value One-Shot/Freq.SET/Delay IN CLK CNT Out Delay Data One-Shot Out One-Shot Data DLY Out CNT Data 0 3 2 1 0 3 2 3 3 3 2 1 3 3 3 3 3 2 1 3 3

Revision 2.5 85 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

7.8 WAKE AND SLEEP CONTROLLER

The SLG46538-A has a Wake and Sleep (WS) function f or all ACMPs. The macrocell CNT/DLY0 can be reconfi gured for this purpose registers [1319:1318] = 11 and registers [1 495] = 1. The WS serves for power saving, it allows to switch on and off selected ACMPs on selected bit of 16-bit counter. Figure 50: PGen Timing Diagram VDD OUT D15 CLK 0 1 t 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 D14 D0 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D15 t t t nRST

Revision 2.5 86 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary To use any ACMP under WS controller the following settings must be done:  ACMP Power Up Input from matrix = 1 (for each ACMP separately);  CNT/DLY0 must be set to Wake and Sleep Controller function (for all ACMPs);  Register WS => enable (for each ACMP separately);  CNT/DLY0 set/reset input = 0 (for all ACMPs);  In case of using OSC1 (25 MHz), OSC0 must be set to Force Power-On. As the OSC any oscillator with any pre-divider can be used. The user can select a period of time while the ACMPs are sleeping in a range of 1 - 65535 clock cycles. Before they a re sent to sleep their outputs are latched, so the ACMPs remain their state (High or Low) while sleeping. WS controller has the following settings:  Wake and Sleep Output State (High/Low) If OSC is powered off (Power-Down option is selected; power-down input = 1) and Wake and Sleep Output State = High, the ACMP is continuously on. If OSC is powered off (Power-Down option is selected; power-down input = 1) and Wake and Sleep Output State = Low, the ACMP is continuously off. Both cases WS function is turned off.  Counter Data (Range: 1 - 65535) User can select wake and sleep ratio of the ACMP; counter data = sleep time, one clock = wake time. Figure 51: Wake/Sleep Controller OSC CK_OSC WS_PD 000:/1 001:/4 010:/12 011:/24 100:/64 cnt_end WS out WS_PD Power Control From Connection Matrix Output[58] Analog Control Block Registers [1316:1314] WS_PD to W&S out state selection block WS clock freq. selection Registers [1591:1576] WS ratio control data Register [1494] WS out state for OSC off ACMPs_pdb WS out bg/regulator pdb WS time selection Register [1489] ACMP0..3 OUT To Connection Matrix Input [60:57] From Connection Matrix Output [54:51] Registers [1493:1490] ACMP WS enable WS out Latches Note: WS_PD is High at WS OSC (25 kHz/2 MHz OSC) Po wer-down WS Controller CNT0 out To Connection Matrix Input [22] ck CNT ACMPs_pdb WS

Revision 2.5 87 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary  Q mode - defines the state of WS counter data when Set/Reset signal appears Reset - when active signal appears, the WS counter will reset to zero and High level signal on its output will turn the ACMPs on. When Reset signal goes out, the WS counter will go Low and turn the ACMPs off until the counter counts up to the end Set - when active signal appears, the WS counter will stop and Low level signal on its output will turn the ACMPs off. When Set signal goes out, the WS counter will go on counting and High level signal will turn the ACMPs on while counter is counting up to the end.  Edge Select defines the edge for Q mode High level Set/Reset - switches mode Set/Reset when level is High Note: Q mode operates only in case of “High Level Set/Reset”.  Wake time selection - time required for wake signal to turn the ACMPs on Normal Wake Time - when WS signal is High, it takes a BG time (100/550 µs) to turn the ACMPs on. They will stay on until WS signal is Low again. Wake time is one clock peri od. It should be longer than BG turn on time and mi nimal required comparing time of the ACMP . Short Wake Time - when WS signal is High, it takes a BG time (100/550 µs) to turn the ACMPs on. They will stay on for 1 µs and turn off regardless of WS signal. The WS signal width does not matter.  Keep - pauses counting while Keep = 1  Up - reverses counting If Up = 1, CNT is counting up from user selected value to 65535. If Up = 0, CNT is counting down from user selected value to 1.

Revision 2.5 88 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

8 Analog Comparators

There are four Analog Comparator (ACMP) macrocells in the SLG46538-A. In order for the ACMP cells to be used in a GreenPAK design, the power up signals (ACMPx_pdb) need to be active. By connecting to signals coming from the Connection Matrix, it is possible to have each ACMP be always on, always off , or power cycled based on a digital signal coming from the Connection Matrix. Also, all ACMPs have Wake and Sleep function (WS), see Section 7.8 . When ACMP is powered down, output is low. PWR UP = 1 => ACMP is powered up. PWR UP = 0 => ACMP is powered down. During ACMP power up, its output will remain low, and then becomes valid 1.03 ms (max) after ACMP power up signal goes high, see Figure 53 . If V DD 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 54 . The ACMP cells have an input "Low bandwidth" 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 V DD signal. Note: Regulator and Charge Pump set to automatic ON/OFF. Figure 52: Maximum Power-On Delay vs. V DD , BG = Auto-delay 120 140 160 180 200 220 240 1.71 1.8 2.5 2.7 3.3 3.6 4.2 4.5 5.5 POWER ON DELAY (µS) VDD (V) -40⁰C +25⁰C +125⁰C

Revision 2.5 91 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

8.1 ACMP0 BLOCK DIAGRAM AND REGISTER SETTINGS

Table 62: Built-In Hysteresis Tolerance at T = 25 °C Vhys (mV) VDD = 1.7 V to 1.8 V VDD = 1.89 V to 5.5 V Vref = 50 mV to 500)mV Vref = 550 V to 1000 mV Vref = 1050 V to 1200 mV Vref =

50 V to 500 mV

Vref = 550 V to 1000 mV Vref = 1050 V to 1200 mV min max min max min max min max min max min max Figure 57: ACMP0 Block Diagram 11010 11011 11100 11101 Internal Vref IO9: EXT_Vref IO5: ACMP0(-) 110 100 0X1 IO4: ACMP0(+) External V DD 1.71 V ~ 5.5 V External V DD 2.7 V ~ 5.5 V Selectable Gain Registers [1630:1629] to ACMP1, ACMP2, AC - MP3’s MUX input Vref From Connection Matrix Output [51] pdb LBW Selection Register [1631] Hysteresis Selection Registers [1175:1174] L/S To Connection Matrix Input [57] Registers [1628:1624] *IO4_aio_en; register [1173]; register [1172] *IO4_aio_en: if registers [1062:1061] = ’11’ then 1, otherwise: 0 BG_ok Latch Register [1490] IO9: EXT_Vref/2 IO5: ACMP0(-)/2 11001- 00000 ACMP0 Wake & Sleep function Enable

Revision 2.5 92 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

8.2 ACMP1 BLOCK DIAGRAM AND REGISTER SETTINGS

Figure 58: ACMP1 Block Diagram 11010 11011 11100 11101 Internal Vref IO9: EXT_Vref IO9: EXT_Vref 11X 10X 0X1 IO8: ACMP1(+) From ACMP0's MUX output External V DD 2.7 V ~ 5.5 V Selectable Gain Registers [1638:1637] Vref From Connection Matrix Output [52] pdb LBW Selection Register [1639] Hysteresis Selection AVD = 1.8 V L/S To Connection Matrix Input [58] Registers [1636:1632] *IO8_aio_en; register [1169]; register [1168] *IO8_aio_en: if registers [1093:1092] = ’11’ then 1, otherwise: 0 BG_ok Latch Register [1491] IO9: EXT_Vref/2 IO9: EXT_Vref/2 11101- 00000 100 µA Current Source ACMP1 Wake & Sleep function Enable en Register [1183] Note: when 100 µA Current Source is enabled input v oltage on IO8 should not exceed 1.8 V Registers [1171:1170]

Revision 2.5 93 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

8.3 ACMP2 BLOCK DIAGRAM AND REGISTER SETTINGS

Figure 59: ACMP2 Block Diagram Internal Vref IO9: EXT_Vref Reserved IO10: ACMP2(+) from ACMP0’s MUX output Selectable Gain Registers [1646:1645] Vref From Connection Matrix Output [53] pdb LBW Selection Register [1647] Hysteresis Selection Registers [1182:1181] L/S To Connection Matrix Input [59] Registers [1644:1640] *IO10_aio_en; register [1180] *IO10_aio_en: if registers [1109:1108] = ’11’ then 1, otherwise: 0 BG_ok Latch Register [1492] ACMP2 Wake & Sleep function Enable 11010 11011 11100 11101 IO9: EXT_Vref/2 Reserved 11001- 00000

Revision 2.5 94 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

8.4 ACMP3 BLOCK DIAGRAM AND REGISTER SETTINGS

Figure 60: ACMP3 Block Diagram Internal Vref Reserved IO12: ACMP3(+) IO10 : ACMP2(+) Selectable Gain Registers [1654:1653] Vref From Connection Matrix Output [54] pdb LBW Selection Register [1655] Hysteresis Selection Registers [1179:1178] L/S Registers [1652:1648] *IO12_aio_en; register [1177]; register [1176] *IO12_aio_en: if registers [1126:1125] = ’11’ then 1, otherwise: 0 From ACMP0’s MUX output To Connection Matrix Input [60] BG_ok Latch Register [1493] ACMP3 Wake & Sleep function Enable 11010 11011 11100 11101 IO9: ACMP3(-)/2 Reserved 11001- 00000 IO9: ACMP3(-)

Revision 2.5 95 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

9 Pipe Delay

The SLG46538-A has a pipe delay logic cell that is shared with the LUT3_10 in one of the Combination Function macrocells. The user can select one of these functions to use in a design, but not both. Please see Section 7.3 for the description of this Combination Function macrocell.

10 Programmable Delay/Edge Detector

The SLG46538-A has a programmable time delay logic cell available, that can generate a delay, that is selectable from one of four timings configured in the GreenPAK Designer. T he programmable time delay cell can generate one of four different delay patterns, rising edge detection, falling edge detec tion, both edge detection, and both edge delay. See Figure 61 and Figure 62 for further information. Note: The input signal must be longer than the delay, otherwise it will be filtered out. 10.1 PROGRAMMABLE DELAY TIMING DIAGRAM - EDGE DETECTOR OUTPUT Please refer to Table 12 . Figure 61: Programmable Delay Figure 62: Edge Detector Output Programmable Delay OUT IN Registers [1267:1266] From Connection Matrix Output [57] To Connection Matrix Input [61] Registers [1265:1264] Edge Mode Selection Delay Value Selection time1 Edge Detector Output IN Rising Edge Detector Falling Edge Detector Both Edge Detector Both Edge Delay time1 time1 is a fixed value time2 delay value is selected via register time2 time2 width width

Revision 2.5 96 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 11 Additional Logic Function. Deglitch Filter The SLG46538-A has three additional logic functions that are connected directly to the Connection Matr ix inputs and outputs. There are two deglitch filters, each with edge detector functions. See Section 3.8 .

11.1 DEGLITCH FILTER/EDGE DETECTOR

11.2 INV GATE

Figure 63: Deglitch Filter/Edge Detector Figure 64: INV Gate From Connection Matrix Output [55] To Connection Matrix Input [30] From Connection Matrix Output [56] To Connection Matrix Input [31] Filter_0 Filter_1 Register [1462] Register [1458] C C R R Register [1463] Register [1459] Edge Detect Edge Detect Edge Select Registers [1457:1456] Edge Select Registers [1461:1460] INV Gate From Connection Matrix Output [40] To Connection Matrix Input [50]

Revision 2.5 97 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

12 Voltage Reference

12.1 VOLTAGE REFERENCE OVERVIEW

The SLG46538-A has a Voltage Reference (Vref) Macrocell to provide references to the four analog comparators. This macrocell can supply a user selection of fixed voltage references, /3 and /4 reference off of the V DD power supply to the device, and externally supplied voltage references from IOs 5 and 9. The macrocell also has an option to output reference voltages on IOs 15 and 16. See Table 63 for the available selections for each analog compa rator. Also, see Figure 65 , which shows the reference output structure.

12.2 VREF SELECTION TABLE

Table 63: Vref Selection Table SEL[4:0] ACMP0_Vref ACMP1_Vref ACMP2_Vref ACMP3_Vref 11101 vref_ext_acmp0/2 vref_ext_acmp1/2 vref_ext_acmp2 /2 vref_ext_acmp2/2 11100 vref_ext_acmp1/2 vref_ext_acmp1/2 vref_ext_acmp1 /2 vref_ext_acmp1/2 11011 vref_ext_acmp0 vref_ext_acmp1 vref_ext_acmp2 vref _ext_acmp2 11010 vref_ext_acmp1 vref_ext_acmp1 vref_ext_acmp1 vref _ext_acmp1

11001 V DD /4 V DD /4 V DD /4 V DD /4

11000 V DD /3 V DD /3 V DD /3 V DD /3

10111 1.20 1.20 1.20 1.20 10110 1.15 1.15 1.15 1.15 10101 1.10 1.10 1.10 1.10 10100 1.05 1.05 1.05 1.05 10011 1.00 1.00 1.00 1.00 10010 0.95 0.95 0.95 0.95 10001 0.90 0.90 0.90 0.90 10000 0.85 0.85 0.85 0.85 01111 0.80 0.80 0.80 0.80 01110 0.75 0.75 0.75 0.75 01101 0.70 0.70 0.70 0.70 01100 0.65 0.65 0.65 0.65 01011 0.60 0.60 0.60 0.60 01010 0.55 0.55 0.55 0.55 01001 0.50 0.50 0.50 0.50 01000 0.45 0.45 0.45 0.45 00111 0.40 0.40 0.40 0.40 00110 0.35 0.35 0.35 0.35 00101 0.30 0.30 0.30 0.30 00100 0.25 0.25 0.25 0.25 00011 0.20 0.20 0.20 0.20 00010 0.15 0.15 0.15 0.15 00001 0.10 0.10 0.10 0.10 00000 0.05 0.05 0.05 0.05 VDD Practical Vref Range Note 2.0 V - 5.5 V 50 mV ~ 1.2 V 1.7 V - 2.0 V 50 mV ~ 1.0 V Do not operate above 1.0 V

Revision 2.5 98 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

12.3 VREF BLOCK DIAGRAM

Figure 65: Voltage Reference Block Diagram CMP0_VREF CMP1_VREF CMP2_VREF CMP3_VREF Registers [1628:1624] Registers [1636:1632] Registers [1644:1640] Registers [1652:1648] V DD /3 VDD /4 ext_vref_acmp2 (IO11) ext_vref_acmp1 (IO9) ext_vref_acmp0 (IO5) Register [1476] 000 001 100 101 110 000 001 100 101 110 Register [1474] VDD /2 VDD /3 VDD /4 Registers [1486:1484] Registers [1482:1480] Vref Out_0 (IO16) IO16_aio_en Registers [1157:1156]=11 Vref Out_1 (IO15) IO15_aio_en Registers [1149:1148]=11

Revision 2.5 99 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

12.4 VREF LOAD REGULATION

Note 1: Vref buffer performance is not guaranteed at V DD < 2.7 V . Figure 66: Typical Load Regulation, Vref = 600 mV, T = -40 °C to +125 °C, Buffer - Enable Figure 67: Typical Load Regulation, Vref = 1000 mV, T = -40 °C to +125 °C, Buffer - Enable 350 400 450 500 550 600 650 100 150 200 250 300 350 400 450 500 V REF I ( UA) VDD=5.5V VDD=3.3V VDD=2.7V 700 750 800 850 900 950 1000 1050 100 150 200 250 300 350 400 450 500 VREF I ( UA) VDD=5.5V VDD=3.3V VDD=2.7V

Revision 2.5 100 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Figure 68: Typical Load Regulation, Vref = 1200 mV, T = -40 °C to +125 °C, Buffer - Enable 850 900 950 1000 1050 1100 1150 1200 1250 100 150 200 250 300 350 400 450 500 VREF I ( UA) VDD=5.5V VDD=3.3V VDD=2.7V

Revision 2.5 101 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

13 Clocking

13.1 OSC GENERAL DESCRIPTION

The SLG46538-A has three internal oscillators. RC Oscillator that runs at 25 kHz/2 MHz (OSC0), Oscillator that runs at 25 MHz (OSC1) and Crystal Oscillator. It is possible to use all three oscillators simultaneously. The fundamental frequency can also come from clock input (IO15 or IO17 for 25 kHz/2 MHz and IO14 for 25 MHz or Crystal OSC), see Section 19 . 13.2 25 KHZ/2 MHZ AND 25 MHZ RC OSCILLATORS There are two divider stages that allow the user flexibility for introducing clock signals on various Connection Matrix Input lines. The pre-divider allows the selection of /1, /2, /4, or /8 divide down frequency from the fundamental. The second stage divider (only for 25 kHz/2 MHz Oscillator) has an input of freque ncy from the pre-divider, and outputs one of seven different frequencies on Connection Matrix Input lines [27] (OUT0) and [28] (OUT1). See Figure 69 and Figure 70 for details. There are two modes of the POWER CONTROL pin, (register [1658] for 25 kHz/2 MHz OSC and register [1657] for 25 MHz OSC):  POWER-DOWN [0] . If PWR CONTROL input of oscillator is LOW, the oscillator will be turned on. If PWR CONTROL input of oscillator is HIGH the oscillator will be turned off and OSC divider will reset.  FORCE ON [1] . If PWR CONTROL input of oscillator is HIGH, the oscillator will be turned on. If PWR CONTROL input of oscillator is LOW the oscillator will be turned off. The PWR CONTROL signal has the highest priority. The SLG46538-A has a 25 kHz/2 MHz OSC FAST START-UP function register [1338] (1 – on, 0 – off). It allows the OSC to run immediately after power-up this decreases the settling time. Note that when OSC FAST START-UP is on, the current consumption will rise. The user can select two OSC POWER MODEs (register [1343] for 25 kHz/2 MHz OSC and register [1341] for 25 MHz OSC):  If AUTO POWER-ON [0] is selected, the OSC will run when any macrocell that uses OSC is powered on.  If FORCE POWER-ON [1] is selected, the OSC will run when the SLG46538-A is powered on. OSC can be turned on by:  Register control (force Power-On)  Delay mode, when delay requires OSC  CNT/FSM The Power-Down Mode is paired with temperature sensor, Section 18 . If it is enabled for Crystal OSC, it is not available for Temp Sensor and vice versa. However, it is possible to enable Power-Down Mode for Crystal OSC and Temp Sensor simultaneously.

Revision 2.5 102 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Figure 69: 25 kHz/2 MHz RC OSC Block Diagram Figure 70: 25 MHz RC OSC Block Diagram Internal RCO Register [1342] 0: 25 kHz 1: 2 MHz IO17 EXT_CLK EXT_CLK Sel register [1358] / 2 / 3 / 4 / 8 / 12 / 24 / 64 To Connection Matrix Input [27] Registers [1349:1347] DIV /1 /2 /4 /8 Registers [1340:1339] Pre-divider Second Stage Divider From Connection Matrix Output [58] PWR DOWN To Connection Matrix Input [28] Registers [1346:1344] IO15 EXT_CLK EXT_CLK Sel register [1355] Auto Power-On Force Power-On OSC Power Mode register [1343] OUT0 OUT1 Internal RCO

25 MHz Osc

IO14 EXT_CLK EXT_CLK Sel register [1357] To Connection Matrix Input [29] DIV /1 /2 /4 /8 Registers [1337:1336] Divider From Connection Matrix Output [59] PWR DOWN Auto Power-On 0 Force Power-On OSC Power Mode register [1341] OUT

Revision 2.5 103 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

13.3 OSCILLATORS POWER-ON DELAY

Note 1: OSC power mode: “Auto Power-On”. Note 2: “OSC enable” signal appears when any macrocell that uses OSC is powered on. Figure 71: Oscillator Startup Diagram Figure 72: RC Oscillator Maximum Power-On Delay vs. V DD at T = 25 °C, OSC0 = 2 MHz CLK OSC enable Power-On Delay 150 200 250 300 350 400 450 1.7 1.8 1.9 2.3 2.5 2.7 3.0 3.3 3.6 4.2 4.5 5.0 5.5 VDD (V) Normal Start ͲUp Mode Fast Start ͲUp Mode

Revision 2.5 105 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

13.4 OSCILLATORS ACCURACY

Note: OSC power setting: Force Power-On; Clock to matrix input - enable; Bandgap: turn on by register - enable. Note: For more information see Section 3.9 . Figure 75: RC Oscillator Frequency vs. Temperature, RC OSC0 = 2 MHz Figure 76: RC Oscillator Frequency vs. Temperature, RC OSC0 = 25 kHz 1.75 1.8 1.85 1.9 1.95 2.05 2.1 2.15 2.2 -40 -20 100 120 F (MHz) T (°C) Fmax @ VDD=1.8 V Fmin @ VDD=1.8 V Fmax @ VDD=3.3 V Fmin @ VDD=3.3 V Fmax @ VDD=5.0 V Fmin @ VDD=5.0 V 23.5 24.5 25.5 26.5 -40 -20 100 120 F (kHz) T (°C) Fmax @ VDD=1.8 V Fmin @ VDD=1.8 V Fmax @ VDD=3.3 V Fmin @ VDD=3.3 V Fmax @ VDD=5.0 V Fmin @ VDD=5.0 V

Revision 2.5 106 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Note: 25 MHz RC OSC1 performance is not guaranteed at V DD < 2.5 V. Figure 77: OSC1 (25 MHz) Frequency vs. Temperature -40 -20 100 120 F (MHz) T (°C) Fmax @ VDD=1.8 V Fmin @ VDD=1.8 V Fmax @ VDD=3.3 V Fmin @ VDD=3.3 V Fmax @ VDD=5.0 V Fmin @ VDD=5.0 V

Revision 2.5 107 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

14 Crystal Oscillator

The Crystal OSC provides an inverter circuit which can be connected to external components such as an external quartz crystal or ceramic resonator to create a precise and stable frequency output. As shown in Figure 79 , IO14 and IO13 are the inverter’s input and output respectively. To ensure start-up, 2.7 V or greater on VDD is recommended so that the inverter has enough gain-bandwidth. Start-up margin depends on crystal/resonator characteristics which vary by frequency, size, cut, and manufac - turer. Optimal values of external components depend on stray capacitances, crystal/resonator characteristics and noise from the environment. For typical component values, please r efer to Table 64 as a starting point. For ceramic resonators, capac itors as recommended by the manufacturer can be used. An alternative use of Crystal OSC is as a clock buffer, in which case an external clock source can be connected to IO14. For this use, VDD can be as low as 1.71 V, but note that the Crystal OSC inverter is slower at lower VDD voltages, and hence the longer rise and fall delays may result in more duty cycle skew for higher frequency clocks. The Power-Down Mode is paired with temperature sensor. If it is enabled for Crystal OSC, it is not available for Temp Sensor and vice versa. However, it is possible to enable Power-Down Mode for Crystal OSC and Temp Sensor simultaneously. Figure 78: Crystal OSC Block Diagram Figure 79: External Crystal Connection Table 64: External Components Selection f C1 C2 R1 R2 32.768 kHz 10 pF 330 pF 20 M Ω 20 k Ω 4 - 40 MHz 12 pF 12 pF 1 M Ω 0 Ω Crystal OSC To Connection Matrix Input [53] From Connection Matrix Output [109] PWR DOWN Disable Enable OSC Power Mode register [1136] IO14 IO13 OUT Crystal SLG46538-A IO14 IO13

Revision 2.5 108 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

15 Power-On Reset

The SLG46538-A has a Power-On Reset (POR) macrocell to ensure correct device initialization and operation of all macrocells in the device. The purpose of the POR circuit is to have consistent behavior and predictable results when the V DD power is first ramping to the device, and also while the V DD is falling during power-down. To accomplish this g oal, the POR drives a defined sequence of internal events that trigger changes to the states of different macrocells inside the device, and finally to the state of the IO pins.

15.1 GENERAL OPERATION

To start the POR sequence in the SLG46538-A, the voltage applied on the V DD should be higher than the Power-On threshold, the V DD voltage must ramp up to the operational voltage value, but the POR sequence will start earlier, as soon as the V DD voltage rises to the Power-On threshold. After the POR sequ ence has started, the SLG46538-A will have a typica l period of time to go through all the steps in the sequence (noted in the datasheet for that device), and will be ready and completely operational after the POR sequence is complete. The SLG46538-A is guaranteed to be powered down and nonoperational when the V DD voltage (voltage on V DD ) 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 2) ) than the V DD voltage is applied to any other PIN. For example, if V DD 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 The Power-On threshold is defined in Electrical Characteristics table. Note 2 There is a 0.6V margin due to forward drop voltage of the ESD protection diodes. To power down the chip the V DD voltage should be lower than the operational and t o 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 IO 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 V DD , this rule also applies to the case when the chip is powered on. Note that V DD2 has no influence on POR sequence, all internal macrocells are powered from V DD . It means, V DD2 can be switched on/off while V DD is on. If voltage on V DD2 appears after the POR sequence, IOs 9, 10, 12, 13, 14, 15, 16, 17 become available when V DD2 reaches 0.6 V. For proper power up sequence, make sure V DD2 will not exceed V DD at any point during startup. For normal operation V DD should not be switched off while V DD2 is on, due to V DD2 ≤ V DD , see Section 3.

Revision 2.5 109 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

15.2 POR SEQUENCE

The POR system generates a sequence of signals that enable certain macrocells. The sequence is shown in Figure 80 . As can be seen from Figure 80 after the V DD has start ramping up and crosses the Power-On thre shold, 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 transiti on from high impedance 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, V DD value, temperature, and even will vary from chip to chip (process influence).

15.3 MACROCELLS OUTPUT STATES DURING POR SEQUENCE

To have a full picture of SLG46538-A operation during powering and POR sequence, review the overview t he macrocell output states during the POR sequence ( Figure 81 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, Figure 80: POR Sequence VDD POR_NVM (reset for NVM) NVM_ready_out POR_GPI (reset for input enable) POR_LUT (reset for LUT output) POR_CORE (reset for DLY/RCO/DFF /LATCH/Pipe DLY POR_OUT (generate low to high to matrix) POR_GPO (reset for output enable) t t t t t t t t

Revision 2.5 110 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary all other macrocells are initialized. After macrocells are initialized, internal POR matrix signal swi tches from LOW to HIGH. The last are output PINs that become active and determined by the input signals. Figure 81: Internal Macrocell States during POR Sequence Unpredictable Unpredictable Unpredictable Unpredictable Unpredictable Unpredictable Unpredictable Unpredictable VDD Input PIN_out to matrix LUT_out to matrix Programmable Delay_out to matrix Prog. Edge_Detector_out to matrix DFF/LATCH_out to matrix Delay_out to matrix POR_out to matrix Ext. GPO VDD _out to matrix Determined by Input signals Determined by Input signals Starts to detect input edges Determined by Input signals Determined by Input signals Determined by Input signals Starts to detect input edges Determined by External Signal Guaranteed HIGH before POR_GPI Determined by input signals OUT = IN without Delay Determined by initial state Determined by input signals OUT = IN without Delay Tri-state t t t t t t t t t t Output State Unpredictable Determined by Input signals

Revision 2.5 111 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

15.3.1 Initialization

All internal macrocells by default have initial LOW level. Starting from indicated power-up time of 1. 15 V to 1.6 V, macrocells in GPAK are powered on while forced to the reset state . All outputs are in Hi-Z and chip starts loading d ata from NVM. Then the reset signal is released for internal macrocells and they start to initialize according to the following sequence: 1. I 2C. 2. Input PINs, ACMP , Pull-up/down. 3. LUTs. 4. DFFs, Delays/Counters, Pipe Delay. 5. POR output to matrix. 6. Output PIN corresponds to the internal logic. 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 power-up sequence is complete. Note: The maximum voltage applied to any PIN should not b e higher than the V DD 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 V DD , then current will sink through the diode to V DD . Exceeding V DD results in leakage current on the input PIN, and V DD 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 V DD .

15.3.2 Power-Down

During power-down, macrocells in SLG46538-A are powered off after V DD falling down below Power-Off Threshold. Please note that during a slow rampdown, outputs can possibly switch state during this time. Figure 82: Power-Down Not guaranteed output state VDD (V) Time 1.6 V 1.15 V 2 V 1 V

1 V Vref Out Signal

Revision 2.5 112 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

16 Asynchronous State Machine Macrocell

16.1 ASM MACROCELL OVERVIEW

The Asynchronous State Machine (ASM) macrocell is d esigned to allow the user to create state machines with between 2 to 8 states. The user has flexibility to define the available states, the available state transitions, and the input signals (a, b, c …) that will cause transitions from one state to another state, as shown in Figure 83 . This macrocell has a total of 25 inputs, as shown in Figure 84 , which come from the Connection Matrix outputs. Of these 25 inputs, 24 are user selectable for driving general state transitions, and 1 is for driving a state transition to an Initial/Reset state. Each of the 24 inputs is level sensitive and active high, meaning that a high level input will drive the user selected transition from one state to another. The fact that there are 24 inputs puts the upper bound of 24 possible state transitions to tal in the user defined state machine design. There is on nReset input which will drive an immediate state transition to the user-de fined Initial/Reset state when active, shown in red, in the Figure 83 . For more details refer to Section 16.2 . There are a total of 8 outputs, which go to the Connections Matrix inputs, and from there can be routed to other internal macrocells or pins. The 8 outputs are user defined for each of the possible 8 states. This information is held in the Connection Matrix Output RAM. For more details refer to Section 16.3 . In using this macrocell, the user must take into consideration the critical timing required on all input and output signals. The timing waveforms and timing specifications for this macrocell are all measured relative to the input signals (which come into the macrocell on the Connection Matrix outputs) and on the output s from the macrocell (which are direct connections to Connection Matrix inputs). The user must consider any delays from oth er logic and internal chip connections, including I O delays, to ensure that signals are properly processed, and state transitions are deterministic. The GPAK Designer development tools support user de signs for the ASM macrocell at both the physical le vel and logic level. Figure 83 is a representation of the user design at the logi cal level, and Figure 84 shows the physical resources inside the macrocell. To best utilize this macrocell, the user must develop a logical representation of their desired state machine, as well as a physical mapping of the input and outputs required for the desired functionality. Figure 83: Asynchronous State Machine State Transitions a c g d e f h b High Speed Normal Speed Standby Off Fault

Revision 2.5 113 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

16.2 ASM INPUTS

The ASM macrocell has a total of 25 inputs which co me from the Connection Matrix outputs. Of these 25 inputs, 24 are user selectable for driving general state transitions, and 1 is for driving a state transition to an Initial/Reset state. There are a total of 24 inputs to the ASM macrocell for general state transitions, highlighted in red in Figure 85 . Each of these inputs is level sensitive, and active high. A high level input will trigger a state transition. These inputs are grouped so that each set of 3 inpu ts can drive a state transition going into a particular state. As an example, there are three inputs that can drive a state transition to State 1. This sets an upper bound on the number of transitions that the user can select going into a particular state to be 3, shown in Figure 86 . There is no limitation on the number of transitions that can be supported coming out of a particular s tate, the user can select to have transitions going from a state to all other states, shown in Figure 87 . The ASM macrocell also has a nReset input highlight ed in blue in Figure 85 . This input is level sensitive and active low. An active signal on this input will drive an immediate state transition to the user-defined Initial/Reset state. The user can choose which state within the ASM Editor inside GPAK Designer is the initial state. Figure 84: Asynchronous State Machine State Transition Signal Routing State 0 In State 1 In State 2 In State 3 In State 4 In State 5 In State 6 In State 7 In State 0 State 0 Output Bits (8) State 1 State 2 State 3 State 4 State 5 State 6 State 7 Connection Matrix Output RAM (8x8) nReset from Connection Matrix State Holding Latches State 1 Output Bits (8) State 2 Output Bits (8) State 3 Output Bits (8) State 4 Output Bits (8) State 5 Output Bits (8) State 6 Output Bits (8) State 7 Output Bits (8) to Connection Matrix

Revision 2.5 115 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

16.3 ASM OUTPUTS

There are a total of 8 outputs from the ASM macrocell, which go to the Connections Matrix inputs, and from there can be routed to other internal macrocells or pins. The 8 outputs are user defined for each of the possible 8 states , this information is held in the Connection Matrix Output RAM, shown in Figure 88 . The Connection Matrix Output RAM has a total of 64 bits, arranged as 8 bits per state. The values loaded in each of the 8 bits define the signal level on each of the 8 ASM macrocell outputs. The ASM Editor inside the GPAK Designer software al lows the user to make their selections for the valu e of each bit in the Connection Matrix Output RAM, which selects the lev el of the macrocell outputs based on the current st ate of the ASM macrocell, as shown in Figure 88 . Figure 87: Maximum 7 State Transitions out of a Given State State 3 State 6 State 1 State 0 State 4 State5 State 2 State 7

Revision 2.5 116 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Figure 88: Connection Matrix Output RAM Table 65: ASM Editor - Connection Matrix Output RAM RAM State name Connection Matrix Output RAM OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 State 0 0 0 0 0 0 0 0 1 State 1 0 0 0 0 0 0 1 0 State 2 0 0 0 0 0 1 0 0 State 3 0 0 0 0 1 0 0 0 State 4 0 0 0 1 0 0 0 0 State 5 0 0 1 0 0 0 0 0 State 6 0 1 0 0 0 0 0 0 State 7 1 0 0 0 0 0 0 0 State Transition Signal Routing State 0 In State 1 In State 2 In State 3 In State 4 In State 5 In State 6 In State 7 In State 0 State 0 Output Bits (8) State 1 State 2 State 3 State 4 State 5 State 6 State 7 nReset from Connection Matrix State Holding Latches State 1 Output Bits (8) State 2 Output Bits (8) State 3 Output Bits (8) State 4 Output Bits (8) State 5 Output Bits (8) State 6 Output Bits (8) State 7 Output Bits (8) to Connection Matrix Connection Matrix Output RAM (8x8)

Revision 2.5 117 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary There is a possibility to configure ASM (it's setti ngs and transitions) via I 2C. Registers (registers [197:0]) correspond for ASM inputs, registers (registers [1727:1664]) correspond for ASM outputs configuration. Using I 2C commands (see Section 17.4 ) it is possible to read ASM settings and connections, as well as change them. Additionally, user can change Connection Matrix Output RAM bit configuration (bytes 0xD0 to 0xD7). Note: After Connection Matrix Output RAM was updated via I 2C, ASM outputs to Connection Matrix can be changed only after ASM changes its state or after reset event. To change ASM outputs to Connection Matrix instantly after I 2C write command, ASM must be in reset all the time.

16.4 BASIC ASM TIMING

The basic state transition timing from input on Matrix Connection output to output on Matrix Connection input is shown in Figure 89 and Figure 90 . The time from a valid input signal to the time th at there is a valid change of state and valid signa ls being available on the state outputs is State Machine Out put Delay Time (T st_out_delay ). The minimum and maximum values of Tst_out_delay define the differential timing between the shortest state transition (input on matrix output and output on matrix input) and the longest state transition (input on matrix output and output on matrix input). 16.5 ASYNCHRONOUS STATE MACHINES VS. SYNCHRONOUS STATE MACHINES It is important to note that this macrocell is designed for asynchronous operation, which means the following: 1. No clock source is needed, it reacts only to input signals. 2. The input signals do not have to be synchronized to each other, the macrocell will react to the earliest valid signal for state transition. 3. This macrocell does not have traditional set-up and hold time specifications which are related to incoming clock, as this macrocell has no clock source. 4. The macrocell only consumes power while in state transition.

16.6 ASM POWER CONSIDERATIONS

A benefit of the asynchronous nature of this macroc ell is that it will consume power only during state transitions. Shown in Figure 89 and Figure 91 , the current consumption of the macrocell will be a fraction of a µA between state transitions, and w ill rise only during state transitions. See Section 3.4 to find average current during state transitions. Figure 89: State Transition Figure 90: State Transition Timing a State 0 State 1 Input Signal (a) Tst_out_delay State Outputs State 0 State 1

Revision 2.5 118 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 16.7 ASM LOGICAL VS. PHYSICAL DESIGN A successful design with the ASM macrocell must inc lude both the logic level design, as well as the ph ysical level design. The GPAK Designer development software support user des igns for the ASM macrocell at both the logic level and physical level. The logic level design of the user defined state ma chine takes place inside the ASM Editor. In the ASM Editor, the user can select and name states, define and name allowed state transitions, define the Initial/Reset state, and define the output values for the 8 outputs in the Output RAM Matrix. The physical level design takes place in the general GPAK Designer window, and here the user makes connections for the sources for ASM input signals, as well as making connections for de stinations for ASM output signals.

16.8 ASM SPECIAL CASE TIMING CONSIDERATIONS

16.8.1 State Transition Pulse Input Timing

All inputs to the ASM macrocell are level sensitive . If the input to the state machine macrocell for a state transition is a pulse, there is a minimum pulse width on the input to the state machine macrocell (as measured at the matrix input to the macrocell) which is guaranteed to result in a state transition shown in Figure 93 and Figure 94 . This pulse width is defined by the State Machine Input Pulse Acceptance Time (T st_pulse ). If a pulse width that is shorter than T st_pulse is input to the state machine macrocell, it is indeterminate whether the state tr ansition will happen or not. If a pulse that is rej ected (invalid due to the pulse width being narrower than the guaranteed minimum of T st_pulse ), this will not stop a valid pulse on another stat e transition input that does meet minimum pulse width. Figure 91: State Transition Figure 92: State Transition Timing and Power Consumption Figure 93: State Transition a State 0 State 1 Input Signal (a) Tst_out_delay State Outputs State 0 State 1 ASM Power Consumption Average Active ASM Power Sub µA Inactive ASM Power Consumption a State 0 State 1

Revision 2.5 119 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

16.8.2 State Transition Competing Input Timing

There will be situations where two input signals can be valid inputs that will drive two different state transitions from a given state. In that sense, the two signals are “competing” (signals a and b in Figure 95 ), and the signal that arrives sooner should drive the state transition that will “win”, or drive the stat e transition. If one signal arrives T st_comp before the other one, it is guaranteed to win, and the state transition that it codes for will be taken, as shown in Figure 96 . If the two signals arrive within T st_comp of each other, it will be indeterminate which state transition will win, but one of the transitions will take place as long as the winning signal satisfies the pulse width criteria described in the paragraph above, as shown in Figure 97 . Figure 94: State Transition Pulse Input Timing Figure 95: State Transition - Competing Inputs Figure 96: State Transition Timing - Competing Inputs Indeterminate Input Signal (a) Tst_pulse State Outputs Tst_pulse Tst_out_delay State 0 State 1 a State 0 State 2 State 1 b Input Signal (b) Tst_out_delay State Outputs State 0 State 1 or State 2 Input Signal (a) Tst_comp

Revision 2.5 120 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

16.8.3 ASM State Transition Sequential Timing

It is possible to have a valid input signal for a transition out from a particular state be active before the state is active. If this is the case, the macrocell will only stay in that particul ar state for T st_out_delay time before making the transition to the next stat e. An example of this sequential behavior is shown in Figure 98 and the associated timing is shown in Figure 99 .

16.8.4 State Transition Closed Cycling

It is possible to have a closed cycle of state tran sitions that will run continuously if there are val id inputs that are active at the same time. The rate at which the state transitions will take place is determined by T st_out_delay . The example shown here in Figure 100 involves cycling between two states, but any numbe r of two – eight states can be included in state tr ansition closed cycling of this nature. Figure 101 shows the associated timing for closed cycling. Figure 97: State Transition Timing - Competing Inputs Determinable Figure 98: State Transition - Sequential Figure 99: State Transition - Sequential Timing Input Signal (b) Tst_out_delay State Outputs State 0 State 1 Input Signal (a) Tst_comp a State 0 State 1 b State 2 Input Signal (b) Tst_out_delay State Outputs State 0 State 1 Input Signal (a) Tst_out_delay State 2

Revision 2.5 122 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

17 I 2C Serial Communications Macrocell

17.1 I2C SERIAL COMMUNICATIONS MACROCELL OVERVIEW

In the standard use case for the GreenPAK devices, the configuration choices made by the user are stored as bit settings in the Non-Volatile Memory (NVM), and this information is transferred at startup time to volatile RAM registe rs that enable the configuration of the macrocells. Other RAM registers in the device are responsible for setting the connections in the Connection Matrix to route signals in the manner most appropriate for the user’s application. The I 2C Serial Communications Macrocell in this device allows an I 2C bus Master to read and write this information via a serial channel directly to the RAM registers, allowing the remote re-configuration of macrocells, and remote changes to signal chains within the device. An I 2C bus Master is also able read and write other regi ster bits that are not associated with NVM memory. As an example, the input lines to the Connection Matrix can be read as digital register bits. These are the signal outputs of each of the macrocells in the device, giving an I 2C bus Master the capability to remotely read the current value of any macrocell. The user has the flexibility to control read access and write access via registers bits register [1832 ], register [1870], and register [1871]. See Section 17.5 for more details on I 2C read/write memory protection. Note: GreenPAK I 2C is fully compatible with standard I 2C protocol.

17.2 I2C SERIAL COMMUNICATIONS DEVICE ADDRESSING

Each command to the I 2C Serial Communications macrocell begins with a Con trol Byte. The bits inside this Control Byte are shown in Figure 102 . After the Start bit, the first four bits are a control code, which can be set by the user in registers [1867:1864]. This gives the user flexibility on the chip level addressing of this device and other devices on the same I 2C bus. The Block Address is the next three bits (A10, A9, A8), which will define the most significant bits in the addressing of the data to be read or written by the command. The last bit in the Control Byte is the R/W bit, which selects whether a read command or write command is requested, with a “1” selecting for a Read command, and a “0” selecting for a Write command. This Control Byte will be followed by an Acknowledge bit (ACK), which is sent by this device to indicate successful communication of the Control Byte data. In the I 2C-bus specification and user manual, there are two groups of eight addresses (0000 xxx and 1111 xxx) that are reserved for the special functions, such as a system General Call address. If the user of this device choses to set the Control Code to either “1111” or “0000” in a system with other slave device, please consult the I 2C-bus specification and user manual to understand the addressing and implementation of these special functions, to ensure reliable operation. In the read and write command address structure, th ere are a total of 11 bits of addressing, each poin ting to a unique byte of information, resulting in a total address space of 2K bytes. Of this 2K byte address space, the valid addresses accessible to the I2C Macrocell on the SLG46538-A are in the range from 0 (0x00) to 255 (0xFF). The MSB address bits (A10, A9, and A8) will be “0” for all commands to the SLG46538-A. With the exception of the Current Address Read comm and, all commands will have the Control Byte follow ed by the Word Address. Figure 102 shows this basic command structure. Figure 102: Basic Command Structure X X X X A A A R/W A A Control Byte Word Address Control Code Block Address Read/Write bit (1 = Read, 0 = Write) S ACK Acknowledge bit Start bit Not used, set to 0

Revision 2.5 123 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

17.3 I2C SERIAL GENERAL TIMING

General timing characteristics for the I 2C Serial Communications macrocell are shown in Figure 103 . Timing specifications can be found in the Section 3.4 .

17.4 I2C SERIAL COMMUNICATIONS COMMANDS

17.4.1 Byte Write Command

Following the Start condition from the Master, the Control Code [4 bits], the Block Address [3 bits], and the R/W bit (set to “0”), are placed onto the I 2C bus by the Master. After the SLG46538-A sends an Acknowledge bit (ACK), the next byte transmitted by the Master is the Word Address. The Block Address (A10, A9, A8), combined with the Word Address (A7 through A0), together set the internal address pointer in the SLG46538-A, where the data byte is to be written. After the SL G46538-A sends another Acknowledge bit, the Master will transmit the data byte to be written into the addressed memory location. The SLG46538-A again provides an Acknowledge bit and then the Master generates a Stop condition. The internal write cycle for the data will take place at the time that the SLG46538-A generates the Acknowledge bit.

17.4.2 Sequential Write Command

The write Control Byte, Word Address, and the first data byte are transmitted to the SLG46538-A in the same way as in a Byte Write command. However, instead of generating a Sto p condition, the Bus Master continues to transmit d ata bytes to the SLG46538-A. Each subsequent data byte will increment the internal address counter, and will be written into the next higher byte in the command addressing. As in the case of the Byte Write command, the internal write cycle will take place at the time that the SLG46538-A generates the Acknowledge bit. Figure 103: I2C General Timing Characteristics Figure 104: Byte Write Command, R/W = 0 SCL tF tR tSU STO tBUF tHIGH tLOW tSU DAT tHD DAT tHD STA tSU STA tAA tDH SDA IN SDA OUT X X X X A A A W A A Control Byte Word Address Control Code Block Address R/W bit = 0 S ACK Acknowledge bit Start bit ACK D D Data P Stop bit Acknowledge bit SDA LINE Bus Activity Acknowledge bit ACK Not used, set to 0

Revision 2.5 124 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

17.4.3 Current Address Read Command

The Current Address Read Command reads from the current pointer address location. The address pointer is incremented at the first STOP bit following any write control byte. For example, if a Sequential Read command (which contains a write control byte) reads data up to address n, the address pointer would get incremented to n + 1 upon the STOP of that command. Subsequently, a Current Address Read that follows would start reading data at n + 1. The Current Address Read Command contains the Control Byte sent by the Master, with the R/W bit = “1”. The SLG46538-A will issue an Acknowledge bit, and then transmit eight data bits for the requested byte. The Master will not issue an Acknowledge bit, and follow immediately with a Stop condition.

17.4.4 Random Read Command

The Random Read command starts with a Control Byte (with R/W bit set to “0”, indicating a write command) and Word Address to set the internal byte address, followed by a Start bit, and then the Control Byte for the read (exactly the same as the Byte Write command). The Start bit in the middle of the command will halt the decoding of a Write command, but will set the internal address counter in preparation for the second half of the command. After the Start bit, the Bus Master issues a second control byte with the R/W bit set to “1”, after which the SLG46538-A issues an Acknowledge bit, followed by the requested eight data bits. Figure 105: Sequential Write Command Figure 106: Current Address Read Command, R/W = 1 X X X X A A A 8 W Control Byte Word Address (n) Control Code Block Address R/W bit = 0 S ACK Acknowledge bit Start bit Data (n) Stop bit SDA LINE Bus Activity ACK Data (n + 1) ACK ACK Data (n + x) P Acknowledge bit ACK Not used, set to 0 X X X X A A A R Control Byte Data (n) Control Code Block Address R/W bit = 1 S ACK Acknowledge bit Start bit P Stop bit No Ack bit SDA LINE Bus Activity Not used, set to 0 NACK

Revision 2.5 125 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

17.4.5 Sequential Read Command

The Sequential Read command is initiated in the same way as a Current Address Read or Random Read command, except that once the SLG46538-A transmits the first data byte, the Master issues an Acknowledge bit as opposed to a Stop condition in a random read. The Master can continue reading sequential bytes of data, and will terminate the command with a Stop condition.

17.4.6 I2C Serial Command Address Space

In the read and write command address structure, th ere are a total of 11 bits of addressing, each poin ting to a unique byte of information, resulting in a total address space of 2K bytes. Of this 2K byte address space, the valid addresses accessible to the I2C Macrocell on the SLG46538-A are in the range from 0 (0x00) to 255 (0xFF). The MSB address bits (A10, A9, and A8) will be “0” for all commands to the SLG46538-A.

17.4.7 I2C Serial Command Register Map

These register addresses are broken down into four Banks to give the user greater control on access to reading and writing information in each bank. Each of the four banks is 512 bits (64 bytes) in length. Writing information to register bits in these Banks will change the configuration of the device, resulting in either a change in the interconnection options provided by the Connection Matrix, or by changing the configuration of individual macrocells. During device use, all register bits can be read or written via I 2C, unless protection bits are set to prevent this. See Section 20 for detailed information on all register bits. Figure 107: Random Read Command Figure 108: Sequential Read Command X X X X A A A 8 W Control Byte Word Address (n) Control Code Block Address R/W bit = 0 S ACK Acknowledge bit Start bit Control Byte Stop bit SDA LINE Bus Activity ACK Data (n) ACK PX X X X A A A 8 RS R/W bit = 1 No Ack bit Not used, set to 0 Control Code X X X X A A A 8 R Control Byte Data (n) Control Code Block Address R/W bit = 1 S ACK Acknowledge bit Start bit Data (n+1) Stop bit SDA LINE Bus Activity ACK Data (n + 2) ACK ACK Data (n + x) P No Ack bit Not used, set to 0

Revision 2.5 126 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

17.5 I2C SERIAL COMMAND REGISTER PROTECTION

The memory space is divided into four banks, each o f which has 512bits (64bytes). There are three bits that allow the user to define rules for reading and writing bits in each of these banks via I 2C:  register [1832] I 2C lock for read bits [1535:0] (Bank 0/1/2). If the system provides any read commands to the addresses in these three banks, the device will respond with ‘FFH’ in data field.  register [1871] I 2C lock for write bits [1535:0] (Bank 0/1/2). If the system provides any write commands to the addresses in these three banks, the device will acknowledge these commands, but will not do internal writes to the register space.  register [1870] I 2C lock for write all bits (Bank 0/1/2/3). If the system provides any write commands to the addresses in these four banks, the device will acknowledge these commands, but will not do internal writes to the register space. Note: register [1870] is higher priority than register [1 871], and if register [1870] is set, than register [1871] does not have any effect. Note: If the user sets IOs 6 and 7 function to a selection other than SDA and SCL, all access via I 2C will be disabled. If register [1870] is not set, register bits in Bank 3 are open to read and write commands via I 2C with the following exceptions:  register [1871] Bank 0/1/2 I 2C-write protection bit is always protected from I 2C write  registers [1867:1864] I 2C Control Code Bit [3:0] is always protected from I2C write Note: Any write commands that come to the device via I 2C that are not blocked, based on the protection bit s, will change the contents of the RAM register bits that mirror the NVM bits. These write commands will not change the NVM bits themselves, and a POR event will restore the register bits to original programmed contents of the NVM. See Section 20 for detailed information on all registers.

17.5.1 Register Read/Write Protection

There are six read/write protect modes for the design sequence from being corrupted or copied. See Table 66 for details. Figure 109: Register Bank Map Byte 0 Bank 0 Bank 1 Bank 2 Bank 3 Byte 63 Byte 64 Byte 127 Byte 128 Byte 191 Byte 192 Byte 255

Revision 2.5 127 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Table 66: Read/Write Protection Options Bank Byte Bits Description Lock Status Unlocked Locked for read bits [1535:0] Locked for write bits [1535:0] Locked for write all bits Locked for read and write bits [1535:0] Locked for read bits [1535:0] and write all bits register [1832] = 0, [1871] = 0, [1870] = 0 register [1832] = 1, [1871] = 0, [1870] = 0 register [1832] = 0, [1871] = 1, [1870] = 0 register [1832] =0, [1871] = x, [1870] = 1 register [1832] = 1, [1871] = 1, [1870] = 0 register [1832] = 1, [1871] = x, [1870] = 1 0 0-63 511-0 Connection Matrix Outputs Configuration R/W W R R - - 64-109 879-512 R/W W R R - - 110-127 880-1023 Reserved - - - - - - 128-186 1495-1024 Function Configuration for PINs, LUTs/DFFs, OSC, ASM and some configuration for DLYs, ACMP R/W W R R - - 187-191 1535-1496 Reserved - - - - - - 192-206 1655-1536 CNT/DLY counter data and some LUTs truth table, ACMP Vref R/W R/W R/W R R/W R 207 1662 I2C reset bit with reloading NVM into Data register R/W R/W R/W R R/W R 1661-1659,

1663 Reserved R R R R R R

1658-1656 OSC Power Control R/W R/W R/W R R/W R

Revision 2.5 128 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 208-223 1791-1664 ASM output RAM and User configurable RAM / OTP R/W R/W R/W R R/W R 224-227 1823-1792 Reserved - - - - - - 228 1831-1824 Reserved R/W R/W R/W R R/W R 229 1839-1836 Product Family ID R R R R R R 1835-1834 Reserved - - - - - -

1833 Reserved R R R R R R

1832 I2C Lock for read bits

[1535:0] R R R R R R 230 1847-1840 Pattern ID R/W R/W R/W R R/W R 231 1855-1848 Reserved R R R R R R 232 1863-1856 Reserved R R R R R R 233

1871 I 2C Lock for write bits

[1535:0] R R R R R R

1870 I2C Lock for write all

1869-1868 Reserved - - - - - - 1867-1864 I 2C Control Code R R R R R R 234-239 1919-1872 Counter Current Value R R R R R R 240-243 1951-1920 Macrocells Output Values (Connection Matrix Inputs) R R R R R R 244 1959-1952 Connection Matrix Virtual Inputs R/W R/W R/W R R/W R 245-247 1983-1960 Macrocells Output Values (Connection Matrix Inputs) R R R R R R 248-250 2007-1984 Reserved R R R R R R 251 2015-2008 Reserved R/W R/W R/W R R/W R 252-253 2031-2016 Reserved R R R R R R 254 2039-2032 Reserved R/W R/W R/W R R/W R 255 2047-2040 Reserved R/W R/W R/W R R/W R R/W Allow Read and Write Data Table 66: Read/Write Protection Options (Continued) Bank Byte Bits Description Lock Status Unlocked Locked for read bits [1535:0] Locked for write bits [1535:0] Locked for write all bits Locked for read and write bits [1535:0] Locked for read bits [1535:0] and write all bits register [1832] = 0, [1871] = 0, [1870] = 0 register [1832] = 1, [1871] = 0, [1870] = 0 register [1832] = 0, [1871] = 1, [1870] = 0 register [1832] =0, [1871] = x, [1870] = 1 register [1832] = 1, [1871] = 1, [1870] = 0 register [1832] = 1, [1871] = x, [1870] = 1

Revision 2.5 129 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

17.5.2 I2C Serial Reset Command

If I 2C serial communication is established with the device, it is possible to reset the device to initial power up conditions, including configuration of all macrocells, and all connection s provided by the Connection Matrix. This is implem ented by setting register [1662] I 2C reset bit to “1”, which causes the device to re-e nable the Power-On Reset (POR) sequence, including the reload of all register data from NVM. During the PO R sequence, the outputs of the device will be in tr i-state. After the reset has taken place, the contents of register [1662] will be set to “0” automatically. Figure 110 illustrates the sequence of events for this reset function. Note: I 2C Serial Reset Command is not available during emulation.

17.6 I2C ADDITIONAL OPTIONS

17.6.1 Reading Counter Data via I 2C

The current count value in four counters in the device can be read via I 2C. The counters that have this additional functionality are 16-bit CNT0 and CNT1, and 8-bit counters CNT4 and CNT6.

17.6.2 User RAM and OTP Memory Array

There are eight bytes of RAM memory that can be read and written remotely by I 2C commands. The initial contents of this memory space can be selected by the user, and this information will be transferred from OTP memory to the RAM memory space during W Allow Write Data Only R Allow Read Data Only - The Data is protected for Read and Write Figure 110: Reset Command Timing X X X X A A A W A A Control Byte Word Address Control Code Block Address Write bit S ACK Acknowledge bit Start bit ACK D D Data P Stop bit Acknowledge bit SDA LINE Bus Activity Acknowledge bit ACK Reset-bit register output reloading NVM into Data register Internal POR Internal Reset bit by I 2C Stop Signal Reset-bit register (register [1662]) is cleared by reloading NVM into Data register 1) I 2C write with register [1662] = 1 (I 2C reset bit with reloading NVM into Data register) 2) POR go to LOW and reloading NVM into Data regist er start after “STOP” of I 2C 3) POR go to HIGH after reloading NVM into Data reg ister Not used, set to 0

Revision 2.5 130 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary the power-up sequence. The lowest order byte in this array (User Configurable RAM/OTP Byte 0) is located at I 2C address 0xD8, and the highest order byte in this array is located at I 2C address 0xDF. Table 67: RAM Array Table I2C Address (hex) Highest Bit Address Lowest Bit Address Memory Byte D8 1735 1728 User Configurable RAM/OTP Byte 0 D9 1743 1736 User Configurable RAM/OTP Byte 1 DA 1751 1744 User Configurable RAM/OTP Byte 2 DB 1759 1752 User Configurable RAM/OTP Byte 3 DC 1767 1760 User Configurable RAM/OTP Byte 4 DD 1775 1768 User Configurable RAM/OTP Byte 5 DE 1783 1776 User Configurable RAM/OTP Byte 6 DF 1791 1784 User Configurable RAM/OTP Byte 7

Revision 2.5 131 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

18 Analog Temperature Sensor

The SLG46538-A has an Analog Temperature sensor (TS ) with an output voltage linearly-proportional to t he Centigrade temperature. The TS is rated to operate over a -40 °C to 180 °C temperature range. The error in the wh ole temperature range does not exceed ±10.3 % (±5.7 % in a range from -40 °C to 100 °C). TS output voltage variation over V DD at constant temperature is less than ±10.3 %. For more detail refer to section 3.11 . Figure 111: Analog Temperature Sensor Structure Diagram VREF0 Register [1464] VCP, registers [1474:1472] = 100 (always CP should be on) Register [1470] = 0 Vref Op Amp Offset Chopper Cloc k frequency 2 MHz Register [1469] = 1 Bandgap Op Amp Offset Chopper E nable TS VDD Registers [1486:1484] Vref select Register [1478] IO16 Closed TS_On Register [1464] = 1 Register [1464] = 1 TS_O Open From Connection Matrix Output [109] PWR DOWN

Revision 2.5 132 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Figure 112: TS Output vs. Temperature, V DD = 1.71 V to 5.5 V 0.4 0.5 0.6 0.7 0.8 0.9 1.1 1.2 -40 -20 100 TS OUT (V) T (°C) Output Range 1 (buffered) Output Range 2 (buffered)

Revision 2.5 133 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

19 External Clocking

The SLG46538-A supports several ways to use an external, higher accuracy clock as a reference source for internal operations.

19.1 CRYSTAL MODE

When register [1136] is set to 1, an external crystal can be connected to IOs 13 and 14 for supplying an accurate clock source. See Section 14 . An external clocking signal on IO14 can be used i n place of the crystal. The high and low limits for crystal frequency that can be selected are 32.768 kHz and 40 MHz.

19.2 IO17 OR IO15 SOURCE FOR 25 KHZ/2 MHZ CLOCK

When register [1358] is set to 1, an external clock ing signal on IOs 15 or 17 will be routed in place of the internal RC oscillator derived 25 kHz/2 MHz clock source. When register [1355] is set to 0, IO17 is in use, when set to 1, IO15 is in use. See Figure 69 . The high and low limits for external frequency that can be selected are 0 MHz and 77 MHz.

19.3 IO14 SOURCE FOR 25 MHZ CLOCK

When register [1357] is set to 1, an external clock ing signal on IO14 will be routed in place of the i nternal RC oscillator derived 25 MHz clock source. See Figure 70 . The high and low limits for external frequency that can be selected are 0 MHz and 84 MHz.

Revision 2.5 134 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

20 Register Definitions

20.1 REGISTER MAP

Table 68: Register Map Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write Note: For register [0] to register [1495], I 2C Read is valid (assuming register [1832] = 0), I 2C Write is valid (assuming register [1871] = 0) Matrix 64-to-1 MUX's 6 selection bits 00 5:0 Matrix OUT ASM-state0-EN0 Valid Valid 7:6 Reserved Valid Valid 01 13:8 Matrix OUT ASM-state0-EN1 Valid Valid 15:14 Reserved Valid Valid 02 21:16 Matrix OUT ASM-state0-EN2 Valid Valid 23:22 Reserved Valid Valid 03 29:24 Matrix OUT ASM-state1-EN0 Valid Valid 31:30 Reserved Valid Valid 04 37:32 Matrix OUT ASM-state1-EN1 Valid Valid 39:38 Reserved Valid Valid 05 45:40 Matrix OUT ASM-state1-EN2 Valid Valid 47:46 Reserved Valid Valid 06 53:48 Matrix OUT ASM-state2-EN0 Valid Valid 55:54 Reserved Valid Valid 07 61:56 Matrix OUT ASM-state2-EN1 Valid Valid 63:62 Reserved Valid Valid 08 69:64 Matrix OUT ASM-state2-EN2 Valid Valid 71:70 Reserved Valid Valid 09 77:72 Matrix OUT ASM-state3-EN0 Valid Valid 79:78 Reserved Valid Valid 0A 85:80 Matrix OUT ASM-state3-EN1 Valid Valid 87:86 Reserved Valid Valid 0B 93:88 Matrix OUT ASM-state3-EN2 Valid Valid 95:94 Reserved Valid Valid 0C 101:96 Matrix OUT ASM-state4-EN0 Valid Valid 103:102 Reserved Valid Valid 0D 109:104 Matrix OUT ASM-state4-EN1 Valid Valid 111:110 Reserved Valid Valid 0E 117:112 Matrix OUT ASM-state4-EN2 Valid Valid 119:118 Reserved Valid Valid 0F 125:120 Matrix OUT ASM-state5-EN0 Valid Valid 127:126 Reserved Valid Valid 10 133:128 Matrix OUT ASM-state5-EN1 Valid Valid 135:134 Reserved Valid Valid 11 141:136 Matrix OUT ASM-state5-EN2 Valid Valid 143:142 Reserved Valid Valid

Revision 2.5 135 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 12 149:144 Matrix OUT ASM-state6-EN0 Valid Valid 151:150 Reserved Valid Valid 13 157:152 Matrix OUT ASM-state6-EN1 Valid Valid 159:158 Reserved Valid Valid 14 165:160 Matrix OUT ASM-state6-EN2 Valid Valid 167:166 Reserved Valid Valid 15 173:168 Matrix OUT ASM-state7-EN0 Valid Valid 175:174 Reserved Valid Valid 16 181:176 Matrix OUT ASM-state7-EN1 Valid Valid 183:182 Reserved Valid Valid 17 189:184 Matrix OUT ASM-state7-EN2 Valid Valid 191:190 Reserved Valid Valid 18 197:192 Matrix OUT ASM-state-nRST Valid Valid 199:198 Reserved Valid Valid 19 205:200 Matrix OUT IO1 Digital Output Source Valid Vali d 207:206 Reserved Valid Valid 1A 213:208 Matrix OUT IO1 Output Enable Valid Valid 215:214 Reserved Valid Valid 1B 221:216 Matrix OUT IO2 Digital Output Source Valid Vali d 223:222 Reserved Valid Valid 1C 229:224 Matrix OUT IO3 Digital Output Source Valid Vali d 231:230 Reserved Valid Valid 1D 237:232 Matrix OUT IO3 Output Enable Valid Valid 239:238 Reserved Valid Valid 1E 245:240 Matrix OUT IO4 Digital Output Source Valid Vali d 247:246 Reserved Valid Valid 1F 253:248 Matrix OUT IO5 Digital Output Source Valid Vali d 255:254 Reserved Valid Valid 20 261:256 Matrix OUT IO5 Output Enable Valid Valid 263:262 Reserved Valid Valid 21 269:264 Matrix OUT IO6 Digital Output Source (SCL with VI/In - put & NMOS Open-Drain) Valid Valid 271:270 Reserved Valid Valid 22 277:272 Matrix OUT IO7 Digital Output Source (SDA with VI/In - put & NMOS Open-Drain) Valid Valid 279:278 Reserved Valid Valid 23 285:280 Matrix OUT IO8 Digital Output Source Valid Vali d 287:286 Reserved Valid Valid 24 293:288 Matrix OUT IO8 Output Enable Valid Valid 295:294 Reserved Valid Valid 25 301:296 Matrix OUT IO9 Digital Output Source Valid Vali d 303:302 Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 136 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 26 309:304 Matrix OUT IO10 Digital Output Source Valid Val id 311:310 Reserved Valid Valid 27 317:312 Matrix OUT IO10 Output Enable Valid Valid 319:318 Reserved Valid Valid 28 325:320 Matrix OUT Inverter Input Valid Valid 327:326 Reserved Valid Valid 29 333:328 Reserved Valid Valid 335:334 Reserved Valid Valid 2A 341:336 Matrix OUT IO12 Digital Output Source Valid Val id 343:342 Reserved Valid Valid 2B 349:344 Matrix OUT IO13 Digital Output Source Valid Val id 351:350 Reserved Valid Valid 2C 357:352 Matrix OUT IO13 Output Enable Valid Valid 359:358 Reserved Valid Valid 2D 365:360 Matrix OUT IO14 Digital Output Source Valid Val id 367:366 Reserved Valid Valid 2E 373:368 Matrix OUT IO15 Digital Output Source Valid Val id 375:374 Reserved Valid Valid 2F 381:376 Matrix OUT IO15 Output Enable Valid Valid 383:382 Reserved Valid Valid 30 389:384 Matrix OUT IO16 Digital Output Source Valid Val id 391:390 Reserved Valid Valid 31 397:392 Matrix OUT IO16 Output Enable Valid Valid 399:398 Reserved Valid Valid 32 405:400 Matrix OUT IO17 Digital Output Source Valid Val id 407:406 Reserved Valid Valid 33 413:408 Matrix OUT ACMP0 PDB (Power-Down) Valid Valid 415:414 Reserved Valid Valid 34 421:416 Matrix OUT ACMP1 PDB (Power-Down) Valid Valid 423:422 Reserved Valid Valid 35 429:424 Matrix OUT ACMP2 PDB (Power-Down) Valid Valid 431:430 Reserved Valid Valid 36 437:432 Matrix OUT ACMP3 PDB (Power-Down) Valid Valid 439:438 Reserved Valid Valid 37 445:440 Matrix OUT Input of Filter_0 with fixed time edge detector Valid Valid 447:446 Reserved Valid Valid 38 453:448 Matrix OUT Input of Filter_1 with fixed time edge detector Valid Valid 455:454 Reserved Valid Valid 39 461:456 Matrix OUT Input of Programmable Delay & Edge Detector Valid Valid 463:462 Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 137 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 3A 469:464 Matrix OUT OSC 25 kHz/2 MHz PDB (Power-Down) V alid Valid 471:470 Reserved Valid Valid 3B 477:472 Matrix OUT OSC 25 MHz PDB (Power-Down) Valid Va lid 479:478 Reserved Valid Valid 3C 485:480 Matrix OUT IN0 of LUT2_0 or Clock Input of DF F0 Valid Valid 487:486 Reserved Valid Valid 3D 493:488 Matrix OUT IN1 of LUT2_0 or Data Input of DFF 0 Valid Valid 495:494 Reserved Valid Valid 3E 501:496 Matrix OUT IN0 of LUT2_1 or Clock Input of DF F1 Valid Valid 503:502 Reserved Valid Valid 3F 509:504 Matrix OUT IN1 of LUT2_1 or Data Input of DFF 1 Valid Valid 511:510 Reserved Valid Valid 40 517:512 Matrix OUT IN0 of LUT2_2 or Clock Input of DF F2 Valid Valid 519:518 Reserved Valid Valid 41 525:520 Matrix OUT IN1 of LUT2_2 or Data Input of DFF 2 Valid Valid 527:526 Reserved Valid Valid 42 533:528 Matrix OUT IN0 of LUT2_3 or Clock Input of PG en Valid Valid 535:534 Reserved Valid Valid 43 541:536 Matrix OUT IN1 of LUT2_3 or nRST of PGen Valid Valid 543:542 Reserved Valid Valid 44 549:544 Matrix OUT IN0 of LUT3_0 or Clock Input of DF F3 Valid Valid 551:550 Reserved Valid Valid 45 557:552 Matrix OUT IN1 of LUT3_0 or Data Input of DFF 3 Valid Valid 559:558 Reserved Valid Valid 46 565:560 Matrix OUT IN2 of LUT3_0 or nRST (nSET) of DF F3 Valid Valid 567:566 Reserved Valid Valid 47 573:568 Matrix OUT IN0 of LUT3_1 or Clock Input of DF F4 Valid Valid 575:574 Reserved Valid Valid 48 581:576 Matrix OUT IN1 of LUT3_1 or Data Input of DFF 4 Valid Valid 583:582 Reserved Valid Valid 49 589:584 Matrix OUT IN2 of LUT3_1 or nRST (nSET) of DF F4 Valid Valid 591:590 Reserved Valid Valid 4A 597:592 Matrix OUT IN0 of LUT3_2 or Clock Input of DF F5 Valid Valid 599:598 Reserved Valid Valid 4B 605:600 Matrix OUT IN1 of LUT3_2 or Data Input of DFF 5 Valid Valid 607:606 Reserved Valid Valid 4C 613:608 Matrix OUT IN2 of LUT3_2 or nRST (nSET) of DF F5 Valid Valid 615:614 Reserved Valid Valid 4D 621:616 Matrix OUT IN0 of LUT3_3 or Clock Input of DF F6 Valid Valid 623:622 Reserved Valid Valid 4E 629:624 Matrix OUT IN1 of LUT3_3 or Data Input of DFF 6 Valid Valid 631:630 Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 138 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 4F 637:632 Matrix OUT IN2 of LUT3_3 or nRST (nSET) of DF F6 Valid Valid 639:638 Reserved Valid Valid 50 645:640 Matrix OUT IN0 of LUT3_4 or Clock Input of DF F7 Valid Valid 647:646 Reserved Valid Valid 51 653:648 Matrix OUT IN1 of LUT3_4 or Data Input of DFF 7 Valid Valid 655:654 Reserved Valid Valid 52 661:656 Matrix OUT IN2 of LUT3_4 or nRST (nSET) of DF F7 Valid Valid 663:662 Reserved Valid Valid 53 669:664 Matrix OUT IN0 of LUT3_5 or Delay2 Input (or Counter2 RST Input) Valid Valid 671:670 Reserved Valid Valid 54 677:672 Matrix OUT IN1 of LUT3_5 or External Clock Input of Delay2 (or Counter2) Valid Valid 679:678 Reserved Valid Valid 55 685:680 Matrix OUT IN2 of LUT3_5 Valid Valid 687:686 Reserved Valid Valid 56 693:688 Matrix OUT IN0 of LUT3_6 or Delay3 Input (or Counter3 RST Input) Valid Valid 695:694 Reserved Valid Valid 57 701:696 Matrix OUT IN1 of LUT3_6 or External Clock Input of Delay3 (or Counter3) Valid Valid 703:702 Reserved Valid Valid 58 709:704 Matrix OUT IN2 of LUT3_6 Valid Valid 711:710 Reserved Valid Valid 59 717:712 Matrix OUT IN0 of LUT3_7 or Delay4 Input (or Counter4 RST Input) Valid Valid 719:718 Reserved Valid Valid 5A 725:720 Matrix OUT IN1 of LUT3_7 or External Clock Input of Delay4 (or Counter4) Valid Valid 727:726 Reserved Valid Valid 5B 733:728 Matrix OUT IN2 of LUT3_7 Valid Valid 735:734 Reserved Valid Valid 5C 741:736 Matrix OUT IN0 of LUT3_8 or Delay5 Input (or Counter5 RST Input) Valid Valid 743:742 Reserved Valid Valid 5D 749:744 Matrix OUT IN1 of LUT3_8 or External Clock Input of Delay5 (or Counter5) Valid Valid 751:750 Reserved Valid Valid 5E 757:752 Matrix OUT IN2 of LUT3_8 Valid Valid 759:758 Reserved Valid Valid 5F 765:760 Matrix OUT IN0 of LUT3_9 or Delay6 Input (or Counter6 RST Input) Valid Valid 767:766 Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 139 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 60 773:768 Matrix OUT IN1 of LUT3_9 or External Clock Input of Delay6 (or Counter6) Valid Valid 775:774 Reserved Valid Valid 61 781:776 Matrix OUT IN2 of LUT3_9 Valid Valid 783:782 Reserved Valid Valid 62 789:784 Matrix OUT IN0 of LUT3_10 or Input of Pipe De lay Valid Valid 791:790 Reserved Valid Valid 63 797:792 Matrix OUT IN1 of LUT3_10 or nRST of Pipe Del ay Valid Valid 799:798 Reserved Valid Valid 64 805:800 Matrix OUT IN2 of LUT3_10 or Clock of Pipe D elay Valid Valid 807:806 Reserved Valid Valid 65 813:808 Matrix OUT IN0 of LUT4_0 or Delay0 Input (or Counter0 RST/SET Input) Valid Valid 815:814 Reserved Valid Valid 66 821:816 Matrix OUT IN1 of LUT4_0 or External Clock Input of Delay0 (or Counter0) Valid Valid 823:822 Reserved Valid Valid 67 829:824 Matrix OUT IN2 of LUT4_0 or UP Input of FSM0 V alid Valid 831:830 Reserved Valid Valid 68 837:832 Matrix OUT IN3 of LUT4_0 or KEEP Input of FSM 0 Valid Valid 839:838 Reserved Valid Valid 69 845:840 Matrix OUT IN0 of LUT4_1 or Delay1 Input (or Counter1 RST/SET Input) Valid Valid 847:846 Reserved Valid Valid 6A 853:848 Matrix OUT IN1 of LUT4_1 or External Clock Input of Delay1 (or Counter1) Valid Valid 855:854 Reserved Valid Valid 6B 861:856 Matrix OUT IN2 of LUT4_1 or UP Input of FSM1 V alid Valid 863:862 Reserved Valid Valid 6C 869:864 Matrix OUT IN3 of LUT4_1 or KEEP Input of FSM 1 Valid Valid 871:870 Reserved Valid Valid 6D 877:872 Matrix OUT PD of either Temp-output with BG AND/ ORcrystal oscillator by register [1268] Valid Valid 879:878 Reserved Valid Valid 6E 887:880 Reserved Valid Valid 6F 895:888 Reserved Valid Valid 70 903:896 Reserved Valid Valid 71 911:904 Reserved Valid Valid 72 919:912 Reserved Valid Valid 73 927:920 Reserved Valid Valid 74 935:928 Reserved Valid Valid 75 943:936 Reserved Valid Valid 76 951:944 Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 140 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 77 959:952 Reserved Valid Valid 78 967:960 Reserved Valid Valid 79 975:968 Reserved Valid Valid 7A 983:976 Reserved Valid Valid 7B 991:984 Reserved Valid Valid 7C 999:992 Reserved Valid Valid 7D 1007:1000 Reserved Valid Valid 7E 1015:1008 Reserved Valid Valid 7F 1023:1016 Reserved Valid Valid IO0

1024 Reserved Valid Valid

1025 Reserved Valid Valid

1027:1026 Reserved Valid Valid 1029:1028 IO0 Pull Down Resistor Value Selection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1031:1030 IO0 Mode Control 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Reserved Valid Valid IO1 80 1032 Reserved Valid Valid

1033 IO1 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1035:1034 IO1 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1037:1036 IO1 Mode Control (sig_io1_oe = 0) 00: Digital Input without Schmitt Trigger, 01: Digital Input with Schmitt Trigger, 10: Low Voltage Digital Input 11: Reserved Valid Valid 1039:1038 IO1 Mode Control (sig_io1_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 141 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IO2

1040 Reserved Valid Valid

1041 IO2 Driver Strength Selection 0: 1x

1: 2x Valid Valid

1042 IO2 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1044:1043 IO2 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1047:1045 IO2 Mode Control 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Reserved 100: Push-Pull 101: Open-Drain NMOS 110: Open-Drain PMOS 111: Reserved Valid Valid IO3

1048 Reserved Valid Valid

1049 IO3 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1051:1050 IO3 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1053:1052 IO3 Mode Control (sig_io3_oe = 0) 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Reserved Valid Valid 1055:1054 IO3 Mode Control (sig_io3_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid IO4

1056 Reserved Valid Valid

1057 IO4 Driver Strength Selection 0: 1x

1: 2x Valid Valid

1058 IO4 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1060:1059 IO4 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1063:1061 IO4 Mode Control 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Analog Input/Output 100: Push-Pull 101: Open-Drain NMOS 110: Open-Drain PMOS 111: Analog Input & Open-Drain Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 142 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IO5

1064 Reserved Valid Valid

1065 IO5 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1067:1066 IO5 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1069:1068 IO5 Mode Control (sig_io5_oe = 0) 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Analog Input/Output Valid Valid 1071:1070 IO5 Mode Control (sig_io5_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid IO6

1072 Reserved Valid Valid

1073 IO6 Driver Strength Selection 0: 1x

1: 2x Valid Valid

1074 Select SCL & Virtual Input 0 or IO6 0: SCL & Virtual Input 0

1: IO6 Valid Valid 1076:1075 IO6 Pull-down Resistor Value Selection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1079:1077 IO6 (or SCL) Mode Control (input mode is selected by register at SCL) 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Reserved 100: Reserved 101: Open-Drain NMOS 110: Reserved 111: Reserved Valid Valid IO7

1080 Reserved Valid Valid

1081 IO7 (or SDA) Driver Strength Selection 0: 1x (I 2C up to 400 kHz)

1: 2x (I 2C up to 1 MHz) Valid Valid

1082 Select SDA & Virtual Input 1 or IO7 0: SDA & Virtual Input 1

1: IO7 Valid Valid 1084:1083 IO7 Pull-down Resistor Value Selection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1087:1085 IO7 (or SDA) Mode Control (input mode is selected by register at SDA, output mode is fixed as OD at SDA) 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Reserved 100: Reserved 101: Open-Drain NMOS 110: Reserved 111: Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 143 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IO8

1088 IO8 Super Drive (4x, NMOS

Open-Drain) Selection 0: Super Drive OFF 1: Super Drive ON (if sig_io8_oe = '1' & IO8 Mode Control = '1x') Valid Valid

1089 IO8 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1091:1090 IO8 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1093:1092 IO8 Mode Control (sig_io8_oe = 0) 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Analog Input/Output Valid Valid 1095:1094 IO8 Mode Control (sig_io8_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid IO9

1096 IO9 Super Drive (4x, NMOS

Open-Drain) Selection 0: Super Drive OFF 1: Super Drive ON (if IO9 Mode Control = '101') Valid Valid

1097 IO9 Driver Strength Selection 0: 1x

1: 2x Valid Valid

1098 IO9 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1100:1099 IO9 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1103:1101 IO9 Mode Control 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Analog Input/Output 100: Push-Pull 101: Open-Drain NMOS 110: Open-Drain PMOS 111: Analog Input & Open-Drain Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 144 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IO10

1104 Reserved Valid Valid

1105 IO10 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1107:1106 IO10 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1109:1108 IO10 Mode Control (sig_io10_oe = 0) 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Analog Input/Output Valid Valid 1111:1110 IO10 Mode Control (sig_io10_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid Reserved

1112 Reserved Valid Valid

1113 Reserved Valid Valid

1115:1114 Reserved Valid Valid 1117:1116 Reserved Valid Valid 1119:1118 Reserved Valid Valid IO12

1120 Reserved Valid Valid

1121 IO12 Driver Strength Selection 0: 1x

1: 2x Valid Valid

1122 IO12 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1124:1123 IO12 Pull-up/down Resistor Value Selection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1127:1125 IO12 Mode Control 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Analog Input/Output 100: Push-Pull 101: Open-Drain NMOS 110: Open-Drain PMOS 111: Analog Input & Open-Drain Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 145 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IO13

1128 Reserved Valid Valid

1129 IO13 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1131:1130 IO13 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1133:1132 IO13 Mode Control (sig_io13_oe = 0) 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Sel for XSOC (X2) Valid Valid 1135:1134 IO13 Mode Control (sig_io13_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid IO14

1136 X1 & X2 for crystal OSC enable 0: Disable

1: Enable Valid Valid

1137 IO14 Driver Strength Selection 0: 1x

1: 2x Valid Valid

1138 IO14 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1140:1139 IO14 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1143:1141 IO14 Mode Control 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Sel for XOSC (X1) 100: Push-Pull 101: Open-Drain NMOS 110: Open-Drain PMOS 111: Reserved Valid Valid IO15

1144 Reserved Valid Valid

1145 IO15 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1147:1146 IO15 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1149:1148 IO15 Mode Control (sig_io15_oe = 0) 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Analog Input/Output Valid Valid 1151:1150 IO15 Mode Control (sig_io15_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 146 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary IO16

1152 Reserved Valid Valid

1153 IO16 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1155:1154 IO16 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1157:1156 IO16 Mode Control (sig_io16_oe = 0) 00: Digital Input without Schmitt Trigger 01: Digital Input with Schmitt Trigger 10: Low Voltage Digital Input 11: Analog Input/Output Valid Valid 1159:1158 IO16 Mode Control (sig_io16_oe = 1) 00: Push-Pull 1x 01: Push-Pull 2x 10: Open-Drain NMOS 1x 11: Open-Drain NMOS 2x Valid Valid IO17

1160 Reserved Valid Valid

1161 IO17 Driver Strength Selection 0: 1x

1: 2x Valid Valid

1162 IO17 Pull-up/down Resistor Selection 0: Pull-down Resistor

1: Pull-up Resistor Valid Valid 1164:1163 IO17 Pull-up/down Resistor Value Se - lection 00: Floating 01: 10 K 10: 100 K 11: 1 M Valid Valid 1167:1165 IO17 Mode Control 000: Digital Input without Schmitt Trigger 001: Digital Input with Schmitt Trigger 010: Low Voltage Digital Input 011: Reserved 100: Push-Pull 101: Open-Drain NMOS 110: Open-Drain PMOS 111: Reserved Valid Valid ACMP1

1168 ACMP1 Positive Input Source Select 0: IO8

1: ACMP0 IN+ source Valid Valid

1169 ACMP1 Analog Buffer Enable (Max BW

1 MHz)

0: Disable analog buffer 1: Enable analog buffer Valid Valid 1171:1170 ACMP1 Hysteresis Enable 00: 0 mV 01: 25 mV 10: 50 mV 11: 200 mV (01: for both external & internal Vref; 10 & 11: for only internal Vref; External Vref will not have 50 mV & 200 mV hysteresis) Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 147 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary ACMP0

1172 ACMP0 Positive Input Source Select 0: IO4

1: V DD Valid Valid

1173 ACMP0 Analog Buffer Enable (Max BW

0: Disable analog buffer 1: Enable analog buffer Valid Valid 1175:1174 ACMP0 Hysteresis Enable 00: 0 mV 01: 25 mV 10: 50 mV 11: 200 mV (01: for both external & internal Vref; 10 & 11: for only internal Vref; External Vref will not have 50 mV & 200 mV hysteresis) Valid Valid ACMP3 1177:1176 ACMP3 Positive Input Source Select 00: IO1 2 01: ACMP2 IN+ source 10: ACMP0 IN+ source 11: Reserved Valid Valid 1179:1178 ACMP3 Hysteresis Enable 00: 0 mV 01: 25 mV 10: 50 mV, 11: 200 mV (01: for both external & internal Vref; 10 & 11: for only internal Vref; External Vref will not have 50 mV & 200 mV hysteresis.) Valid Valid ACMP2

1180 ACMP2 Positive Input Source Select 0: IO10

1: ACMP0 IN+ source Valid Valid 1182:1181 ACMP2 Hysteresis Enable 00: 0 mV 01: 25 mV 10: 50 mV 11: 200 mV (01: for both external & internal Vref; 10 & 11: for only internal Vref; External Vref will not have 50 mV & 200 mV hysteresis) Valid Valid ACMP1 100 uA Current Source Enable 93 1183 ACMP1 100 uA Current Source Enable 0: Disable 1: Enable Valid Valid LUT3_x Function Select

1184 LUT3_3 or DFF6 with nRST/nSET Se -

0: LUT3_3 1: DFF6 with nRST/nSET Valid Valid

1185 LUT3_2 or DFF5 with nRST/nSET Se -

0: LUT3_2 1: DFF5 with nRST/nSET Valid Valid

1186 LUT3_1 or DFF4 with nRST/nSET Se -

0: LUT3_1 1: DFF4 with nRST/nSET Valid Valid

1187 LUT3_0 or DFF3 with nRST/nSET Se -

0: LUT3_0 1: DFF3 with nRST/nSET Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 148 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary LUT2_x Function Select

1188 LUT2_3 or PGen Select 0: LUT2_3

1: PGen Valid Valid

1189 LUT2_2 or DFF2 Select 0: LUT2_2

1: DFF2 Valid Valid

1190 LUT2_1 or DFF1 Select 0: LUT2_1

1: DFF1 Valid Valid

1191 LUT2_0 or DFF0 Select 0: LUT2_0

1: DFF0 Valid Valid LUT4_x Function Select

1192 LUT4_1 or DLY/CNT1(16bits) Select 0: LUT4_1

1: DLY/CNT1(16bits) Valid Valid

1193 LUT4_0 or DLY/CNT0(16bits) Select 0: LUT4_0

1: DLY/CNT0(16bits) Valid Valid LUT3_x Function Select

1194 LUT3_9 or DLY/CNT6(8bits) Select 0: LUT3_9

1: DLY/CNT6(8bits) Valid Valid

1195 LUT3_8 or DLY/CNT5(8bits) Select 0: LUT3_8

1: DLY/CNT5(8bits) Valid Valid

1196 LUT3_7 or DLY/CNT4(8bits) Select 0: LUT3_7

1: DLY/CNT4(8bits) Valid Valid

1197 LUT3_6 or DLY/CNT3(8bits) Select 0: LUT3_6

1: DLY/CNT3(8bits) Valid Valid

1198 LUT3_5 or DLY/CNT2(8bits) Select 0: LUT3_5

1: DLY/CNT2(8bits) Valid Valid

1199 LUT3_4 or DFF7 with nRST/nSET Se -

0: LUT3_4 1: DFF7 with nRST/nSET Valid Valid LUT2_1/DFF1

1200 LUT2_1 [0] Valid Valid

1201 LUT2_1 [1]/DFF1 Initial Polarity Select 0: Low

1: High Valid Valid

1202 LUT2_1 [2]/DFF1 Output Select 0: Q output

1: QB output Valid Valid

1203 LUT2_1 [3]/DFF1 or LATCH Select 0: DFF function

1: LATCH function Valid Valid LUT2_0/DFF0

1204 LUT2_0 [0] Valid Valid

1205 LUT2_0 [1]/DFF0 Initial Polarity Select 0: Low

1: High Valid Valid

1206 LUT2_0 [2]/DFF0 Output Select 0: Q output

1: QB output Valid Valid

1207 LUT2_0 [3]/DFF0 or LATCH Select 0: DFF function

1: LATCH function Valid Valid LUT2_3/PGen 97 1211:1208 LUT2_3 [3:0] or PGen 4bit counter data [3:0] Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 149 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary LUT2_2/DFF2

1212 LUT2_2 [0] Valid Valid

1213 LUT2_2 [1]/DFF2 Initial Polarity Select 0: Low

1: High Valid Valid

1214 LUT2_2 [2]/DFF2 Output Select 0: Q output

1: QB output Valid Valid

1215 LUT2_2 [3]/DFF2 or LATCH Select 0: DFF function

1: LATCH function Valid Valid LUT3_0/DFF3 1219:1216 LUT3_0 [3:0] Valid Valid

1220 LUT3_0 [4]/DFF3 Initial Polarity Select 0: Low

1: High Valid Valid

1221 LUT3_0 [5]/DFF3 nRST or nSET Se -

0: nRST from Matrix Output 1: nSET from Matrix Output Valid Valid

1222 LUT3_0 [6]/DFF3 Output Select 0: Q output

1: QB output Valid Valid

1223 LUT3_0 [7]/DFF3 or LATCH Select 0: DFF function

1: LATCH function Valid Valid LUT3_1/DFF4 1227:1224 LUT3_1 [3:0] Valid Valid

1228 LUT3_1 [4]/DFF4 Initial Polarity Select 0: Low

1: High Valid Valid

1229 LUT3_1 [5]/DFF4 nRST or nSET Se -

0: nRST from Matrix Output 1: nSET from Matrix Output Valid Valid

1230 LUT3_1 [6]/DFF4 Output Select 0: Q output

1: QB output Valid Valid

1231 LUT3_1 [7]/DFF4 or LATCH Select 0: DFF function

1: LATCH function Valid Valid LUT3_2/DFF5 1235:1232 LUT3_2 [3:0] Valid Valid

1236 LUT3_2 [4]/DFF5 Initial Polarity Select 0: Low

1: High Valid Valid

1237 LUT3_2 [5]/DFF5 nRST or nSET Se -

0: nRST from Matrix Output 1: nSET from Matrix Output Valid Valid

1238 LUT3_2 [6]/DFF5 Output Select 0: Q output

1: QB output Valid Valid

1239 LUT3_2 [7]/DFF5 or LATCH Select 0: DFF function

1: LATCH function Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 150 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary LUT3_3/DFF6 1243:1240 LUT3_3 [3:0] Valid Valid

1244 LUT3_3 [4]/DFF6 Initial Polarity Select 0: Low

1: High Valid Valid

1245 LUT3_3 [5]/DFF6 nRST or nSET Se -

0: nRST from Matrix Output 1: nSET from Matrix Output Valid Valid

1246 LUT3_3 [6]/DFF6 Output Select 0: Q output

1: QB output Valid Valid

1247 LUT3_3 [7]/DFF6 or LATCH Select 0: DFF function

1: LATCH function Valid Valid LUT3_4/DFF7 1251:1248 LUT3_4 [3:0] Valid Valid

1252 LUT3_4 [4]/DFF7 Initial Polarity Select 0: Low

1: High Valid Valid

1253 LUT3_4 [5]/DFF7 nRST or nSET Se -

0: nRST from Matrix Output 1: nSET from Matrix Output Valid Valid

1254 LUT3_4 [6]/DFF7 Output Select 0: Q output

1: QB output Valid Valid

1255 LUT3_4 [7]/DFF7 or LATCH Select 0: DFF function

1: LATCH function Valid Valid LUT3_10/Pipe Delay 9D 1259:1256 LUT3_10 [3:0]/Pipe Delay OUT0 Select Valid Valid 1263:1260 LUT3_10 [7:4]/Pipe Delay OUT1 Select Valid Valid 1265:1264 Select the Edge Mode of Programma - ble Delay & Edge Detector 00: Rising Edge Detector 01: Falling Edge Detector 10: Both Edge Detector 11: Both Edge Delay Valid Valid 1267:1266 Delay Value Select for Programmable Delay & Edge Detector (V DD = 3.3V, typical) 00: 125 ns 01: 250 ns 10: 375 ns 11: 500 ns Valid Valid 1269:1268 Crystal oscillator and temp output Pow - er-down enable 00: No matrix PD 01: matrix PD for crystal oscillator 10: Reserved matrix PD for temp sensor 11: matrix PD for both crystal oscillator and temp sensor Valid Valid

1270 LUT3_10 or Pipe Delay Select 0: LUT3_10

1: Pipe Delay Valid Valid

1271 Pipe Delay OUT1 Polarity Select 0: Non-inverted

1: Inverted Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 151 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary DLY/CNT2 1273:1272 DLY2 Mode Select or Asynchronous CNT2 Reset 00: On both Falling and Rising Edges (for Delay & Counter Reset) 01: on Falling Edge only (for Delay & Count - er Reset) 10: on Rising Edge only (for Delay & Count - er Reset) 11: No Delay on either Falling or Rising Edges/High Level Reset Valid Valid 1276:1274 DLY/CNT2 Clock Source Select 000: Internal OSC clock 001: OSC/4 010: OSC/12 011: OSC/24 100: OSC/64 101: 25 MHz OSC clock 110: External Clock 111: Counter1 Overflow Valid Valid

1277 DLY/CNT2 Output Selection if DLY/

CNT2 Mode Selection is "11" 0: Default Output 1: Edge Detector Output Valid Valid 1279:1278 DLY/CNT2 Mode Selection 00: Delay mode 01: One Shot 10: Freq. Detect 11: Counter mode Valid Valid DLY/CNT3 1281:1280 DLY3 Mode Select or Asynchronous CNT3 Reset 00: On both Falling and Rising Edges (for Delay & Counter Reset) 01: on Falling Edge only (for Delay & Count - er Reset) 10: on Rising Edge only (for Delay & Count - er Reset) 11: No Delay on either Falling or Rising Edges/High Level Reset Valid Valid 1284:1282 DLY/CNT3 Clock Source Select 000: Internal OSC clock 001: OSC/4 010: OSC/12 011: OSC/24 100: OSC/64 101: 25 MHz OSC clock 110: External Clock 111: Counter2 Overflow Valid Valid

1285 DLY/CNT3 Output Selection if DLY/

CNT3 Mode Selection is "11" 0: Default Output 1: Edge Detector Output Valid Valid 1287:1286 DLY/CNT3 Mode Selection 00: Delay mode 01: One Shot 10: Freq. Detect 11: Counter mode Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 152 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary DLY/CNT4 1289:1288 DLY4 Mode Select or Asynchronous CNT4 Reset 00: On both Falling and Rising Edges (for Delay & Counter Reset) 01: on Falling Edge only (for Delay & Count - er Reset) 10: on Rising Edge only (for Delay & Count - er Reset) 11: No Delay on either Falling or Rising Edges/High Level Reset Valid Valid 1292:1290 DLY/CNT4 Clock Source Select 000: Internal OSC clock 001: OSC/4 010: OSC/12 011: OSC/24 100: OSC/64 101: 25 MHz OSC clock 110: External Clock 111: Counter3 Overflow Valid Valid

1293 DLY/CNT4 Output Selection if DLY/

CNT4 Mode Selection is "11" 0: Default Output 1: Edge Detector Output Valid Valid 1295:1294 DLY/CNT4 Mode Selection 00: Delay mode 01: One Shot 10: Freq. Detect 11: Counter mode Valid Valid DLY/CNT5 1297:1296 DLY5 Mode Select or Asynchronous CNT5 Reset 00: On both Falling and Rising Edges (for Delay & Counter Reset) 01: on Falling Edge only (for Delay & Count - er Reset) 10: on Rising Edge only (for Delay & Count - er Reset) 11: No Delay on either Falling or Rising Edges/High Level Reset Valid Valid 1300:1298 DLY/CNT5 Clock Source Select 000: Internal OSC clock 001: OSC/4 010: OSC/12 011: OSC/24 100: OSC/64 101: 25 MHz OSC clock 110: External Clock 111: Counter4 Overflow Valid Valid

1301 DLY/CNT5 Output Selection if DLY/

CNT5 Mode Selection is "11" 0: Default Output 1: Edge Detector Output Valid Valid 1303:1302 DLY/CNT5 Mode Selection 00: Delay mode 01: One Shot 10: Freq. Detect 11: Counter mode Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 153 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary DLY/CNT6 1305:1304 DLY6 Mode Select or Asynchronous CNT6 Reset 00: On both Falling and Rising Edges (for Delay & Counter Reset) 01: on Falling Edge only (for Delay & Count - er Reset) 10: on Rising Edge only (for Delay & Count - er Reset) 11: No Delay on either Falling or Rising Edges/High Level Reset Valid Valid 1308:1306 DLY/CNT6 Clock Source Select 000: Internal OSC clock 001: OSC/4 010: OSC/12, 011: OSC/24 100: OSC/64 101: 25 MHz OSC clock 110: External Clock 111: Counter5 Overflow Valid Valid

1309 DLY/CNT6 Output Selection if DLY/

CNT6 Mode Selection is "11" 0: Default Output 1: Edge Detector Output Valid Valid 1311:1310 DLY/CNT6 Mode Selection 00: Delay mode 01: One Shot 10: Freq. Detect 11: Counter mode Valid Valid DLY/CNT0 1313:1312 DLY0 Mode Select or Asynchronous CNT0 Reset (16bits) 00: On both Falling and Rising Edges (for Delay & Counter Reset) 01: on Falling Edge only (for Delay & Count - er Reset) 10: on Rising Edge only (for Delay & Count - er Reset) 11: No Delay on either Falling or Rising Edges/High Level Reset Valid Valid 1316:1314 DLY/CNT0 Clock Source Select (16bits) 000: Internal OSC clock 001: OSC/4 010: OSC/12 011: OSC/24 100: OSC/64 101: 25 MHz OSC clock 110: External Clock 111: Counter6 Overflow Valid Valid

1317 CNT0/FSM0's Q are Set to data or Re -

set to 0s Selection (16bits) 0: Reset to 0s 1: Set to data (Registers [1583:1576, 1591:1584]) Valid Valid 1319:1318 DLY/CNT0 Mode Selection (16bits) 00: Delay mode 01: One Shot 10: Freq. Detect 11: Counter mode Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 154 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary DLY/CNT1 1321:1320 DLY1 Mode Select or Asynchronous CNT1 Reset (16bits) 00: On both Falling and Rising Edges (for Delay & Counter Reset) 01: on Falling Edge only (for Delay & Count - er Reset) 10: on Rising Edge only (for Delay & Count - er Reset) 11: No Delay on either Falling or Rising Edges/High Level Reset Valid Valid 1324:1322 DLY/CNT1 Clock Source Select (16bits) 000: Internal OSC clock 001: OSC/4 010: OSC/12 011: OSC/24 100: OSC/64 101: 25 MHz OSC clock 110: External Clock 111: Counter0 Overflow Valid Valid

1325 CNT1/FSM1's Q are Set to data or Re -

set to 0s Selection (16bits) 0: Reset to 0s 1: Set to data (Registers [1599:1592, 1607:1600]) Valid Valid 1327:1326 DLY/CNT1 Mode Selection (16bits) 00: Delay mode 01: One Shot 10: Freq. Detect 11: Counter mode Valid Valid DLY/CNTx One-Shot/Freq. Detect Output Polarity

1328 DLY/CNT0 stop & restarting enable in

CNT mode when new data is loaded 0: Disable 1: Enable Valid Valid

1329 Select the Polarity of DLY/CNT6's One

Shot/Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid

1330 Select the Polarity of DLY/CNT5's One

Shot/Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid

1331 Select the Polarity of DLY/CNT4's One

Shot/Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid

1332 Select the Polarity of DLY/CNT3's One

Shot/Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid

1333 Select the Polarity of DLY/CNT2's One

Shot/Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid

1334 Select the Polarity of DLY/CNT1's One

Shot/Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid

1335 Select the Polarity of DLY/CNT0's One

Shot/Freq. Detect Output 0: Default Output 1: Inverted Output Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 155 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Oscillator 1337:1336 OSC Clock Pre-divider for 25 MHz 00: Div1 01: Div2 10: Div4 11: Div8 Valid Valid

1338 OSC Fast Start-Up Enable for 25 kHz/

2 MHz

0: Disable 1: Enable Valid Valid 1340:1339 OSC Clock Pre-divider for 25 kHz/2 MHz 00: Div1 01: Div2 10: Div4 11: Div8 Valid Valid

1341 Force 25 MHz Oscillator ON

0: Auto Power-On (If any CNT/DLY use 25 MHz source) 1: Force Power-On Valid Valid

1342 Oscillator (25 kHz: Ring OSC, 2 M:

RC-OSC) Select 0: 25 kHz Ring OSC 1: 2 MHz RC-OSC Valid Valid

1343 Force 25 kHz/2 MHz Oscillator ON

0: Auto Power-On (if any CNT/DLY use 25k/2 MHz source) 1: Force Power-On Valid Valid 1346:1344 Internal OSC 25 kHz/2 MHz Frequency Divider Control for matrix input [28] 000: OSC/1 001: OSC/2 010: OSC/3 011: OSC/4 100: OSC/8 101: OSC/12 110: OSC/24 111: OSC/64 Valid Valid 1349:1347 Internal OSC 25 kHz/2 MHz Frequency Divider Control for matrix input [27] 000: OSC/1 001: OSC/2 010: OSC/3 011: OSC/4 100: OSC/8 101: OSC/12 110: OSC/24 111: OSC/64 Valid Valid

1350 OSC Clock 25 kHz/2 MHz to matrix in -

put [28] enable 0: Disable 1: Enable Valid Valid

1351 OSC Clock 25 kHz/2 MHz to matrix in -

put [27] enable 0: Disable 1: Enable Valid Valid 1354:1352 SM_reg_init [2:0] for SM state default setup bits Valid Valid

1355 External oscillator pin selection

0: IO17 1: IO15 Valid Valid

1356 OSC Clock 25 MHz to matrix input [29]

0: Disable 1: Enable Valid Valid

1357 External Clock Source Select instead

0: Internal Oscillator 1: External Clock from IO14 Valid Valid

1358 External Clock Source Select instead

0: Internal Oscillator 1: External Clock from IO15 or IO17 Valid Valid

1359 DLY/CNT1 stop & restarting enable in

CNT mode when new data is loaded 0: Disable 1: Enable Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 156 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary ASM 8-to-1 MUX’s 3 selection bits AA 1362:1360 ASM_state0_dec8x1_EN1 Valid Valid

1363 Reserved Valid Valid

1366:1364 ASM_state0_dec8x1_EN0 Valid Valid

1367 Reserved Valid Valid

1370:1368 ASM_state1_dec8x1_EN0 Valid Valid

1371 Reserved Valid Valid

1374:1372 ASM_state0_dec8x1_EN2 Valid Valid

1375 Reserved Valid Valid

AC 1378:1376 ASM_state1_dec8x1_EN2 Valid Valid

1379 Reserved Valid Valid

AC 1382:1380 ASM_state1_dec8x1_EN1 Valid Valid

1383 Reserved Valid Valid

1386:1384 ASM_state2_dec8x1_EN1 Valid Valid

1387 Reserved Valid Valid

1390:1388 ASM_state2_dec8x1_EN0 Valid Valid

1391 Reserved Valid Valid

1394:1392 ASM_state3_dec8x1_EN0 Valid Valid

1395 Reserved Valid Valid

1398:1396 ASM_state2_dec8x1_EN2 Valid Valid

1399 Reserved Valid Valid

1402:1400 ASM_state3_dec8x1_EN2 Valid Valid

1403 Reserved Valid Valid

1406:1404 ASM_state3_dec8x1_EN1 Valid Valid

1407 Reserved Valid Valid

1410:1408 ASM_state4_dec8x1_EN1 Valid Valid

1411 Reserved Valid Valid

1414:1412 ASM_state4_dec8x1_EN0 Valid Valid

1415 Reserved Valid Valid

1418:1416 ASM_state5_dec8x1_EN0 Valid Valid

1419 Reserved Valid Valid

1422:1420 ASM_state4_dec8x1_EN2 Valid Valid

1423 Reserved Valid Valid

1426:1424 ASM_state5_dec8x1_EN2 Valid Valid

1427 Reserved Valid Valid

1430:1428 ASM_state5_dec8x1_EN1 Valid Valid

1431 Reserved Valid Valid

1434:1432 ASM_state6_dec8x1_EN1 Valid Valid

1435 Reserved Valid Valid

1438:1436 ASM_state6_dec8x1_EN0 Valid Valid

1439 Reserved Valid Valid

Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 157 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 1442:1440 ASM_state7_dec8x1_EN0 Valid Valid

1443 Reserved Valid Valid

1446:1444 ASM_state6_dec8x1_EN2 Valid Valid

1447 Reserved Valid Valid

1450:1448 ASM_state7_dec8x1_EN2 Valid Valid

1451 Reserved Valid Valid

1454:1452 ASM_state7_dec8x1_EN1 Valid Valid

1455 Reserved Valid Valid

1457:1456 Select the edge mode of Edge Detec - tor_1 00: Rising Edge 01: Falling Edge 10: Both Edge 11: Delay Valid Valid

1458 Filter_1/Edge Detector_1 output Polar -

0: Filter_1 output 1: Filter_1 output inverted Valid Valid

1459 Filter_1 or Edge Detector_1 Select

(Typ 30 ns @V DD = 3.3 V) 0: Filter_1 1: Edge Detector_1 Valid Valid 1461:1460 Select the edge mode of Edge Detec - tor_0 00: Rising Edge 01: Falling Edge 10: Both Edge 11: Delay Valid Valid

1462 Filter_0/Edge Detector_0 output Polar -

0: Filter_0 output 1: Filter_0 output inverted Valid Valid

1463 Filter_0 or Edge Detector_0 Select

(Typ 47 ns @V DD = 3.3 V) 0: Filter_0 1: Edge Detector_0 Valid Valid Vref/Bandgap 1464 Enable temp. sensor 0: Disable 1: Enable Valid Valid 1466:1465 Bandgap OK for ACMP Output Delay Time Select, the start Time is "Reset - b_core go to High" 00 or 10 with registers [1474:1472] = 100 (Wide V DD range, 1.7 V~ 5.5 V): Auto-delay mode, 550 uS for V DD < 2.7 V & 100 uS for 2.7 V < V DD 00 or 10 with registers [1474:1472] = X10: Always 100 uS delay for 2.7 V < V DD 00 or 10 with registers [1474:1472] = XX1: Always 550 uS delay for V DD < 2.7 V, 01: Always 550 us delay regardless of registers [1474:1472] & V DD , 11: Always 100 us delay with 2.7 V < V DD regardless of registers [1474:1472] Valid Valid

1467 Reserved Valid Valid

1468 Reserved Valid Valid

1469 Reserved Valid Valid

1470 Reserved Valid Valid

1471 Two consecutive DFFs enable for SM 0: Disable

1: Enable Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 158 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 1474:1472 Power divider (V DD /3, VV DD /4) ON/ OFF 0XX: Power divider off (if there is no use of V DD /3, V DD /4 @ ACMP negative in) 100: Reserved X10: Reserved XX1: Reserved Valid Valid 1475 V DD Bypass Enable when device power is 1.8 V 0: Regulator Auto ON 1: Regulator OFF (V DD Bypass) Valid Valid

1476 Force Bandgap ON

0: Auto-Mode 1: Enable (if chip is Power-down, the Band - gap will Power-down even if it is Set to 1). Valid Valid

1477 NVM Power-down 0: None (Or Programming Enable)

1: Power-down (Or Programming Disable) Valid Valid 1478 Temp output range control (temp. de - tector is not available) 0: 0.62 V ~ 0.99 V (Typ) 1: 0.75 V ~ 1.2 V (Typ) Valid Valid

1479 GPIO Quick Charge Enable 0: Disable

1: Enable Valid Valid 1482:1480 Vref1 Output Source Select 000: ACMP2 Vref 001: ACMP3 Vref 100: V DD /2 101: V DD /3 110: V DD /4 111: Hi-Z Valid Valid

1483 Reserved Valid Valid

1486:1484 Vref0 Output Source Select 000: ACMP0 Vref 001: ACMP1 Vref 100: V DD /2 101: V DD /3 110: V DD /4 111: Hi-Z Valid Valid

1487 Reserved Valid Valid

1488 Reserved Valid Valid

1489 Wake time Selection in Wake Sleep

0: Short wake time 1: Normal wake time Valid Valid

1490 ACMP0 Wake & Sleep function Enable 0: Disable

1: Enable Valid Valid

1491 ACMP1 Wake & Sleep function Enable 0: Disable

1: Enable Valid Valid

1492 ACMP2 Wake & Sleep function Enable 0: Disable

1: Enable Valid Valid

1493 ACMP3 Wake & Sleep function Enable 0: Disable

1: Enable Valid Valid 1494 Wake Sleep Output State When WS Oscillator is Power-down if DLY/CNT0 Mode Selection is "11" 0: Low 1: High Valid Valid

1495 Wake Sleep Ratio Control Mode Selec -

tion if DLY/CNT0 Mode Selection is "11" 0: Default Mode 1: Wake Sleep Ratio Control Mode Valid Valid BB 1503:1496 Reserved Valid Valid BC 1511:1504 Reserved Valid Valid BD 1519:1512 Reserved Valid Valid BE 1527:1520 Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 159 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary BF 1535:1528 Reserved Valid Valid LUT/DLY/CNT Control Data C0 1543:1536 LUT3_5 [7:0] or DLY/CNT2 Control Data 1 - 255 (Delay Time = [Counter Control Data + 1]/Freq) Valid Valid C1 1551:1544 LUT3_6 [7:0] or DLY/CNT3 Control Data 1 - 255 (Delay Time = [Counter Control Data + 1]/Freq) Valid Valid C2 1559:1552 LUT3_7 [7:0] or DLY/CNT4 Control Data 1 - 255 (Delay Time = [Counter Control Data + 1]/Freq) Valid Valid C3 1567:1560 LUT3_8 [7:0] or DLY/CNT5 Control Data 1 - 255 (Delay Time = [Counter Control Data + 1]/Freq) Valid Valid C4 1575:1568 LUT3_9 [7:0] or DLY/CNT6 Control Data 1 - 255 (Delay Time = [Counter Control Data + 1]/Freq) Valid Valid C5 1583:1576 LUT4_0 [15:0] or DLY/CNT0 (16bits, [15:0] = [1591:1576]) Control Data 1 - 65535 (Delay Time = [Counter Control Data + 2]/Freq) Valid Valid C6 1591:1584 Valid Valid C7 1599:1592 LUT4_1 [15:0] or DLY/CNT1 (16bits, [15:0] = [1607:1592]) Control Data 1 - 65535 (Delay Time = [Counter Control Data + 2]/Freq) Valid Valid C8 1607:1600 Valid Valid C9 1615:1608 PGen pattern data [15:0] = [1623:1608] Valid Valid CA 1623:1616 Valid Valid ACMP0 CB 1628:1624 ACMP0-IN Voltage Select 00000: 50 mV 00001: 100 mV 00010: 150 mV 00011: 200 mV 00100: 250 mV 00101: 300 mV 00110: 350 mV 00111: 400 mV 01000: 450 mV 01001: 500 mV 01010: 550 mV 01011: 600 mV 01100: 650 mV 01101: 700 mV 01110: 750 mV 01111: 800 mV 10000: 850 mV 10001: 900 mV 10010: 950 mV 10011: 1 V 10100: 1.05 V 10101: 1.1 V 10110: 1.15 V 10111: 1.2 V 11000: V DD /3 11001: V DD /4 11010: IO9: EXT_Vref 11011: IO5: ACMP0- 11100: IO9: EXT_Vref/2 11101: IO5: ACMP0-/2 11110: Reserved 11111: Reserved Valid Valid 1630:1629 ACMP0 Positive Input Divider 00: 1.0x 01: 0.5x 10: 0.33x 11: 0.25x Valid Valid

1631 ACMP0 Low Bandwidth (MAX: 1 MHz)

0: OFF 1: ON Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 160 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary ACMP1 CC 1636:1632 ACMP1-IN Voltage Select 00000: 50 mV 00001: 100 mV 00010: 150 mV 00011: 200 mV 00100: 250 mV 00101: 300 mV 00110: 350 mV 00111: 400 mV 01000: 450 mV 01001: 500 mV 01010: 550 mV 01011: 600 mV 01100: 650 mV 01101: 700 mV 01110: 750 mV 01111: 800 mV 10000: 850 mV 10001: 900 mV 10010: 950 mV 10011: 1 V 10100: 1.05 V 10101: 1.1 V 10110: 1.15 V 10111: 1.2 V 11000: V DD /3 11001: V DD /4 11010: EXT_Vref(IO9) 11011: Reserved 11100: EXT_Vref(IO9)/2 11101: Reserved 11110: Reserved 11111: Reserved Valid Valid 1638:1637 ACMP1 Positive Input Divider 00: 1.0x 01: 0.5x 10: 0.33x 11: 0.25x Valid Valid

1639 ACMP1 Low Bandwidth (MAX: 1 MHz)

0: OFF 1: ON Valid Valid ACMP2 CD 1644:1640 ACMP2-IN Voltage Select 00000: 50 mV 00001: 100 mV 00010: 150 mV 00011: 200 mV 00100: 250 mV 00101: 300 mV 00110: 350 mV 00111: 400 mV 01000: 450 mV 01001: 500 mV 01010: 550 mV 01011: 600 mV 01100: 650 mV 01101: 700 mV 01110: 750 mV 01111: 800 mV 10000: 850 mV 10001: 900 mV 10010: 950 mV 10011: 1 V 10100: 1.05 V 10101: 1.1 V 10110: 1.15 V 10111: 1.2 V 11000: V DD /3 11001: V DD /4 11010: IO9: EXT_Vref 11011: Reserved 11100: IO9: EXT_Vref/2 11101: Reserved 11110: Reserved 11111: Reserved Valid Valid 1646:1645 ACMP2 Positive Input Divider 00: 1.0x 01: 0.5x 10: 0.33x 11: 0.25x Valid Valid

1647 ACMP2 Low Bandwidth (MAX: 1 MHz)

0: OFF 1: ON Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 161 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary ACMP3 CE 1652:1648 ACMP3-IN Voltage Select 00000: 50 mV 00001: 100 mV 00010: 150 mV 00011: 200 mV 00100: 250 mV 00101: 300 mV 00110: 350 mV 00111: 400 mV 01000: 450 mV 01001: 500 mV 01010: 550 mV 01011: 600 mV 01100: 650 mV 01101: 700 mV 01110: 750 mV 01111: 800 mV 10000: 850 mV 10001: 900 mV 10010: 950 mV 10011: 1 V 10100: 1.05 V 10101: 1.1 V 10110: 1.15 V 10111: 1.2 V 11000: V DD /3 11001: V DD /4 11010: IO9: EXT_Vref 11011: Reserved 11100: IO9: EXT_Vref/2 11101: Reserved 11110: Reserved 11111: Reserved Valid Valid 1654:1653 ACMP3 Positive Input Divider 00: 1.0x 01: 0.5x 10: 0.33x 11: 0.25x Valid Valid

1655 ACMP3 Low Bandwidth (MAX: 1 MHz)

0: OFF 1: ON Valid Valid Misc. CF

1656 Reserved Valid Valid

Switch from “Matrix OUT: OSC 25 MHz PD” to “Matrix OUT: OSC 25 MHz Force On” 0: OSC PD 1: OSC Force On (Matrix Output [59]) Valid Valid 1658 Switch from “Matrix OUT: OSC 25 kHz/

2 MHz PD” to “Matrix OUT:

OSC 25 kHz/2 MHz Force On” 0: OSC PD 1: OSC Force On (Matrix Output [58]) Valid Valid

1659 Reserved Valid Valid

1660 Reserved Valid Valid

1661 Reserved Valid Valid

2C reset bit with reloading NVM into Data register 0: Keep existing condition 1: Reset execution Valid Valid

1663 Reserved Valid Valid

D0 1671:1664 RAM 8 outputs for ASM-state0 Valid Valid D1 1679:1672 RAM 8 outputs for ASM-state1 Valid Valid D2 1687:1680 RAM 8 outputs for ASM-state2 Valid Valid D3 1695:1688 RAM 8 outputs for ASM-state3 Valid Valid D4 1703:1696 RAM 8 outputs for ASM-state4 Valid Valid D5 1711:1704 RAM 8 outputs for ASM-state5 Valid Valid D6 1719:1712 RAM 8 outputs for ASM-state6 Valid Valid D7 1727:1720 RAM 8 outputs for ASM-state7 Valid Valid D8 1735:1728 User configurable RAM/OTP Byte 0 Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 162 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary D9 1743:1736 User configurable RAM/OTP Byte 1 Valid Valid DA 1751:1744 User configurable RAM/OTP Byte 2 Valid Valid DB 1759:1752 User configurable RAM/OTP Byte 3 Valid Valid DC 1767:1760 User configurable RAM/OTP Byte 4 Valid Valid DD 1775:1768 User configurable RAM/OTP Byte 5 Valid Valid DE 1783:1776 User configurable RAM/OTP Byte 6 Valid Valid DF 1791:1784 User configurable RAM/OTP Byte 7 Valid Valid E0 1799:1792 Reserved Invalid Invalid E1 1807:1800 Reserved Invalid Invalid E2 1815:1808 Reserved Invalid Invalid E3 1823:1816 Reserved Invalid Invalid E4 1831:1824 Reserved Valid Valid

1832 I2C lock for read bits [1535:0] (Bank 0/

1/2) 0: Disable (Programmed data can be read) 1: Enable (Programmed data can't be read) Valid Invalid

1833 Reserved Valid Invalid

1835:1834 Reserved Valid Invalid 1839:1836 Reserved Valid Invalid E6 1847:1840 8-bit Pattern ID Byte 0 (From NVM): ID[23:16] Valid Valid E7 1855:1848 Reserved Valid Invalid E8 1863:1856 Reserved Valid Invalid 1867:1864 I 2C Control Code Bit [3:0] Value for slave address Vali d Invalid

1868 Reserved Valid Valid

1869 Reserved Valid Valid

1870 BANK0/1/2/3 I 2C-write protection bit 0: Writable

1: Non-writable Valid Invalid 1871 I 2C lock for write bits [1535:0] (Bank 0/ 1/2) 0: Writable 1: Non-writable Valid Invalid EA 1879:1872 CNT4 Counted Value Valid Invalid EB 1887:1880 CNT0 (16bits) = [1895:1880] Counted Value Valid Invalid EC 1895:1888 Valid Invalid ED 1903:1896 CNT6 Counted Value Valid Invalid EE 1911:1904 CNT1 (16bits) = [1919:1904] Counted Value Valid Invalid EF 1919:1912 Valid Invalid Matrix Input

1920 Matrix Input 0 Ground Valid Invalid

1921 Matrix Input 1 IO0 Digital Input Valid Invalid

1922 Matrix Input 2 IO1 Digital Input Valid Invalid

1923 Matrix Input 3 IO2 Digital Input Valid Invalid

1924 Matrix Input 4 IO3 Digital Input Valid Invalid

1925 Matrix Input 5 IO4 Digital Input Valid Invalid

1926 Matrix Input 6 IO5 Digital Input Valid Invalid

1927 Matrix Input 7 IO8 Digital Input Valid Invalid

Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 163 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

1928 Matrix Input 8 LUT2_0/DFF0 Output Valid Invalid

1929 Matrix Input 9 LUT2_1/DFF1 Output Valid Invalid

1930 Matrix Input 10 LUT2_2/DFF2 Output Valid Invalid

1931 Matrix Input 11 LUT2_3/PGen Output Valid Invalid

1932 Matrix Input 12 LUT3_0/DFF3 Output Valid Invalid

1933 Matrix Input 13 LUT3_1/DFF4 Output Valid Invalid

1934 Matrix Input 14 LUT3_2/DFF5 Output Valid Invalid

1935 Matrix Input 15 LUT3_3/DFF6 Output Valid Invalid

1936 Matrix Input 16 LUT3_4/DFF7 Output Valid Invalid

1937 Matrix Input 17 LUT3_5/CNT_DLY2(8bit) Output Vali d Invalid

1938 Matrix Input 18 LUT3_6/CNT_DLY3(8bit) Output Vali d Invalid

1939 Matrix Input 19 LUT3_7/CNT_DLY4(8bit) Output Vali d Invalid

1940 Matrix Input 20 LUT3_8/CNT_DLY5(8bit) Output Vali d Invalid

1941 Matrix Input 21 LUT3_9/CNT_DLY6(8bit) Output Vali d Invalid

1942 Matrix Input 22 LUT4_0/CNT_DLY0(16bit) Output Va lid Invalid

1943 Matrix Input 23 LUT4_1/CNT_DLY1(16bit) Output Val id Invalid

1944 Matrix Input 24 LUT3_10/Pipe Delay (1st stage) O utput Valid Invalid

1945 Matrix Input 25 Pipe Delay Output0 Valid Invalid

1946 Matrix Input 26 Pipe Delay Output1 Valid Invalid

1947 Matrix Input 27 Fixed "L" output because it is O SC clock Valid Invalid

1948 Matrix Input 28 Fixed "L" output because it is O SC clock Valid Invalid

1949 Matrix Input 29 Fixed "L" output because it is O SC clock Valid Invalid

1950 Matrix Input 30 Filter0/Edge Detect0 Output Vali d Invalid

1951 Matrix Input 31 Filter1/Edge Detect1 Output Vali d Invalid

1952 Matrix Input 32 Virtual Input [0] Valid Valid

1953 Matrix Input 33 Virtual Input [1] Valid Valid

1954 Matrix Input 34 Virtual Input [2] Valid Valid

1955 Matrix Input 35 Virtual Input [3] Valid Valid

1956 Matrix Input 36 Virtual Input [4] Valid Valid

1957 Matrix Input 37 Virtual Input [5] Valid Valid

1958 Matrix Input 38 Virtual Input [6] Valid Valid

1959 Matrix Input 39 Virtual Input [7] Valid Valid

1960 Matrix Input 40 RAM_0 Output for ASM-state Valid I nvalid

1961 Matrix Input 41 RAM_1 Output for ASM-state Valid I nvalid

1962 Matrix Input 42 RAM_2 Output for ASM-state Valid I nvalid

1963 Matrix Input 43 RAM_3 Output for ASM-state Valid I nvalid

1964 Matrix Input 44 RAM_4 Output for ASM-state Valid I nvalid

1965 Matrix Input 45 RAM_5 Output for ASM-state Valid I nvalid

1966 Matrix Input 46 RAM_6 Output for ASM-state Valid I nvalid

1967 Matrix Input 47 RAM_7 Output for ASM-state Valid I nvalid

Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 164 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

1968 Matrix Input 48 IO9 Digital Input Valid Invalid

1969 Matrix Input 49 IO10 Digital Input Valid Invalid

1970 Matrix Input 50 Inverter Output Valid Invalid

1971 Matrix Input 51 IO12 Digital Input Valid Invalid

1972 Matrix Input 52 IO13 Digital Input Valid Invalid

1973 Matrix Input 53 IO14 Digital Input Valid Invalid

1974 Matrix Input 54 IO15 Digital Input Valid Invalid

1975 Matrix Input 55 IO16 Digital Input Valid Invalid

1976 Matrix Input 56 IO17 Digital Input Valid Invalid

1977 Matrix Input 57 ACMP_0 Output Valid Invalid

1978 Matrix Input 58 ACMP_1 Output Valid Invalid

1979 Matrix Input 59 ACMP_2 Output Valid Invalid

1980 Matrix Input 60 ACMP_3 Output Valid Invalid

1981 Matrix Input 61 Programmable Delay with Edge Detector

1982 Matrix Input 62 nRST_core Valid Invalid

1983 Matrix Input 63 V

F8 1991:1984 Reserved Valid Invalid F9 1999:1992 Reserved Valid Invalid FA 2007:2000 Reserved Valid Invalid FB 2015:2008 Reserved Valid Valid FC 2023:2016 Reserved Valid Invalid FD 2031:2024 Reserved Valid Invalid FE 2039:2032 Reserved Valid Valid FF 2047:2040 Reserved Valid Valid Table 68: Register Map (Continued) Address Signal Function Register Bit Definition I2C Interface Byte Register Bit Read Write

Revision 2.5 165 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 21.1 TQFN 20L 3.5 MM X 3.5 MM 0.5P PACKAGE PPPPPPart Code Pin 1 Identifier WWNNN S/N Code ARR Week Code Assembly Code + Revision Code

Revision 2.5 166 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary 22.1 PACKAGE OUTLINES FOR TQFN 20L 3.5 MM X 3.5 MM 0.5P PACKAGE TOP (Marking View) Side View Bottom (Bump View)

Revision 2.5 167 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

22.2 TQFN HANDLING

Be sure to handle TQFN package only in a clean, ESD -safe environment. Tweezers or vacuum pick-up tools are suitable for handling. Do not handle TQFN package with fingers as this can contaminate the package pins and interface with solder reflow.

22.3 SOLDERING INFORMATION

Please see IPC/JEDEC J-STD-020: latest revision for reflow profile based on package volume of 25.74 mm 3 (nominal) for

23.1 TAPE AND REEL SPECIFICATIONS

23.2 CARRIER TAPE DRAWING AND DIMENSIONS

SLG46538-APTR 20-pin TQFN - Tape and Reel (5k units) Package Type # of Pins Nominal Package Size (mm) Max Units Reel & Hub Size (mm) Trailer (min) Leader (min) Tape Width Part Pitch per Reel per Box Pockets Length (mm) Pockets Length (mm) TQFN 20L 3.5 mm x 3.5 mm Green 20 3.5 x 3.5 x 0.75 5,000 10,000 330/100 42 336 42 336 12 8 Package Type Pocket BTM Length (mm) Pocket BTM Width (mm) Pocket Depth (mm) Index Hole Pitch (mm) Pocket Pitch (mm) Index Hole Diameter (mm) Index Hole to Tape Edge (mm) Index Hole to Pocket Center (mm) Tape Width (mm) A0 B0 K0 P0 P1 D0 E F W TQFN 20L 3.5 mm x 3.5 mm Green Note: 1.Orientation in carrier: Pin1 is at upper left corner (Quadrant 1). 2.Other material is available. Section Y-Y

Revision 2.5 168 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

24 Layout Guidelines

24.1 TQFN 20L 3.5 MM X 3.5 MM 0.5P PACKAGE Unit: µm

Revision 2.5 169 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Glossary A ACK Acknowledge bit ACMP Analog Comparator ASM Asynchronous State Machine B BG Bandgap C CLK Clock CNT Counter D DFF D Flip-Flop DLY Delay E ESD Electrostatic discharge F FSM Finite State Machine G GPI General Purpose Input GPIO General Purpose Input/Output GPO General Purpose Output I IN Input IO Input/Output L LSB Least Significant Bit LB Low Bandwidth LUT Look Up Table M MSB Most Significant Bit MUX Multiplexer

Revision 2.5 170 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary N nRST Reset NVM Non-Volatile Memory O OD Open-Drain OE Output Enable OSC Oscillator OTP One Time Programmable OUT Output P PD Power-Down PGen Pattern Generator POR Power-On Reset PP Push-Pull PWR Power P DLY Programmable Delay R R/W Read/Write S SCL I 2C Clock Input SDA I 2C Data Input/Output T TP Thermal Pad TS Temperature Sensor V Vref Voltage Reference W WS Wake and Sleep Controller

Revision 2.5 171 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary

Revision History

2.5 9-Aug-2022 Updated Package Information 2.4 4-Mar-2022 Updated R PULL in section Electrical Characteristics Renesas rebranding Updated Crystal Oscillator Description 2.3 22-Jul-2021 Removed note from section Vref Load Regulation Corrected registers [1076:1075], [1084:1083], [1087:1085] 2.2 19-Feb-2021 Corrected section Pin Configuration - TQFN - 20L 2.1 16-Jul-2020 Corrected section Pin Configuration - TQFN - 20L Updated Ordering Information Updated ACMP Spec 2.0 16-Jun-2020 Preliminary version

Revision 2.5 172 of 172 © 2022 Renesas Electronics Corporation SLG46538-A GreenPAK Programmable Mixed-Signal Matrix with Asynchronous State Machine and Dual Supply Preliminary Status Definitions 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. Revision Datasheet Status Product Status Definition 1.<n> Target Development This datasheet contains the d esign specifications for product development. Specifications may change in any manner without not ice. 2.<n> Preliminary Qualification This datasheet contain s the specifications and preliminary characterization data for products in pre-production. Specifications may be changed at any time without notice in order to improve the design. 3.<n> Final Production This datasheet contains the fin al specifications for products in volume production. The specifications may be changed at an y time in order to improve the design, manufacturing and supply. Major specification changes are communicated via Customer Product Notifications. Datasheet changes are communicated via www.renesas.com . 4.<n> Obsolete Archived This datasheet contains the sp ecifications for discontinued products. The information is provided for reference only.

© 2020 Renesas Electronics Corporation. All rights reserved. Notice 1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation or any other use of the circuits, software, and information in the design of your product or system. Renesas Electronics disclaims any and all liability for any losses and damages incurred by you or third parties arising from the use of these circuits, software, or information. 2. Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other claims involving patents, copyrights, or other intellectual property rights of third parties, by or arising from the use of Renesas Electronics products or technical information described in this document, including but not limited to, the product data, drawings, charts, programs, algorithms, and application examples. 3. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 4. You shall be responsible for determining what licenses are required from any third parties, and obtaining such licenses for the lawful import, export, manufacture, sales, utilization, distribution or other disposal of any products incorporating Renesas Electronics products, if required. 5. You shall not alter, modify, copy, or reverse engineer any Renesas Electronics product, whether in whole or in part. Renesas Electronics disclaims any and all liability for any losses or damages incurred by you or third parties arising from such alteration, modification, copying or reverse engineering. 6. Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High Quality”. The intended applications for each Renesas Electronics product depends on the product’s quality grade, as indicated below. “Standard”:Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; industrial robots; etc. “High Quality”:Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale communication equipment; key financial terminal systems; safety control equipment; etc. Unless expressly designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products are not intended or authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems; surgical implantations; etc.), or may cause serious property damage (space system; undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document. 7. No semiconductor product is absolutely secure. Notwithstanding any security measures or features that may be implemented in Renesas Electronics hardware or software products, Renesas Electronics shall have absolutely no liability arising out of any vulnerability or security breach, including but not limited to any unauthorized access to or use of a Renesas Electronics product or a system that uses a Renesas Electronics product. RENESAS ELECTRONICS DOES NOT WARRANT OR GUARANTEE THAT RENESAS ELECTRONICS PRODUCTS, OR ANY SYSTEMS CREATED USING RENESAS ELECTRONICS PRODUCTS WILL BE INVULNERABLE OR FREE FROM CORRUPTION, ATTACK, VIRUSES, INTERFERENCE, HACKING, DATA LOSS OR THEFT, OR OTHER SECURITY INTRUSION (“Vulnerability Issues”). RENESAS ELECTRONICS DISCLAIMS ANY AND ALL RESPONSIBILITY OR LIABILITY ARISING FROM OR RELATED TO ANY VULNERABILITY ISSUES. FURTHERMORE, TO THE EXTENT PERMITTED BY APPLICABLE LAW, RENESAS ELECTRONICS DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THIS DOCUMENT AND ANY RELATED OR ACCOMPANYING SOFTWARE OR HARDWARE, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. 8. When using Renesas Electronics products, refer to the latest product information (data sheets, user’s manuals, application notes, “General Notes for Handling and Using Semiconductor Devices” in the reliability handbook, etc.), and ensure that usage conditions are within the ranges specified by Renesas Electronics with respect to maximum ratings, operating power supply voltage range, heat dissipation characteristics, installation, etc. Renesas Electronics disclaims any and all liability for any malfunctions, failure or accident arising out of the use of Renesas Electronics products outside of such specified ranges.

TOYOSU FORESIA, 3-2-24 Toyosu, Koto-ku, Tokyo 135-0061, Japan www.renesas.com Contact Information For further information on a product, technology, the most up-to-date version of a document, or your nearest sales office, please visit: www.renesas.com/contact/ Trademarks Renesas and the Renesas logo are trademarks of Renesas Electronics Corporation. All trademarks and registered trademarks are the property of their respective owners. © 2020 Renesas Electronics Corporation. All rights reserved. 9. Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products, semiconductor products have specific characteristics, such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Unless designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products are not subject to radiation resistance design. You are responsible for implementing safety measures to guard against the possibility of bodily injury, injury or damage caused by fire, and/or danger to the public in the event of a failure or malfunction of Renesas Electronics products, such as safety design for hardware and software, including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult and impractical, you are responsible for evaluating the safety of the final products or systems manufactured by you. 10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. You are responsible for carefully and sufficiently investigating applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive, and using Renesas Electronics products in compliance with all these applicable laws and regulations. Renesas Electronics disclaims any and all liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 11. Renesas Electronics products and technologies shall not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. You shall comply with any applicable export control laws and regulations promulgated and administered by the governments of any countries asserting jurisdiction over the parties or transactions. 12. It is the responsibility of the buyer or distributor of Renesas Electronics products, or any other party who distributes, disposes of, or otherwise sells or transfers the product to a third party, to notify such third party in advance of the contents and conditions set forth in this document. 13. This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics. 14. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products. (Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its directly or indirectly controlled subsidiaries. (Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics. (Rev. 4.0-2 April 2020)