




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































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
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.
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
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:
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:
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:
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.
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:
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:
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