Docsity

efr32 datasheet complete new, Esquemas de Eletrônica Básica e Design de Circuito

Toggle sidebar
bg1
EFR32MG13 Mighty Gecko Multi-Protocol
Wireless SoC Family Data Sheet
The Mighty Gecko multi-protocol family of SoCs is part of the
Wireless Gecko portfolio. Mighty Gecko SoCs are ideal for ena-
bling energy-friendly multi-protocol, multi-band networking for IoT
devices.
The single-die solution provides industry-leading energy efficiency, ultra-fast wakeup
times, a scalable power amplifier, and no-compromise MCU features.
Mighty Gecko applications include:
KEY FEATURES
• 32-bit ARM® Cortex®-M4 core with 40
MHz maximum operating frequency
• 512 kB of flash and 64 kB of RAM
• Pin-compatible across EFR32MG families
(exceptions apply for 5V-tolerant pins)
• 12-channel Peripheral Reflex System
enabling autonomous interaction of MCU
peripherals
• Autonomous Hardware Crypto Accelerator
and True Random Number Generator
• Precision Low Frequency Oscillator meets
BLE Sleep Clock accuracy requirements
• Integrated PA with up to 19 dBm (2.4
GHz) or 20 dBm (Sub-GHz) tx power
• Integrated balun for 2.4 GHz
• Robust peripheral set and up to 31 GPIO
• IoT Multi-Protocol Devices
• Connected Home
• Lighting
• Health and Wellness
• Metering
• Home and Building Automation and Security
Timers and Triggers
32-bit bus
Peripheral Reflex System
Serial
Interfaces
I/O Ports Analog I/F
Lowest power mode with peripheral operational:
USART
Low Energy
UARTTM
I2C
External
Interrupts
General
Purpose I/O
Pin Reset
Pin Wakeup
ADC
VDAC
Analog
Comparator
EM3—StopEM2—Deep SleepEM1—Sleep EM4—Hibernate EM4—ShutoffEM0—Active
Energy Management
Brown-Out
Detector
DC-DC
Converter
Voltage
Regulator Voltage Monitor
Power-On Reset
Other
Capacitive
Touch
Op-Amp
IDAC
Radio Transceiver
DEMOD
AGC
IFADC
CRC
BUFC
RFSENSE
MOD
FRC
RAC
Frequency
Synthesizer
PGA
PA
I
Q
RF Frontend
LNA
RFSENSE
PA
I
Q
RF Frontend
LNA
To 2.4 GHz receive
I/Q mixers and PA
To Sub GHz
receive I/Q
mixers and PA
To Sub GHz
and 2.4 GHz PA
Sub GHz
2.4 GHz
BALUN
CRYPTO
CRC
True Random
Number Generator
SMU
Core / Memory
ARM CortexTM M4 processor
with DSP extensions, FPU and MPU
ETM Debug Interface RAM Memory LDMA
Controller
Flash Program
Memory
Real Time
Counter and
Calendar
Cryotimer
Timer/Counter
Low Energy
Timer
Pulse Counter Watchdog Timer
Protocol Timer
Low Energy
Sensor Interface
Clock Management
H-F Crystal
Oscillator
L-F Crystal
Oscillator
Precision L-F
RC Oscillator
H-F
RC Oscillator
Auxiliary H-F RC
Oscillator
Ultra L-F RC
Oscillator
L-F RC
Oscillator
silabs.com | Building a more connected world. Rev. 1.5
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Pré-visualização parcial do texto

Baixe efr32 datasheet complete new e outras Esquemas em PDF para Eletrônica Básica e Design de Circuito, somente na Docsity!

EFR32MG13 Mighty Gecko Multi-Protocol

Wireless SoC Family Data Sheet

The Mighty Gecko multi-protocol family of SoCs is part of the

Wireless Gecko portfolio. Mighty Gecko SoCs are ideal for ena-

bling energy-friendly multi-protocol, multi-band networking for IoT

devices.

The single-die solution provides industry-leading energy efficiency, ultra-fast wakeup times, a scalable power amplifier, and no-compromise MCU features. Mighty Gecko applications include:

KEY FEATURES

  • 32-bit ARM® Cortex®-M4 core with 40 MHz maximum operating frequency
  • 512 kB of flash and 64 kB of RAM
  • Pin-compatible across EFR32MG families (exceptions apply for 5V-tolerant pins)
  • 12-channel Peripheral Reflex System enabling autonomous interaction of MCU peripherals
  • Autonomous Hardware Crypto Accelerator and True Random Number Generator
  • Precision Low Frequency Oscillator meets BLE Sleep Clock accuracy requirements
  • Integrated PA with up to 19 dBm (2. GHz) or 20 dBm (Sub-GHz) tx power
  • Integrated balun for 2.4 GHz
  • Robust peripheral set and up to 31 GPIO
  • IoT Multi-Protocol Devices
  • Connected Home
  • Lighting
  • Health and Wellness
  • Metering
  • Home and Building Automation and Security

Timers and Triggers

32-bit bus Peripheral Reflex System Interfaces^ Serial I/O Ports^ Analog I/F

Lowest power mode with peripheral operational:

USART Low EnergyUARTTM

I^2 C

InterruptsExternal Purpose I/OGeneral Pin Reset Pin Wakeup

ADC

VDAC

ComparatorAnalog

EM0—Active EM1—Sleep EM2—Deep Sleep EM3—Stop EM4—Hibernate EM4—Shutoff

Energy Management

Brown-OutDetector

Converter^ DC-DC

Regulator^ Voltage Voltage Monitor Power-On Reset

Other

CapacitiveTouch

Op-Amp

IDAC

Radio Transceiver DEMOD

AGC

IFADC

CRC

BUFC

RFSENSE

MOD

FRC

Frequency RAC Synthesizer

PA PGA

I

Q

LNA RF Frontend

RFSENSE

PA

I

Q

LNA RF Frontend To 2.4 GHz receiveI/Q mixers and PA

To Sub GHzreceive I/Q mixers and PA

To Sub GHzand 2.4 GHz PA

Sub GHz

2.4 GHz BALUN

CRYPTO CRC Number GeneratorTrue Random SMU

Core / Memory

with DSP extensions, FPU and MPU^ ARM CortexTM^ M4 processor

ETM Debug Interface RAM Memory (^) ControllerLDMA

Flash ProgramMemory

Counter and^ Real Time Calendar^ Cryotimer

Timer/Counter Low EnergyTimer

Pulse Counter Watchdog Timer

Protocol Timer

Sensor InterfaceLow Energy

Clock Management H-F CrystalOscillator

L-F CrystalOscillator

Precision L-FRC Oscillator

RC Oscillator^ H-F Auxiliary H-F RCOscillator

Ultra L-F RCOscillator

OscillatorL-F RC

silabs.com | Building a more connected world. Rev. 1.

1. Feature List

The EFR32MG13 highlighted features are listed below.

  • Low Power Wireless System-on-Chip
    • (^) High Performance 32-bit 40 MHz ARM Cortex®-M4 with DSP instruction and floating-point unit for efficient signal processing
    • Embedded Trace Macrocell (ETM) for advanced debugging
    • 512 kB flash program memory
    • 64 kB RAM data memory
    • 2.4 GHz and Sub-GHz radio operation
    • Transmit power:
      • 2.4 GHz radio: Up to 19 dBm
      • Sub-GHz radio: Up to 20 dBm
  • Low Energy Consumption
    • 10.3 mA RX current at 250 kbps, DSSS-OQPSK, 2.4 GHz
    • 9.5 mA RX current at 1 Mbps, GFSK, 2.4 GHz
    • 8.4 mA RX current at 38.4 kbps, GFSK, 169 MHz
    • 8.5 mA TX current at 0 dBm output power at 2.4 GHz
    • 35.3 mA TX current at 14 dBm output power at 868 MHz
    • 69 μA/MHz in Active Mode (EM0)
    • 1.3 μA EM2 DeepSleep current (16 kB RAM retention and RTCC running from LFRCO)
  • High Receiver Performance
    • -103.3 dBm sensitivity at 125 kbit/s GFSK, 2.4 GHz
    • -94.8 dBm sensitivity at 1 Mbit/s GFSK, 2.4 GHz
    • -91.5 dBm sensitivity at 2 Mbit/s GFSK, 2.4 GHz
    • -102.7 dBm sensitivity at 250 kbps DSSS-OQPSK, 2.4 GHz
    • -126.2 dBm sensitivity at 600 bps, GFSK, 915 MHz
    • -120.6 dBm sensitivity at 2.4 kbps, GFSK, 868 MHz
    • -107.4 dBm sensitivity at 4.8 kbps, OOK, 433 MHz
    • -112.2 dBm sensitivity at 38.4 kbps, GFSK, 169 MHz
  • Supported Modulation Formats
    • 2/4 (G)FSK with fully configurable shaping
    • BPSK / DBPSK TX
    • OOK / ASK
    • Shaped OQPSK / (G)MSK
    • Configurable DSSS and FEC
  • Supported Protocols
    • Zigbee
    • Thread
    • (^) Bluetooth®^ Low Energy (Bluetooth 5)
    • Proprietary Protocols
    • Wireless M-Bus
    • Selected IEEE 802.15.4g SUN-FSK PHYs
    • Low Power Wide Area Networks
  • Suitable for Systems Targeting Compliance With:
    • FCC Part 90.210 Mask D, FCC part 15.247, 15.231, 15.
    • ETSI Category I Operation, EN 300 220, EN 300 328
    • ARIB T-108, T-
    • China regulatory
      • Wide selection of MCU peripherals
        • • 12-bit 1 Msps SAR Analog to Digital Converter (ADC)
          • 2 × Analog Comparator (ACMP)
          • 2 × Digital to Analog Converter (VDAC)
          • 3 × Operational Amplifier (Opamp)
          • Digital to Analog Current Converter (IDAC)
          • Low-Energy Sensor Interface (LESENSE)
          • Multi-channel Capacitive Sense Interface (CSEN)
          • Up to 31 pins connected to analog channels (APORT) shared between analog peripherals
          • Up to 31 General Purpose I/O pins with output state re- tention and asynchronous interrupts
          • 8 Channel DMA Controller
          • 12 Channel Peripheral Reflex System (PRS)
          • 2 × 16-bit Timer/Counter
            • 3 or 4 Compare/Capture/PWM channels
          • 1 × 32-bit Timer/Counter
            • 3 Compare/Capture/PWM channels
          • Precision Low Frequency RC Oscillator (PLFRCO)
          • 32-bit Real Time Counter and Calendar
          • 16-bit Low Energy Timer for waveform generation
          • 32-bit Ultra Low Energy Timer/Counter for periodic wake-up from any Energy Mode
          • 16-bit Pulse Counter with asynchronous operation
          • 2 × Watchdog Timer with dedicated RC oscillator
          • 3 × Universal Synchronous/Asynchronous Receiver/ Transmitter (UART/SPI/SmartCard (ISO 7816)/IrDA/I^2 S)
          • (^) Low Energy UART (LEUART™)
          • (^) 2 × I^2 C interface with SMBus support and address rec- ognition in EM3 Stop
      • Wide Operating Range
        • 1.8 V to 3.8 V single power supply
        • Integrated DC-DC, down to 1.8 V output with up to 200 mA load current for system
        • Standard (-40 °C to 85 °C) and Extended (-40 °C to 125 °C) temperature grades available
      • Support for Internet Security
        • General Purpose CRC
        • True Random Number Generator
        • 2 × Hardware Cryptographic Acceleration for AES 128/256, SHA-1, SHA-2 (SHA-224 and SHA-256) and ECC
      • QFN32 5x5 mm Package
      • QFN48 7x7 mm Package

Feature List

EFR32 1 P F G – A R

Tape and Reel (Optional) Revision Pin Count Package – M (QFN), L (BGA)

Flash Memory Size in kB Memory Type (Flash) Feature Set Code – r2r1r r2: Reserved r1: RF Type – 3 (TRX), 2 (RX), 1 (TX) r0: Frequency Band – 1 (Sub-GHz), 2 (2.4 GHz), 3 (Dual-Band)

X G 132 512 M 48

Temperature Grade – G (-40 to +85 °C), -I (-40 to +125 °C)

Performance Grade – P (Performance), B (Basic), V (Value)

Series

Family – M (Mighty), B (Blue), F (Flex) Wireless Gecko 32-bit

Gecko

3

Device Configuration

Figure 2.1. Ordering Code Key

Ordering Information

Table of Contents

    1. Feature List
    1. Ordering Information
    1. System Overview
    • 3.1 Introduction
    • 3.2 Radio
      • 3.2.1 Antenna Interface
      • 3.2.2 Fractional-N Frequency Synthesizer
      • 3.2.3 Receiver Architecture
      • 3.2.4 Transmitter Architecture
      • 3.2.5 Wake on Radio.
      • 3.2.6 RFSENSE.
      • 3.2.7 Flexible Frame Handling.
      • 3.2.8 Packet and State Trace.
      • 3.2.9 Data Buffering.
      • 3.2.10 Radio Controller (RAC).
      • 3.2.11 Random Number Generator.
    • 3.3 Power.
      • 3.3.1 Energy Management Unit (EMU).
      • 3.3.2 DC-DC Converter.
      • 3.3.3 Power Domains.
    • 3.4 General Purpose Input/Output (GPIO).
    • 3.5 Clocking.
      • 3.5.1 Clock Management Unit (CMU).
      • 3.5.2 Internal and External Oscillators..
    • 3.6 Counters/Timers and PWM.
      • 3.6.1 Timer/Counter (TIMER).
      • 3.6.2 Wide Timer/Counter (WTIMER).
      • 3.6.3 Real Time Counter and Calendar (RTCC).
      • 3.6.4 Low Energy Timer (LETIMER).
      • 3.6.5 Ultra Low Power Wake-up Timer (CRYOTIMER).
      • 3.6.6 Pulse Counter (PCNT).
      • 3.6.7 Watchdog Timer (WDOG).
    • 3.7 Communications and Other Digital Peripherals.
      • 3.7.1 Universal Synchronous/Asynchronous Receiver/Transmitter (USART).
      • 3.7.2 Low Energy Universal Asynchronous Receiver/Transmitter (LEUART).
      • 3.7.3 Inter-Integrated Circuit Interface (I^2 C).
      • 3.7.4 Peripheral Reflex System (PRS).
      • 3.7.5 Low Energy Sensor Interface (LESENSE).
    • 3.8 Security Features.
      • 3.8.1 General Purpose Cyclic Redundancy Check (GPCRC).
      • 3.8.2 Crypto Accelerator (CRYPTO).
      • 3.8.3 True Random Number Generator (TRNG).
      • 3.8.4 Security Management Unit (SMU).
    • 3.9 Analog..
      • 3.9.1 Analog Port (APORT).
      • 3.9.2 Analog Comparator (ACMP).
      • 3.9.3 Analog to Digital Converter (ADC).
      • 3.9.4 Capacitive Sense (CSEN).
      • 3.9.5 Digital to Analog Current Converter (IDAC).
      • 3.9.6 Digital to Analog Converter (VDAC).
      • 3.9.7 Operational Amplifiers.
    • 3.10 Reset Management Unit (RMU).
    • 3.11 Core and Memory.
      • 3.11.1 Processor Core.
      • 3.11.2 Memory System Controller (MSC).
      • 3.11.3 Linked Direct Memory Access Controller (LDMA).
    • 3.12 Memory Map.
    • 3.13 Configuration Summary.
    1. Electrical Specifications
    • 4.1 Electrical Characteristics.
      • 4.1.1 Absolute Maximum Ratings.
      • 4.1.2 Operating Conditions.
      • 4.1.3 Thermal Characteristics.
      • 4.1.4 DC-DC Converter.
      • 4.1.5 Current Consumption.
      • 4.1.6 Wake Up Times.
      • 4.1.7 Brown Out Detector (BOD).
      • 4.1.8 Frequency Synthesizer.
      • 4.1.9 2.4 GHz RF Transceiver Characteristics.
      • 4.1.10 Sub-GHz RF Transceiver Characteristics.
      • 4.1.11 Modem..
      • 4.1.12 Oscillators.
      • 4.1.13 Flash Memory Characteristics.
      • 4.1.14 General-Purpose I/O (GPIO).
      • 4.1.15 Voltage Monitor (VMON).
      • 4.1.16 Analog to Digital Converter (ADC).
      • 4.1.17 Analog Comparator (ACMP).
      • 4.1.18 Digital to Analog Converter (VDAC).
      • 4.1.19 Current Digital to Analog Converter (IDAC)
      • 4.1.20 Capacitive Sense (CSEN).
      • 4.1.21 Operational Amplifier (OPAMP)
      • 4.1.22 Pulse Counter (PCNT)
      • 4.1.23 Analog Port (APORT)
      • 4.1.24 I2C
      • 4.1.25 USART SPI.
    • 4.2 Typical Performance Curves.
      • 4.2.1 Supply Current
      • 4.2.2 DC-DC Converter
      • 4.2.3 2.4 GHz Radio
    1. Typical Connection Diagrams.
    • 5.1 Power
    • 5.2 RF Matching Networks.
    • 5.3 Other Connections.
    1. Pin Definitions
    • 6.1 QFN48 2.4 GHz and Sub-GHz Device Pinout.
    • 6.2 QFN48 2.4 GHz Device Pinout
    • 6.3 QFN32 2.4 GHz Device Pinout
    • 6.4 GPIO Functionality Table
    • 6.5 Alternate Functionality Overview
    • 6.6 Analog Port (APORT) Client Maps.
    1. QFN48 Package Specifications.
    • 7.1 QFN48 Package Dimensions
    • 7.2 QFN48 PCB Land Pattern.
    • 7.3 QFN48 Package Marking
    1. RQFN32 Package Specifications
    • 8.1 RQFN32 Package Dimensions
    • 8.2 RQFN32 PCB Land Pattern
    • 8.3 RQFN32 Package Marking
    1. Revision History.

3. System Overview

3.1 Introduction

The EFR32 product family combines an energy-friendly MCU with a highly integrated radio transceiver. The devices are well suited for any battery operated application as well as other systems requiring high performance and low energy consumption. This section gives a short introduction to the full radio and MCU system. The detailed functional description can be found in the EFR32xG13 Reference Manual.

A block diagram of the EFR32MG13 family is shown in Figure 3.1 Detailed EFR32MG13 Block Diagram on page 8. The diagram shows a superset of features available on the family, which vary by OPN. For more information about specific device features, consult Ordering Information.

Analog Peripherals

Clock Management

HFRCO

IDAC

ARM Cortex-M4 Core 512 KB ISP FlashProgram Memory 64 KB RAM AH B

WatchdogTimer

RESETn

Digital Peripherals

Input Mux

Mapper^ Port

Port I/O Configuration

Analog Comparator

12-bit ADC Temp Sense

VDD

ReferenceInternal

IOVDD

AUXHFRCO

LFXO HFXO

Memory Protection Unit

PLFRCO

AP B

DMA Controller

+-

APORT

Energy Management Floating Point Unit

DVDD

VREGVDD VREGSW

bypass

AVDD

PAVDD RFVDD

DECOUPLE

IOVDD Voltage Monitor

Radio Transceiver

2G4RF_IOP 2G4RF_ION

2.4 GHz RF

PA

I

Q

LNA (^) SynthesizerFrequency

DEMOD

AGC

IFADC

CRC

BUFC

MOD

FRC

RAC

SUBGRF_OPSUBGRF_ON PGA

Sub-GHz RF I

PA Q

SUBGRF_IP SUBGRF_IN LNA

FrontendTo RF BALUN Circuits

RFSENSE

VDAC - + Op-Amp

CapacitiveTouch

LESENSE

CRC

CRYPTO

I2C

LEUART

USART

RTC / RTCC

PCNT

CRYOTIMER

TIMER

LETIMER

DriversPort F PFn

Drivers^ Port D PDn

Drivers^ Port C PCn

Drivers^ Port B PBn

Drivers^ Port A PAn

Mux & FB

HFXTAL_P HFXTAL_N

LFXTAL_P LFXTAL_N

ConverterDC-DC Regulator^ Voltage

Debug Signals (shared w/GPIO)

Brown Out /Power-On Reset

ManagementReset Serial Wire Unit and ETMDebug / Programming

LFRCO

ULFRCO

Figure 3.1. Detailed EFR32MG13 Block Diagram

3.2 Radio

The Mighty Gecko family features a highly configurable radio transceiver supporting a wide range of wireless protocols.

System Overview

3.2.5 Wake on Radio

The Wake on Radio feature allows flexible, autonomous RF sensing, qualification, and demodulation without required MCU activity, us- ing a subsystem of the EFR32MG13 including the Radio Controller (RAC), Peripheral Reflex System (PRS), and Low Energy peripher- als.

3.2.6 RFSENSE

The RFSENSE peripheral generates a system wakeup interrupt upon detection of wideband RF energy at the antenna interface, provid- ing true RF wakeup capabilities from low energy modes including EM2, EM3 and EM4.

RFSENSE triggers on a relatively strong RF signal and is available in the lowest energy modes, allowing exceptionally low energy con- sumption. RFSENSE does not demodulate or otherwise qualify the received signal, but software may respond to the wakeup event by enabling normal RF reception.

Various strategies for optimizing power consumption and system response time in presence of false alarms may be employed using available timer peripherals.

3.2.7 Flexible Frame Handling

EFR32MG13 has an extensive and flexible frame handling support for easy implementation of even complex communication protocols. The Frame Controller (FRC) supports all low level and timing critical tasks together with the Radio Controller and Modulator/Demodula- tor:

  • Highly adjustable preamble length
  • Up to 2 simultaneous synchronization words, each up to 32 bits and providing separate interrupts
  • Frame disassembly and address matching (filtering) to accept or reject frames
  • Automatic ACK frame assembly and transmission
  • Fully flexible CRC generation and verification:
    • Multiple CRC values can be embedded in a single frame
    • 8, 16, 24 or 32-bit CRC value
    • Configurable CRC bit and byte ordering
  • Selectable bit-ordering (least significant or most significant bit first)
  • Optional data whitening
  • Optional Forward Error Correction (FEC), including convolutional encoding / decoding and block encoding / decoding
  • Half rate convolutional encoder and decoder with constraint lengths from 2 to 7 and optional puncturing
  • Optional symbol interleaving, typically used in combination with FEC
  • Symbol coding, such as Manchester or DSSS, or biphase space encoding using FEC hardware
  • UART encoding over air, with start and stop bit insertion / removal
  • Test mode support, such as modulated or unmodulated carrier output
  • Received frame timestamping

3.2.8 Packet and State Trace

The EFR32MG13 Frame Controller has a packet and state trace unit that provides valuable information during the development phase. It features:

  • Non-intrusive trace of transmit data, receive data and state information
  • Data observability on a single-pin UART data output, or on a two-pin SPI data output
  • Configurable data output bitrate / baudrate
  • Multiplexed transmitted data, received data and state / meta information in a single serial data stream

3.2.9 Data Buffering

The EFR32MG13 features an advanced Radio Buffer Controller (BUFC) capable of handling up to 4 buffers of adjustable size from 64 bytes to 4096 bytes. Each buffer can be used for RX, TX or both. The buffer data is located in RAM, enabling zero-copy operations.

System Overview

3.2.10 Radio Controller (RAC)

The Radio Controller controls the top level state of the radio subsystem in the EFR32MG13. It performs the following tasks:

  • Precisely-timed control of enabling and disabling of the receiver and transmitter circuitry
  • Run-time calibration of receiver, transmitter and frequency synthesizer
  • Detailed frame transmission timing, including optional LBT or CSMA-CA

3.2.11 Random Number Generator

The Frame Controller (FRC) implements a random number generator that uses entropy gathered from noise in the RF receive chain. The data is suitable for use in cryptographic applications.

Output from the random number generator can be used either directly or as a seed or entropy source for software-based random num- ber generator algorithms such as Fortuna.

System Overview

3.5 Clocking

3.5.1 Clock Management Unit (CMU)

The Clock Management Unit controls oscillators and clocks in the EFR32MG13. Individual enabling and disabling of clocks to all periph- erals is performed by the CMU. The CMU also controls enabling and configuration of the oscillators. A high degree of flexibility allows software to optimize energy consumption in any specific application by minimizing power dissipation in unused peripherals and oscilla- tors.

3.5.2 Internal and External Oscillators

The EFR32MG13 supports two crystal oscillators and fully integrates five RC oscillators, listed below.

  • A high frequency crystal oscillator (HFXO) with integrated load capacitors, tunable in small steps, provides a precise timing refer- ence for the MCU. Crystal frequencies in the range from 38 to 40 MHz are supported. An external clock source such as a TCXO can also be applied to the HFXO input for improved accuracy over temperature.
  • A 32.768 kHz crystal oscillator (LFXO) provides an accurate timing reference for low energy modes.
  • An integrated high frequency RC oscillator (HFRCO) is available for the MCU system, when crystal accuracy is not required. The HFRCO employs fast startup at minimal energy consumption combined with a wide frequency range.
  • An integrated auxilliary high frequency RC oscillator (AUXHFRCO) is available for timing the general-purpose ADC and the Serial Wire Viewer port with a wide frequency range.
  • An integrated low frequency precision 32.768 kHz RC oscillator (PLFRCO) can be used as a timing reference in low energy modes, with 500 ppm accuracy.
  • An integrated low frequency 32.768 kHz RC oscillator (LFRCO) can be used as a timing reference in low energy modes, when crys- tal accuracy is not required.
  • An integrated ultra-low frequency 1 kHz RC oscillator (ULFRCO) is available to provide a timing reference at the lowest energy con- sumption in low energy modes.

3.6 Counters/Timers and PWM

3.6.1 Timer/Counter (TIMER)

TIMER peripherals keep track of timing, count events, generate PWM outputs and trigger timed actions in other peripherals through the PRS system. The core of each TIMER is a 16-bit counter with up to 4 compare/capture channels. Each channel is configurable in one of three modes. In capture mode, the counter state is stored in a buffer at a selected input event. In compare mode, the channel output reflects the comparison of the counter to a programmed threshold value. In PWM mode, the TIMER supports generation of pulse-width modulation (PWM) outputs of arbitrary waveforms defined by the sequence of values written to the compare registers, with optional dead-time insertion available in timer unit TIMER_0 only.

3.6.2 Wide Timer/Counter (WTIMER)

WTIMER peripherals function just as TIMER peripherals, but are 32 bits wide. They keep track of timing, count events, generate PWM outputs and trigger timed actions in other peripherals through the PRS system. The core of each WTIMER is a 32-bit counter with up to 4 compare/capture channels. Each channel is configurable in one of three modes. In capture mode, the counter state is stored in a buffer at a selected input event. In compare mode, the channel output reflects the comparison of the counter to a programmed thresh- old value. In PWM mode, the WTIMER supports generation of pulse-width modulation (PWM) outputs of arbitrary waveforms defined by the sequence of values written to the compare registers, with optional dead-time insertion available in timer unit WTIMER_0 only.

3.6.3 Real Time Counter and Calendar (RTCC)

The Real Time Counter and Calendar (RTCC) is a 32-bit counter providing timekeeping in all energy modes. The RTCC includes a Binary Coded Decimal (BCD) calendar mode for easy time and date keeping. The RTCC can be clocked by any of the on-board oscilla- tors with the exception of the AUXHFRCO, and it is capable of providing system wake-up at user defined instances. When receiving frames, the RTCC value can be used for timestamping. The RTCC includes 128 bytes of general purpose data retention, allowing easy and convenient data storage in all energy modes down to EM4H.

A secondary RTC is used by the RF protocol stack for event scheduling, leaving the primary RTCC block available exclusively for appli- cation software.

System Overview

3.6.4 Low Energy Timer (LETIMER)

The unique LETIMER is a 16-bit timer that is available in energy mode EM0 Active, EM1 Sleep, EM2 Deep Sleep, and EM3 Stop. This allows it to be used for timing and output generation when most of the device is powered down, allowing simple tasks to be performed while the power consumption of the system is kept at an absolute minimum. The LETIMER can be used to output a variety of wave- forms with minimal software intervention. The LETIMER is connected to the Real Time Counter and Calendar (RTCC), and can be con- figured to start counting on compare matches from the RTCC.

3.6.5 Ultra Low Power Wake-up Timer (CRYOTIMER)

The CRYOTIMER is a 32-bit counter that is capable of running in all energy modes. It can be clocked by either the 32.768 kHz crystal oscillator (LFXO), the 32.768 kHz RC oscillator (LFRCO), or the 1 kHz RC oscillator (ULFRCO). It can provide periodic Wakeup events and PRS signals which can be used to wake up peripherals from any energy mode. The CRYOTIMER provides a wide range of inter- rupt periods, facilitating flexible ultra-low energy operation.

3.6.6 Pulse Counter (PCNT)

The Pulse Counter (PCNT) peripheral can be used for counting pulses on a single input or to decode quadrature encoded inputs. The clock for PCNT is selectable from either an external source on pin PCTNn_S0IN or from an internal timing reference, selectable from among any of the internal oscillators, except the AUXHFRCO. The peripheral may operate in energy mode EM0 Active, EM1 Sleep, EM2 Deep Sleep, and EM3 Stop.

3.6.7 Watchdog Timer (WDOG)

The watchdog timer can act both as an independent watchdog or as a watchdog synchronous with the CPU clock. It has windowed monitoring capabilities, and can generate a reset or different interrupts depending on the failure mode of the system. The watchdog can also monitor autonomous systems driven by PRS.

3.7 Communications and Other Digital Peripherals

3.7.1 Universal Synchronous/Asynchronous Receiver/Transmitter (USART)

The Universal Synchronous/Asynchronous Receiver/Transmitter is a flexible serial I/O interface. It supports full duplex asynchronous UART communication with hardware flow control as well as RS-485, SPI, MicroWire and 3-wire. It can also interface with devices sup- porting:

  • ISO7816 SmartCards
  • IrDA
  • (^) I^2 S

3.7.2 Low Energy Universal Asynchronous Receiver/Transmitter (LEUART)

The unique LEUARTTM^ provides two-way UART communication on a strict power budget. Only a 32.768 kHz clock is needed to allow UART communication up to 9600 baud. The LEUART includes all necessary hardware to make asynchronous serial communication possible with a minimum of software intervention and energy consumption.

3.7.3 Inter-Integrated Circuit Interface (I^2 C)

The I^2 C interface enables communication between the MCU and a serial I^2 C bus. It is capable of acting as both a master and a slave and supports multi-master buses. Standard-mode, fast-mode and fast-mode plus speeds are supported, allowing transmission rates from 10 kbit/s up to 1 Mbit/s. Slave arbitration and timeouts are also available, allowing implementation of an SMBus-compliant system. The interface provided to software by the I^2 C peripheral allows precise timing control of the transmission process and highly automated transfers. Automatic recognition of slave addresses is provided in active and low energy modes.

3.7.4 Peripheral Reflex System (PRS)

The Peripheral Reflex System provides a communication network between different peripherals without software involvement. Peripher- als producing Reflex signals are called producers. The PRS routes Reflex signals from producers to consumer peripherals, which in turn perform actions in response. Edge triggers and other functionality such as simple logic operations (AND, OR, NOT) can be applied by the PRS to the signals. The PRS allows peripheral to act autonomously without waking the MCU core, saving power.

System Overview

3.9.3 Analog to Digital Converter (ADC)

The ADC is a Successive Approximation Register (SAR) architecture, with a resolution of up to 12 bits at up to 1 Msps. The output sample resolution is configurable and additional resolution is possible using integrated hardware for averaging over multiple samples. The ADC includes integrated voltage references and an integrated temperature sensor. Inputs are selectable from a wide range of sources, including pins configurable as either single-ended or differential.

3.9.4 Capacitive Sense (CSEN)

The CSEN peripheral is a dedicated Capacitive Sensing block for implementing touch-sensitive user interface elements such a switches and sliders. The CSEN peripheral uses a charge ramping measurement technique, which provides robust sensing even in adverse conditions including radiated noise and moisture. The peripheral can be configured to take measurements on a single port pin or scan through multiple pins and store results to memory through DMA. Several channels can also be shorted together to measure the combined capacitance or implement wake-on-touch from very low energy modes. Hardware includes a digital accumulator and an aver- aging filter, as well as digital threshold comparators to reduce software overhead.

3.9.5 Digital to Analog Current Converter (IDAC)

The IDAC can source or sink a configurable constant current. This current can be driven on an output pin or routed to the selected ADC input pin for capacitive sensing. The full-scale current is programmable between 0.05 μA and 64 μA with several ranges consisting of various step sizes.

3.9.6 Digital to Analog Converter (VDAC)

The Digital to Analog Converter (VDAC) can convert a digital value to an analog output voltage. The VDAC is a fully differential, 500 ksps, 12-bit converter. The opamps are used in conjunction with the VDAC, to provide output buffering. One opamp is used per single- ended channel, or two opamps are used to provide differential outputs. The VDAC may be used for a number of different applications such as sensor interfaces or sound output. The VDAC can generate high-resolution analog signals while the MCU is operating at low frequencies and with low total power consumption. Using DMA and a timer, the VDAC can be used to generate waveforms without any CPU intervention. The VDAC is available in all energy modes down to and including EM3.

3.9.7 Operational Amplifiers

The opamps are low power amplifiers with a high degree of flexibility targeting a wide variety of standard opamp application areas, and are available down to EM3. With flexible built-in programming for gain and interconnection they can be configured to support multiple common opamp functions. All pins are also available externally for filter configurations. Each opamp has a rail to rail input and a rail to rail output. They can be used in conjunction with the VDAC peripheral or in stand-alone configurations. The opamps save energy, PCB space, and cost as compared with standalone opamps because they are integrated on-chip.

3.10 Reset Management Unit (RMU)

The RMU is responsible for handling reset of the EFR32MG13. A wide range of reset sources are available, including several power supply monitors, pin reset, software controlled reset, core lockup reset, and watchdog reset.

3.11 Core and Memory

3.11.1 Processor Core

The ARM Cortex-M processor includes a 32-bit RISC processor integrating the following features and tasks in the system:

  • ARM Cortex-M4 RISC processor achieving 1.25 Dhrystone MIPS/MHz
  • Memory Protection Unit (MPU) supporting up to 8 memory segments
  • Up to 512 kB flash program memory
  • Up to 64 kB RAM data memory
  • Configuration and event handling of all peripherals
  • 2-pin Serial-Wire debug interface

System Overview

3.11.2 Memory System Controller (MSC)

The Memory System Controller (MSC) is the program memory unit of the microcontroller. The flash memory is readable and writable from both the Cortex-M and DMA. The flash memory is divided into two blocks; the main block and the information block. Program code is normally written to the main block, whereas the information block is available for special user data and flash lock bits. There is also a read-only page in the information block containing system and device calibration data. Read and write operations are supported in en- ergy modes EM0 Active and EM1 Sleep.

3.11.3 Linked Direct Memory Access Controller (LDMA)

The Linked Direct Memory Access (LDMA) controller allows the system to perform memory operations independently of software. This reduces both energy consumption and software workload. The LDMA allows operations to be linked together and staged, enabling so- phisticated operations to be implemented.

System Overview

Figure 3.3. EFR32MG13 Memory Map — Peripherals

System Overview

3.13 Configuration Summary

The features of the EFR32MG13 are a subset of the feature set described in the device reference manual. The table below describes device specific implementation of the features. Remaining peripherals support full configuration.

Table 3.2. Configuration Summary

Peripheral Configuration Pin Connections USART0 IrDA SmartCard

US0_TX, US0_RX, US0_CLK, US0_CS

USART1 (^) I^2 S SmartCard

US1_TX, US1_RX, US1_CLK, US1_CS

USART2 IrDA SmartCard

US2_TX, US2_RX, US2_CLK, US2_CS

TIMER0 with DTI TIM0_CC[2:0], TIM0_CDTI[2:0] TIMER1 - TIM1_CC[3:0] WTIMER0 with DTI WTIM0_CC[2:0], WTIM0_CDTI[2:0]

System Overview