EasyManua.ls Logo

Silicon Laboratories EFR32xG21 Wireless Gecko - User Manual

Silicon Laboratories EFR32xG21 Wireless Gecko
866 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
EFR32xG21 Wireless Gecko
Reference Manual
The EFR32xG21 Wireless Gecko SoC is the first device in the Series 2 Wireless Gecko
Portfolio, and includes the EFR32MG21 Mighty Gecko and EFR32BG21 Blue Gecko.
The EFR32xG21 improves processing capability with a Cortex M33 core and has best in
class link budget while providing for lower active current for both the MCU and radio. The
dedicated security core (Secure Element) provides improved cryptography and hardware
security that is isolated from the main application CPU. This high performance and se-
cure multi-protocol device supports Zigbee, Thread, and Bluetooth 5.0.
The single-die solution provides industry-leading energy efficiency, processing capability,
and RF performance in a small form factor for IoT connected applications.
KEY FEATURES
32-bit ARM® Cortex M33 core with 80
MHz maximum operating frequency
Scalable Memory and Radio configuration
options available in QFN packaging
Peripheral Reflex System enabling
autonomous interaction of MCU
peripherals
Autonomous Hardware Crypto Accelerator
and True Random Number Generator
Multiple Integrated 2.4 GHz PAs with up to
20 dBm transmit power
Security
Secure Debug
Authentication
Timers and Triggers
32-bit bus
Peripheral Reflex System
Serial
Interfaces
I/O Ports Analog I/F
Lowest power mode with peripheral operational:
USART
I
2
C
External
Interrupts
General
Purpose I/O
Pin Reset
Pin Wakeup
iADC
Analog
Comparator
EM4—Shutoff
Energy
Management
Brown-Out
Detector
Voltage
Regulator
Power-On Reset
Clock Management
HF Crystal
Oscillator
LF Crystal
Oscillator
LF
RC Oscillator
HF
RC Oscillator
EM23 HF RC
Oscillator
Crypto Acceleration
Secure Element
Ultra LF RC
Oscillator
Core / Memory
ARM Cortex
TM
M33 processor
with DSP extensions,
FPU and Trust Zone
ETM Debug Interface RAM Memory
LDMA
Controller
Flash Program
Memory
Real Time
Capture Counter
Timer/Counter
Low Energy Timer
Watchdog Timer
Protocol Timer
EM3—StopEM2—Deep SleepEM1—SleepEM0—Active
True Random
Number Generator
Fast Startup
RC Oscillator
Back-Up Real
Time Counter
Radio Transceiver
DEMOD
AGC
IFADC
CRC
BUFC
MOD
FRC
RAC
Frequency
Synth
PGA
RF Frontend
I
Q
PA
LNA
PA
silabs.com | Building a more connected world. Rev. 0.4

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Silicon Laboratories EFR32xG21 Wireless Gecko and is the answer not in the manual?

Summary

System Overview

MCU Features overview

Lists key features of the ARM Cortex-M33 CPU platform, memory, I/O pins, and communication interfaces.

Data Encryption and Authentication

Covers hardware support for AES encryption, decryption, and authentication modes for security operations.

Timers

Lists the multiple timers included in EFR32xG21, such as RTCC, BURTC, TIMER, Systick, WDOG, LETIMER, PROTIMER.

System Processor

Features

Lists key features of the ARM Cortex-M33, including Harvard architecture, pipeline, instruction set, MPU, and power modes.

Interrupt Operation

Explains how interrupt request (IRQ) lines connect to the Cortex-M33, including interrupt flags and enable bits.

TrustZone

Describes ARM TrustZone for restricting access to peripherals and memory regions based on CPU security attribute.

Memory and Bus System

Bus Matrix

Explains the multilayer AMBA AHB bus matrix connecting master interfaces to AHB slaves, allowing simultaneous access.

Flash

Describes Flash memory, its capacity, page size, endurance, data retention, and programming capabilities.

SRAM

Details SRAM memory for storing application data, executing instructions, and DMA transfers.

Peripheral Bit Set and Clear

Explains the support for bit set, bit clear, and bit toggle access to most peripheral registers for modifying bit fields.

Peripheral Access Performance

Details peripheral register access performance based on frequency, access type, and clock scaling.

Radio Transceiver

Introduction

Introduces the Radio Transceiver for tailoring radio operation, with access to transmit/receive data buffers and frame support.

MSC - Memory System Controller

Ram Configuration

Explains how the SYSCFG module controls RAM blocks, including enabling EM2/EM3 data retention, ECC, and cache.

Erase and Write Operations

Details flash write and erase operations, including page erase, mass erase, and programming operations.

ICACHE - Instruction Cache

Details how the instruction cache improves speed and power consumption by providing fast access to recently executed instructions.

SYSCFG - System Configuration

Explains the SYSCFG block for configuring SRAM and contains interrupt flags for software use.

ECC

Describes how DMEM0, FRCRAM, and SEQRAM support one bit correction and two bit detection ECC.

RAM Wait-states

Explains how to enable RAM wait states to ensure adequate response time when the Cortex-M33 runs faster than RAM.

DBG - Debug Interface

CMU - Clock Management Unit

System Clocks

Details the SYSCLK, HCLK, PCLK, LSPCLK, and HCLKRADIO clocks, and their prescaler settings.

Protection

Details how to lock control and command registers to prevent unintended software writes to critical clock settings.

Oscillators

HFXO - High Frequency Crystal Oscillator

Details the High Frequency Crystal Oscillator (HFXO) features, including optimization for 38.4 MHz crystals and start-up parameters.

HFRCO - High-Frequency RC Oscillator

Describes the HFRCO as a calibrated internal High Frequency RC oscillator with features like low start-up time.

DPLL - Digital Phased Locked Loop

Explains the DPLL which uses a reference clock to generate a desired clock frequency with features like fast lock time.

LFXO - Low-Frequency Crystal Oscillator

Details the Low Frequency Crystal Oscillator (LFXO) using an external 32.768 kHz crystal for accurate low-frequency clock.

LFRCO - Low-Frequency RC Oscillator

Describes the LFRCO as an integrated low-frequency (32.768 kHz) RC oscillator for timing reference in low energy modes.

SMU - Security Management Unit

Functional Description

Details bus level security, including Cortex-M33, BMPU, PPU, and SMU roles in configuring security.

Privileged Access Control

Explains how Cortex-M33 and other masters are tested for privilege level by PPU.

Secure Access Control

Describes how bus accesses are tested for security status by BMPUs and PPUs.

ARM Trust Zone

Explains ARM TrustZone for controlling accessible addresses by CPU, with security states and privilege levels.

Configuring Masters

Details how SMU configures secure and privileged attributes of all bus masters except the CPU.

Configuring Peripherals

Explains how SMU configures secure and privileged state of peripherals, and address validation.

Configuring Memory

Describes SMU ability to configure security attribute of memory, with 8 configurable regions.

Cortex-M33 Integration

Covers Cortex-M33 additional security features for controlling secure and privileged access.

SMU Lock

Explains how SMU registers can be locked to prevent unintended modifications.

SE - Secure Element Subsystem

Security Features

Details security features such as AES encryption/decryption, ECC, SHA, and True Random Number Generation.

SE Mailbox

Explains communication with the Secure Element Subsystem through the SE Mailbox using FIFO.

EMU - Energy Management Unit

Energy Modes

Details the five energy modes (EM0 to EM4) and possible transitions between them.

Entering Low Energy Modes

Describes requirements for entering EM1, EM2, EM3, and EM4 energy modes.

Exiting a Low Energy Mode

Explains how systems in EM2 and EM3 can be woken up to EM0 through interrupts or resets.

Brown Out Detector (BOD)

Details Brown Out Detectors ensuring minimum supply voltage, and their raw output visibility.

Reset Management Unit

Explains EMU RMU's role in ensuring correct reset operation and connecting reset sources.

PRS - Peripheral Reflex System

Configurable Logic

Explains the configurable logic feature enabling PRS channel to perform logic operations on producer signals.

GPCRC - General Purpose Cyclic Redundancy Check

Features

Lists GPCRC features including programmable 16-bit polynomial, fixed 32-bit polynomial, and byte-level bit reversal.

RTCC - Real Time Clock with Capture

RTCC Counter

Details the RTCC counter structure with main counter (RTCC_CNT) and pre-counter (RTCC_PRECNT).

Capture;Compare Channels

Explains the three capture/compare channels available in RTCC for input capture or output compare.

BURTC - Back-Up Real Time Counter

Configuration

Details the programming sequence for configuring and using the BURTC properly.

Counter

Details the BURTC counters: 32-bit main counter (BURTC_CNT) and 15-bit pre-counter (BURTC_PRECNT).

Register Lock

Explains how to prevent accidental writes to BURTC registers using the BURTC_LOCK register.

LETIMER - Low Energy Timer

Buffered Mode

Details the Buffered repeat mode allowing buffered timer operation using TOPBUFF and REP1 registers.

Programmers Model

Provides a guide for writing LETIMER configuration, enabling clock, writing values, and configuring PRS mode.

TIMER - Timer;Counter

Counter Modes

Details the counter modes: Up-count, Down-count, Up/Down-count, and Quadrature Decoder.

Compare

Details the compare functionality where the CCx_OC register matches the counter value.

Up-count (Single-slope) PWM

Details single slope PWM output generation in up-count mode, including period, resolution, and duty cycle equations.

Timer Configuration Lock

Details the configuration lock available to prevent software errors from making changes to the timer configuration.

Dead-Time Insertion Unit

Describes the Dead-Time Insertion unit suitable for motor control applications, enabling complementary PWM outputs.

USART - Universal Synchronous Asynchronous Receiver;Transmitter

Modes of Operation

Explains USART operation in asynchronous and synchronous modes, and lists supported protocols.

Asynchronous Operation

Details asynchronous operation, including frame format, data bits, stop bits, and parity bit calculation.

Transmit Buffer Operation

Details the transmit buffer as a multiple entry FIFO buffer, and its operation with TXDATA and TXDOUBLE registers.

Data Reception

Describes data reception enabled by RXEN, and how the receiver samples input for start baud detection.

I2 C - Inter-Integrated Circuit Interface

I2 C-Bus Overview

Explains the I2C-bus using SDA and SCL lines for communication, including collision detection and arbitration.

Master Operation

Describes bus transaction initiation by transmitting a START condition (S) on the bus.

ACMP - Analog Comparator

Configuration and Control

Explains ACMP configuration and control through ACMP_CFG, ACMP_CTRL, and ACMP_INPUTCTRL registers.

IADC - Incremental Analog to Digital Converter

Register Access

Explains IADC register access, noting that configuration registers can only be written while the module is disabled.

Scheduling and Triggers

Describes triggering options for Single and Scan queues, including IMMEDIATE, TIMER, PRS, and trigger actions.

Gain and Offset Correction

Details IADC gain and offset correction capabilities, using SCALEx registers and production calibration values.

GPIO - General Purpose Input;Output

Introduction

Introduces GPIO pins organized into ports for pin configuration, manipulation, and routing for peripheral connections.

Features

Lists GPIO features including individual pin configuration, drive modes, interrupts, and peripheral resource routing.

Functional Description

Provides an overview of the GPIO module, showing pin configuration and alternate functions.

Pin Configuration

Details pin configuration options including input/output modes, pull-up/down, slew rate, and filter settings.

LDMA - Linked DMA

Introduction

Introduces the Linked Direct Memory Access (LDMA) controller for memory transfer operations independent of the CPU.

Channel Descriptor

Explains the channel descriptor structure containing control word, source, destination, and link addresses.

Managing Transfer Errors

Details how LDMA transfer errors are managed using interrupts and clearing error flags.

Arbitration

Explains arbitration determining which channel is serviced at any point in time.

Arbitration Priority

Describes arbitration priority modes: fixed priority and round robin priority.

WDOG - Watch Dog Timer

Introduction

Introduces the watchdog timer's purpose: to generate a reset in case of system failure.

Features

Lists WDOG features including clock sources, timeout period configuration, and interrupt options.

Functional Description

Explains how the watchdog is enabled, configured, and reset.

Silicon Laboratories EFR32xG21 Wireless Gecko Specifications

General IconGeneral
BrandSilicon Laboratories
ModelEFR32xG21 Wireless Gecko
CategoryComputer Hardware
LanguageEnglish

Related product manuals