Si102x/3x
Ultra Low Power 128K, LCD MCU Family
Ultra Low Power at 3.6V
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
110 µA/MHz IBAT; DC-DC enabled
110 nA sleep current with data retention; POR monitor enabled
400 nA sleep current with smaRTClock (internal LFO)
700 nA sleep current with smaRTClock (external XTAL)
2 µs wake-up from any sleep mode
Up to 75 ksps 12-bit mode or 300 ksps 10-bit mode
External pin or internal VREF (no external capacitor required)
On-chip PGA allows measuring voltages up to twice the reference
voltage
Autonomous burst mode with 16-bit automatic averaging accumu-
lator
Integrated temperature sensor
Programmable hysteresis and response time
Configurable as interrupt or reset source
Up to ±500 µA; source and sink capability
Enhanced resolution via PWM interpolation
Supports up to 128 segments (32x4)
Integrated charge pump for contrast control
DC-DC buck converter allows dynamic voltage scaling for
maximum efficiency (250 mW output)
Sleep-mode pulse accumulator with programmable switch
de-bounce and pull-up control interfaces directly to metering sen-
sor
Dedicated Packet Processing Engine (DPPE) includes hardware
AES, DMA, CRC, and encoding blocks for acceleration of wireless
protocols
Manchester and 3 out of 6 encoder hardware for power efficient
implementation of the wireless M-bus specification
®
Frequency range = 240–960 MHz
Sensitivity = –121 dBm
FSK, GFSK, and OOK modulation
Max output power = +20 dBm or +13 dBm
12-Bit; 16 Ch. Analog-to-Digital Converter
RF power consumption
18.5 mA receive
18 mA @ +1 dBm transmit
30 mA @ +13 dBm transmit
85 mA @ +20 dBm transmit
Data rate = 0.123 to 256 kbps
Auto-frequency calibration (AFC)
Antenna diversity and transmit/receive switch control
Programmable packet handler
TX and RX 64-byte FIFOs
Frequency hopping capability
On-chip crystal tuning
Pipelined instruction architecture; executes 70% of instructions in 1
or 2 system clocks
Up to 128 kB Flash; In-system programmable; Full read/write/erase
functionality over the entire supply range
Up to 8 kB internal data RAM
53 port I/O; All 5 V tolerant with high sink
current and programmable drive strength
Hardware SMBus™ (I2C™ compatible), 2 x SPI™, and UART
serial ports available concurrently
Four general-purpose 16-bit counter/timers
Programmable 16-bit counter/timer array with six capture/compare
modules and watchdog timer
Precision internal oscillators: 24.5 MHz with ±2% accuracy sup-
ports UART operation; spread-spectrum mode for reduced EMI
Low power internal oscillator: 20 MHz
External oscillator: Crystal, RC, C, CMOS clock
smaRTClock oscillator: 32.768 kHz crystal or 16.4 kHz internal
LFO with three independent alarms
On-chip debug circuitry facilitates full-speed, non-intrusive, in-sys-
tem debug (no emulator required)
Provides 4 breakpoints, single stepping
–85 pin LGA (6 x 8 mm)
High-Speed 8051 µC Core
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Memory
Two Low Current Comparators
Internal 6-Bit Current Reference
Integrated LCD Controller (Si102x Only)
Metering-Specific Peripherals
Digital Peripherals
Clock Sources
On-Chip Debug
EZRadioPRO Transceiver
Packages
Power On
Reset/PMU
Wake
Reset
CIP-51 8051
Controller Core
128/64/32/16 kByte
ISP Flash Program
Memory
256 Byte SRAM
8192/4096 Byte XRAM
DMA
Analog
Power
Port I/O Configuration
Digital Peripherals
UART
Timers
0/1/2/3
PCA/
WDT
SMBus
SPI 0
Crossbar Control
LCD (4x32)
Port 0-1
Drivers
Port 2
Drivers
16
P0.0...P1.7
4
P2.4...P2.7
32
C2CK/RST
Debug /
Programming
Hardware
C2D
Priority
Crossbar
Decoder
Port 3-6
Drivers
Port 7
Driver
P3.0...P6.7
P7.0/C2D
VBAT
VDC
VBAT
VDD
CRC
Engine
AES
Engine
Encoder
RF XCVR
(240-960 MHz,
+20/+13 dBm)
VCO
VREG
Digital
Power
PA
TX
AGC
VBATDC
IND
GNDDC
DC/DC Buck
Converter
Precision
24.5 MHz
Oscillator
LCD Charge
Pump
XTAL1
XTAL2
Low Power
20 MHz
Oscillator
External
Oscillator
Circuit
Enhanced
smaRTClock
Oscillator
SYSCLK
SFR
Bus
EMIF
Pulse Counter
EZRadioPro SPI 1
LNA
Mixer
PGA
RXp
RXn
CAP
Analog Peripherals
Internal
VREF
External
VREF
A
M
U
X
VDD
VREF
Temp
Sensor
GND
CP0, CP0A
CP1, CP1A
+
-
ADC
Digital
Modem
Delta
Sigma
Modulator
Digital
Logic
GND
XTAL3
XTAL4
12-bit
75ksps
ADC
3
SDN
nIRQ
GPIOx
XOUT
XIN
System Clock
Configuration
30 MHz
+
-
Comparators
Rev. 0.3 11/11
Copyright © 2011 by Silicon Laboratories
Si102x/3x
This information applies to a product under development. Its characteristics and specifications are subject to change without notice.
Si102x/3x
Table of Contents
1. System Overview ..................................................................................................... 26
1.1. Typical Connection Diagram ............................................................................. 29
1.2. CIP-51™ Microcontroller Core .......................................................................... 30
1.2.1. Fully 8051 Compatible .............................................................................. 30
1.2.2. Improved Throughput................................................................................ 30
1.2.3. Additional Features ................................................................................... 30
1.3. Port Input/Output ............................................................................................... 31
1.4. Serial Ports ........................................................................................................ 32
1.5. Programmable Counter Array............................................................................ 32
1.6. SAR ADC with 16-bit Auto-Averaging Accumulator and
Autonomous Low Power Burst Mode................................................................ 33
1.7. Programmable Current Reference (IREF0)....................................................... 34
1.8. Comparators...................................................................................................... 34
2. Ordering Information ............................................................................................... 36
3. Pinout and Package Definitions ............................................................................. 37
3.1. LGA-85 Package Specifications ........................................................................ 46
3.1.1. Package Drawing ...................................................................................... 46
3.1.2. Land Pattern.............................................................................................. 48
3.1.3. Soldering Guidelines ................................................................................. 49
4. Electrical Characteristics ........................................................................................ 50
4.1. Absolute Maximum Specifications..................................................................... 50
4.2. MCU Electrical Characteristics .......................................................................... 51
4.3. EZRadioPRO
®
Peripheral Electrical Characteristics......................................... 70
4.4. Definition of Test Conditions for the EZRadioPRO Peripheral .......................... 77
5. SAR ADC with 16-bit Auto-Averaging Accumulator and
Autonomous Low Power Burst Mode ................................................................... 78
5.1. Output Code Formatting .................................................................................... 78
5.2. Modes of Operation ........................................................................................... 80
5.2.1. Starting a Conversion................................................................................ 80
5.2.2. Tracking Modes......................................................................................... 80
5.2.3. Burst Mode................................................................................................ 82
5.2.4. Settling Time Requirements...................................................................... 83
5.2.5. Gain Setting .............................................................................................. 83
5.3. 8-Bit Mode ......................................................................................................... 84
5.4. 12-Bit Mode ....................................................................................................... 84
5.5. Low Power Mode............................................................................................... 85
5.6. Programmable Window Detector....................................................................... 91
5.6.1. Window Detector In Single-Ended Mode .................................................. 93
5.6.2. ADC0 Specifications ................................................................................. 94
5.7. ADC0 Analog Multiplexer .................................................................................. 95
5.8. Temperature Sensor.......................................................................................... 97
5.8.1. Calibration ................................................................................................. 97
5.9. Voltage and Ground Reference Options ......................................................... 100
Rev. 0.3
3
Si102x/3x
5.10. External Voltage Reference........................................................................... 101
5.11. Internal Voltage Reference............................................................................ 101
5.12. Analog Ground Reference............................................................................. 101
5.13. Temperature Sensor Enable ......................................................................... 101
5.14. Voltage Reference Electrical Specifications .................................................. 102
6. Comparators........................................................................................................... 103
6.1. Comparator Inputs........................................................................................... 103
6.2. Comparator Outputs ........................................................................................ 104
6.3. Comparator Response Time ........................................................................... 105
6.4. Comparator Hysterisis ..................................................................................... 105
6.5. Comparator Register Descriptions .................................................................. 106
7. Programmable Current Reference (IREF0).......................................................... 110
7.1. PWM Enhanced Mode..................................................................................... 110
7.2. IREF0 Specifications ....................................................................................... 111
7.3. Comparator0 and Comparator1 Analog Multiplexers ...................................... 112
8. CIP-51 Microcontroller........................................................................................... 115
8.1. Instruction Set.................................................................................................. 116
8.1.1. Instruction and CPU Timing .................................................................... 116
8.2. CIP-51 Register Descriptions .......................................................................... 121
9. Memory Organization ............................................................................................ 124
9.1. Program Memory............................................................................................. 124
9.1.1. MOVX Instruction and Program Memory ................................................ 127
9.2. Data Memory ................................................................................................... 127
9.2.1. Internal RAM ........................................................................................... 128
9.2.2. External RAM .......................................................................................... 128
10. External Data Memory Interface and On-Chip XRAM ....................................... 130
10.1. Accessing XRAM........................................................................................... 130
10.1.1. 16-Bit MOVX Example .......................................................................... 130
10.1.2. 8-Bit MOVX Example ............................................................................ 130
10.2. Configuring the External Memory Interface ................................................... 131
10.3. Port Configuration.......................................................................................... 131
10.4. Multiplexed and Non-Multiplexed Selection................................................... 135
10.4.1. Multiplexed Configuration...................................................................... 135
10.4.2. Non-Multiplexed Configuration.............................................................. 135
10.5. Memory Mode Selection................................................................................ 136
10.5.1. Internal XRAM Only .............................................................................. 137
10.5.2. Split Mode without Bank Select............................................................. 137
10.5.3. Split Mode with Bank Select.................................................................. 137
10.5.4. External Only......................................................................................... 137
10.6. Timing .......................................................................................................... 138
10.6.1. Non-Multiplexed Mode .......................................................................... 140
10.6.2. Multiplexed Mode .................................................................................. 143
11. Direct Memory Access (DMA0)........................................................................... 147
11.1. DMA0 Architecture ........................................................................................ 148
11.2. DMA0 Arbitration ........................................................................................... 149
4
Rev. 0.3
Si102x/3x
11.2.1. DMA0 Memory Access Arbitration ........................................................ 149
11.2.2. DMA0 Channel Arbitration .................................................................... 149
11.3. DMA0 Operation in Low Power Modes ......................................................... 149
11.4. Transfer Configuration................................................................................... 150
12. Cyclic Redundancy Check Unit (CRC0)............................................................. 161
12.1. 16-bit CRC Algorithm..................................................................................... 161
12.3. Preparing for a CRC Calculation ................................................................... 164
12.4. Performing a CRC Calculation ...................................................................... 164
12.5. Accessing the CRC0 Result .......................................................................... 164
12.6. CRC0 Bit Reverse Feature............................................................................ 168
13. DMA-Enabled Cyclic Redundancy Check Module (CRC1)............................... 169
13.1. Polynomial Specification................................................................................ 169
13.2. Endianness.................................................................................................... 170
13.3. CRC Seed Value ........................................................................................... 171
13.4. Inverting the Final Value................................................................................ 171
13.5. Flipping the Final Value ................................................................................. 171
13.6. Using CRC1 with SFR Access ...................................................................... 172
13.7. Using the CRC1 module with the DMA ......................................................... 172
14. Advanced Encryption Standard (AES) Peripheral ............................................ 176
14.1. Hardware Description .................................................................................... 177
14.1.1. AES Encryption/Decryption Core .......................................................... 178
14.1.2. Data SFRs............................................................................................. 178
14.1.3. Configuration sfrs .................................................................................. 179
14.1.4. Input Multiplexer.................................................................................... 179
14.1.5. Output Multiplexer ................................................................................. 179
14.1.6. Internal State Machine .......................................................................... 179
14.2. Key Inversion................................................................................................. 180
14.2.1. Key Inversion using DMA...................................................................... 181
14.2.2. Key Inversion using SFRs..................................................................... 182
14.2.3. Extended Key Output Byte Order.......................................................... 183
14.2.4. Using the DMA to unwrap the extended Key ........................................ 184
14.3. AES Block Cipher .......................................................................................... 185
14.4. AES Block Cipher Data Flow......................................................................... 186
14.4.1. AES Block Cipher Encryption using DMA ............................................. 187
14.4.2. AES Block Cipher Encryption using SFRs ............................................ 188
14.5. AES Block Cipher Decryption........................................................................ 189
14.5.1. AES Block Cipher Decryption using DMA............................................. 189
14.5.2. AES Block Cipher Decryption using SFRs............................................ 190
14.6. Block Cipher Modes ...................................................................................... 191
14.6.1. Cipher Block Chaining Mode................................................................. 191
14.6.2. CBC Encryption Initialization Vector Location....................................... 193
14.6.3. CBC Encryption using DMA .................................................................. 193
14.6.4. CBC Decryption .................................................................................... 196
14.6.5. Counter Mode ....................................................................................... 199
14.6.6. CTR Encryption using DMA .................................................................. 201
Rev. 0.3
5