XR872 Datasheet
XR872 Datasheet
Revision 1.0
THE PURCHASED PRODUCTS, SERVICES AND FEATURES ARE STIPULATED BY THE CONTRACT MADE BETWEEN
XRADIO AND THE CUSTOMER. PLEASE READ THE TERMS AND CONDITIONS OF THE CONTRACT AND RELEVANT
INSTRUCTIONS CAREFULLY BEFORE USING, AND FOLLOW THE INSTRUCTIONS IN THIS DOCUMENTATION STRICTLY.
XRADIO ASSUMES NO RESPONSIBILITY FOR THE CONSEQUENCES OF IMPROPER USE (INCLUDING BUT NOT
LIMITED TO OVERVOLTAGE, OVERCLOCK, OR EXCESSIVE TEMPERATURE).
THE INFORMATION FURNISHED BY XRADIO IS PROVIDED JUST AS A REFERENCE OR TYPICAL APPLICATIONS, ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS DOCUMENT DO NOT CONSTITUTE A WARRANTY
OF ANY KIND, EXPRESS OR IMPLIED. XRADIO RESERVES THE RIGHT TO MAKE CHANGES IN CIRCUIT DESIGN
AND/OR SPECIFICATIONS AT ANY TIME WITHOUT NOTICE.
NOR FOR ANY INFRINGEMENTS OF PATENTS OR OTHER RIGHTS OF THE THIRD PARTIES WHICH MAY RESULT FROM
ITS USE. NO LICENSE IS GRANTED BY IMPLICATION OR OTHERWISE UNDER ANY PATENT OR PATENT RIGHTS OF
XRADIO.THIRD PARTY LICENCES MAY BE REQUIRED TO IMPLEMENT THE SOLUTION/PRODUCT. CUSTOMERS SHALL
BE SOLELY RESPONSIBLE TO OBTAIN ALL APPROPRIATELY REQUIRED THIRD PARTY LICENCES. XRADIO SHALL NOT BE
LIABLE FOR ANY LICENCE FEE OR ROYALTY DUE IN RESPECT OF ANY REQUIRED THIRD PARTY LICENCE. XRADIO
SHALL HAVE NO WARRANTY, INDEMNITY OR OTHER OBLIGATIONS WITH RESPECT TO MATTERS COVERED UNDER
ANY REQUIRED THIRD PARTY LICENCE.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 2
Revision History
Version Data Summary of Changes
1.0 2019-10-28 Release complete data information
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 3
Contents
Declaration................................................................................................................................................................... 2
Contents....................................................................................................................................................................... 4
Tables ........................................................................................................................................................................... 7
Figures ......................................................................................................................................................................... 9
1 Overview ............................................................................................................................................................ 10
2.1.5 CPU............................................................................................................................................. 21
2.1.9 Timer.......................................................................................................................................... 23
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 4
2.2.5 PWM .......................................................................................................................................... 28
2.3.2 JPEG............................................................................................................................................ 31
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 5
4.2 Pin Descriptions ................................................................................................................................. 51
6 Reflow Profile..................................................................................................................................................... 56
7 Application Circuit.............................................................................................................................................. 57
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 6
Tables
Table 1-1 XR872 Features ........................................................................................................................................... 10
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 7
Table 5-2 Tape Dimension.......................................................................................................................................... 55
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 8
Figures
Figure 1-1 XR872 Functional Block Diagram .............................................................................................................. 14
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 9
1 Overview
The XR872 application subsystem is powered by an ARM Cortex-M4F CPU that operates up to 384MHz. It supports
an integrated 416KB SRAM and 160KB ROM, a QSPI interface to SIP up to 16MB Flash, a OPI interface to SIP 4MB
PSRAM. Integrated I-cache enables Execute In Place (XIP) from flash and PSRAM, and integrated D-cache enables
read and write from PSRAM. It also includes many peripherals, including UART, TWI, SPI, DMIC, AUDIO CODEC,
PWM, CIR (T/R), CSI, SDIO and auxiliary ADC.
The Wi-Fi subsystem contains the 802.11b/g/n baseband, MAC and radio with integrated PA, LNA, Switch and
harmonic filter, which is design to meet both the low power, high integration and high performance network
application. A novel digital RF transmitter is design using XRADIOTECH’s MPDTM technology to deliver higher
output power and maintain higher efficiency, and also to keep the chip not sensitive to antenna mismatch but
always have good EVM at different VSWR.
The SoC is optimized for low-power operation by using several low-power state and fast wake-up times from
hardware to software. Multiple power domains and clocks can be shut down individually. The application
subsystem and Wi-Fi subsystem can be put into low-power states independently, supporting a variety of
application use cases. Also an optional external DC-DC regulator can provide voltage from 1.5V to 2.5V for whole
VDD_ANA power domain with on chip DC-DC control signal, without sacrificing standby power consumption even
using high quiescent current DC-DC.
1.2 Features
General System Features
6x6mm2 5x5mm2
Package Trays and tape-in-reel
QFN52 QFN40
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 10
Core clock maximum frequency 384MHz 240MHz
Internal Flash / /
Memory External Flash with XIP 128Mb
PSRAM 4MB /
UART 3 3
TWI Max.400Kbps 2 2
SDIO Master 1 1
VBAT 1 1
Peripheral GPADC
Normal 7 2
DMA 8Channel 1 1
I2S 1 0
DMIC 1 0
x1 ADC 1 1
CODEC
x1 DAC 1 1
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 11
x1 Line-in 1 0
CSI+JPEG 1 1
RTC 1 1
Watchdog 1 1
Timer Normal 2 2
Wakeup 1 1
Output 8 8
PWM
Input capture 8 8
Receiver 1 1
CIR
Transmitter 1 1
Internal RCOSC 1 1
32K
External XTAL 1 0
Audio Subsystem
- 1 Digital Microphone Controller with left and right channel voice input
- 1 24bit audio digital-to-analog(DAC) channel, support sample rates from 8KHz to 192KHz
- 1 24bit audio analog-to-digital(ADC) channel for microphone input, support sample rates from 8KHz to 48KHz
- 1 24bit audio-to-digital(ADC) channel for line-in, support sample rates from 8KHz to 48KHz
Video Subsystem
- a CMOS Sensor Interface Controller(CSIC) which is an image or video input control module to receive image
or video data via digital camera(DC)interface, CCIR656 interface
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 12
Online maximum picture resolution: 1920x1088
Wi-Fi Subsystem
- Antenna diversity
- Station, AP Modes
Power Management
- Integrate highly flexibility power management unit by several LDOs and external DC-DC controller
Miscellaneous
- Integrates 1Kbit eFuse to store device specific information and RF calibration data
1.3 Application
Smart Audio Smart Home
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 13
1.4 Block Diagram
FLASH
CTRL I/D DEBUG Control
CACHE (SWD/JTAG)
PSRAM (40KB) SWJDP MPU
CTRL
Cortex-M4F AUDIO Subsystem
SPI x2 384MHz x1 ADC
NVIC SYSTICK x1 DAC
SD/MMC x1
x1 LINEIN
CIR(TX/RX)
VIDEO Subsystem
SRAM ROM CSI
GPIOs
416KB 160KB JPEG
UART x3
PSRAM 4MB
TWI x2 WLAN
ADC x8 Subsystem
Hardware Crypto
PWM x8 Embedded
AES128/192/256,
GDMA Protocol Stack
TIMER x4 DES/3DES,
(8ch)
I2S x1 SHA1/SHA256/MD5/ net80211
CRC/TRNG supplicant
DMIC x1 TCP/IP
Always On
PLL MAC
Oscillator Baseband
RTC PMU
24/26/40
RADIO
MHz
RC32K
1.8V~5.5V 1.8V 1.1V 2.8V 3.3V
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 14
2 Function Description
The Power Management Unit (PMU) contains a DC-DC control interface, several Low Drop-out Regulators (LDOs),
and a reference band-gap circuit. The circuits are optimized for low quiescent current, low drop-out voltage, load
regulation, high ripple rejection, and low output noise. The PMU integrates several LDOs for different circuits: TOP
LDO, RTC LDO, SoC LDO, EXT LDO, as shown in Figure 2-1. They have different operating conditions and features:
TOP LDO provide programmable voltage from 1.4V to 3.6V with maximum 350mA load current, for
Analog and PSRAM, also SoC LDO input. Normally, make sure VBAT voltage is higher than this
programmable output voltage setting.
RTC LDO is the main supply only for RTC domain to optimize power consumption at HIBERNATION state.
SoC LDO is the main supply for whole chip digital circuit with programmable voltage from 0.6V to 1.35V
to let DVFS operate effectively.
EXT LDO is main power supply for external device in application, and also can be provide to VDDIO,
GPADC and internal CODEC. It has maximum 200mA load current. The output voltage is limited to
3.3/3.1V (by register configure setting), when VBAT is lower than the value, it will automatically switch to
bypass mode to let output voltage follow VBAT.
When using external DC-DC to further reduce power consumption, the connection can be set as figure 2-1. PA23
GPIO pin is specified for external DC-DC pup, the detail software setting and flow is integrated in our SDK. When
external DC-DC is used, the output voltage on VDD18 should be at least 0.1V step higher than TOP LDO setting
voltage to have DC-DC be operating normally.
There are four power domains in the system: RTC domain, OA domain, Digital Core domain and Wi-Fi domain.
They mainly used for different scenario to maintain ultra-low power application. We define XR872 into ACTIVE,
STANDBY, HIBERNATION and SHUTDOWN power management states, is shown in table 2-1.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 15
ACTIVE OFF ON ON ON ON ON/OFF APP CPU active
SLEEP ACTIVE ON ON ON ON ON
APP CPU goes to sleep, Wi-Fi DTIMx state
STANDBY SLEEP SLEEP ON ON LP LP OFF
SLEEP OFF ON ON LP LP OFF APP CPU goes to sleep, Wi-Fi power off
SHUTDOWN OFF OFF OFF OFF OFF OFF OFF CHIP_PWD pin keep low level
VBAT
External 1.8V 1.8~3.3V
DC-DC
RTC SoC
LDO LDO
VDD_DIG
0.6~1.35V
PA23
SoC PA RFIP PSRAM GPADC VDDIO CODEC
2.1.2 Clock
The clock management system can source the system clocks from a range of internal or external high and low
frequency oscillators and distribute them to modules based upon module’s individual requirements. The system
generates two different clocks: a high frequency clock HFCLK and a low frequency clock LFCLK.
The system supports two LFCLK clock sources, the 32.768 KHz crystal oscillator and the 32.768 KHz RC oscillator.
The 32.768 KHz crystal oscillator requires an external AT-cut quartz crystal to be connected to the LXTAL1 and
LXTAL2 pins. The LFCLK clock and all of the available LFCLK sources are switched off by default when the system is
powered up. The LFCLK clock can be started by selecting the preferred clock source in PRCM register. It is used for
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 16
each subsystem to achieve lower current consumption for different running mode. In addition, the LFCLK is also
used in RTC circuit to achieve accuracy timing.
There is only one clock source for HFCLK, generated by the 24MHz, 26MHz, or 40MHz crystal oscillator. The HFCLK
is enabled automatically when the system is powered up and can be switched off when all subsystems won’t use it
anymore in some low power modes.
The HFCLK is used to generate the clock source for Digital PLL, which is used to generate the clock sources for
Cortex-M4F core, Wi-Fi and peripherals. There is also an Audio PLL used to generate the clock source for Audio
Subsystem.
32K 32.768K
24/26/40
RC Crystal
DCXO
Oscillator Oscillator
src
LFCLK HFCLK enb
enb
Control Control
LFCLK HFCLK
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 17
2.1.3 Power State and Power Sequence
VBAT
CHIP_PWD
Internal 100us
BG/Analog
100us
RTC LDO
RCOSC(32K)
1ms
SoC LDO
64us
LDO HFCLK
320us
DCXO EN
HFCLK
Tboot-cold
CPU_Boot
VBAT
VDD_EXT/VD
D_IO/VDD_A
NA/VDD_DIG
RCOSC(32K)
64us
LDO HFCLK
320us
DCXO EN
HFCLK
Tboot-hot
CPU_Boot
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 18
2.1.3.3 Wakeup from Hibernation
VBAT
VDD_EXT/VDD_I
O/VDD_ANA/
RCOSC(32K)
32us
SoC LDO
64us
LDO HFCLK
320us
DCXO EN
HFCLK
Tboot-cold
CPU_Boot
VBAT
VDD_EXT/VD
D_IO/VDD_A
NA/VDD_DIG
Vrest
CHIP_PWD
RCOSC(32K)
SoC LDO
Trest_dig
RTC LDO
Trest_rtc
HFCLK
CPU_Rest
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 19
2.1.4 Memory Mapping
GPIO 0x40050000 – 0x400503FF 1KB
0xE00FFFFF reserved 0x40044400 – 0x4004FFFF 1KB*46
Vendor Reserved 0xE00FF000
0xBAFFFFFF
0xB9C00000 WIFI Peripheral FPB 0xE0042000 TRNG 0x40044400 – 0x400447FF 1KB
Private Peripheral Bus External DWT 0xE0041000 AUDIO CODEC 0x40044000 – 0x400443FF 1KB
ITM 0xE0040000
Private Peripheral Bus Internal Security ID 0x40043C00 – 0x40043FFF 1KB
0xE0000000
0xDFFFFFFF 0xE003F000 IRRX 0x40043800 – 0x40043BFF 1KB
Reserved 0xE000F000
External Device 1GB IRTX 0x40043400 – 0x400437FF 1KB
System Control Space 0xE000E000
Reserved
GPADC 0x40043000 – 0x400433FF 1KB
0xE0003000
FPB 0xE0002000 DAUDIO 0x40042C00 – 0x40042FFF 1KB
DWT 0xE0001000 PWM 0x40042800 – 0x40042BFF 1KB
0xB0000000
ITM 0xE0000000 reserved 0x40042400 – 0x400427FF 1KB
TWI1 0x40042000 – 0x400423FF 1KB
0xA0000000 TWI0 0x40041C00 – 0x40041FFF 1KB
External RAM 1GB
RTC 0x40041800 – 0x40041BFF 1KB
UART2 0x40041400 – 0x400417FF 1KB
UART1 0x40041000 – 0x400413FF 1KB
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 20
CSI_JPE_SHARE_SRAM=2,
CSI+JPE access 64K bytes (0x00258000 –
0x00267FFF)
WIFI_SEL_SSRAM=1,
WIFI access 32K bytes (0x00260000 – 0x00267FFF)
WIFI_SEL_SSRAM=2,
WIFI access 64K bytes (0x00258000 – 0x00267FFF)
WIFI_SEL_SSRAM=3,
WIFI access 96K bytes (0x00250000 – 0x00267FFF)
WIFI_SEL_SSRAM=4,
WIFI access 128K bytes (0x00248000 –
0x00267FFF)
WIFI_SEL_SSRAM=0 & CSI_JPE_SHARE_SRAM=0,
AR400A access;
SRAMA2 40KB 0x00268000 – invisible
0x00271FFF
FLASH ROM 16MB 0x00400000 – invisible
0x013FFFFF
WIFI Peripheral 0xB9C00000 – 0xXXXXXXX- 0xXXXXXXXX
0xXXXXXXXX
SRAMC 52KB 0x68000000 – 0x08000000 – 0x0800CFFF (AHB RAM)
0x6800CFFF
SRAMD 64KB 0x6800D000 – 0x09000000 – 0x0900FFFF(PAS RAM)
0x6801CFFF
ROM 128KB invisible 0x00000000 – 0x0001FFFF (ITCM)
2.1.5 CPU
XR872 features an ARM Cortex-M4F processor, which is the most energy efficient ARM processor available. It
supports the clock rates from 32KHz up to 384MHz. The processor provides a low-cost platform that meets the
needs of minimal memory implementation, reduced pin count, and low power consumption.
The ARM Cortex-M4 core has low-latency interrupt processing with the following features:
Nested Vectored Interrupt Controller (NVIC) to achieve low latency interrupt processing
Three Advanced High-Performance bus AHB-Lite interfaces: ICode, DCode and system bus
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 21
Bit-band support for memory and select peripheral that include atomic bit-band write and read
operations
Wake-up Interrupt Controller (WIC) providing ultra-low power sleep mode support
2.1.6 DMA
There are 8 AHB DMA channels for this DMA controller. Only one channel can be active and the sequence is
according to the priority level.
The DMA controller can support 8-bit/16-bit/32-bit data width. The data width of Source and Destination can be
different, but the address should be aligned. Although the increase mode of NDMA should be address aligned, but
its byte counter should not be multiple. The DMA Source Address, Destination Address, Byte Counter Registers can
be modified even if the DMA is started.
2.1.7 Cache
A configurable 40KB cache is implemented to improve the code fetch performance when CPU accesses a non-zero
wait-state memory such as external flash or PSRAM.
The core cache is a small block of memory containing a copy of a small portion of cached data in the external
memory. If CPU reads a cached data, the data will be copied to the core cache. Once CPU requests the same data
again, it can be obtained directly from the core cache (called cache hit) instead of fetching it again from the
external memory to achieve zero wait-state latency.
The cache can be disabled and this block of memory can be turned into high speed system memory. The sizes of
SRAM and cache can be set to one of the following configurations:
Here, the total cache size with each 8KB block can be set to either I-cache or D-cache. I-cache is only used for
external flash or PSRAM read, while D-cache has both read and write functions. I-cache and D-cache can work
simultaneous to maximum the performance. The cache system has following features:
Each way has 512 cache lines with 4-word link size
20-bit tag memory: 19-bit high address and 1-bit valid bit
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 22
Both I-cache and D-cache can be configured to 1/2/4-way, how to use it depends on system application
requirement. The detail configures of I-cache and D-cache please refer to user manual.
Features:
The TRNG generates random numbers from the 8 free-run ring oscillators (RCO). IRQ will be issued once the
random data is successfully generated.
2.1.9 Timer
Timer 0 and 1 can take their inputs from internal RC oscillator, external 32768Hz crystal or OSC. They provide the
operating system’s scheduler interrupt. It is designed to offer maximum accuracy and efficient management, even
for systems with long or short response time. They provide 24-bit programmable overflow counter and work in
auto-reload mode or no-reload mode.
The watch-dog is used to resume the controller operation when it had been disturbed by malfunctions such as
noise and system errors. It features a down counter that allows a watchdog period of up to 16 seconds. It can
generate a general reset or an interrupt request.
2.1.10 RTC
The real time clock (RTC) is for calendar usage. It is built around a 30-bit counter and used to count elapsed time in
YY-MM-DD and HH-MM-SS. The unit can be operated by the backup battery while the system power is off. It has a
built-in leap year generator.
The alarm generates an alarm signal at a specified time in the power-off mode or normal operation mode. In
normal operation mode, both the alarm interrupt and the power management wakeup are activated. In power-off
mode, the power management wakeup signal is activated. In this section, there are two kinds of alarm. Alarm 0 is
a general alarm; its counter is based on second. Alarm 1 is a weekly alarm; its counter is based on the real time.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 23
2.2 Peripherals
2.2.1 GPIO
The XR872 GPIO unit provides as many as 33 GPIO (General Purpose IO) pins. All ports are brought out of the
device using alternate function multiplexing. The GPIO function can be multiplexed on a multi-function I/O pin by
selecting the GPIO alternate function in the GPIO Controller registers.
There are two types of GPIO designs in XR872: GPIO and AGPIO. Each GPIO can be configured with the following
options:
Pull-up/down control: the pull-up and pull-down resistance is 90KΩ with ±30% variation over PVT
condition
External Interrupt IO with 5 trigger modes: high-level, low-level, rising edge, falling edge, double edge
9 WAKEUP IOs can be set to wake system by external interrupt at HIBERNATION mode (RTC on only)
All IOs can be set to wake system by external interrupt in STANDBY mode (RTC and OA domain on)
The digital IO AGPIO function is equivalent to GPIO as shown above. A dedicated internal control signal is used to
select between the digital and analog functions. These IOs are multiplexed with 8 channels ADC (1 is internal
connected to measure VBAT voltage).
GPIO PA23 has a special function which is used to enter test mode when it is high on first power-up. So we need to
keep it from pulling high (floating or tie low) to have whole chip power up correctly.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 24
Table 2-3 XR872AT GPIO Multiplexing
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 25
Table 2-4 XR872ET GPIO Multiplexing
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 26
2.2.2 UART
The XR872 provides 3 UART controllers: one is used for debug and two with auto-flow control are used for
communication with external devices. The UART has 16450 and 16550 modes of operation, which are compatible
with a range of standard software drivers. In 16550 mode, transmit and receive operations are both buffered by
FIFOs. In 16450 mode, these FIFOs are disabled.
Features:
Support configurable baud rate from 9600, 19200, 38400, 115200 and 921600 etc.
2.2.3 SPI
The XR872 features two SPI controllers. Each controller can be configured to a SPI master or a SPI slave. The SPI is
a full-duplex, synchronous, serial communication interface used to control the peripheral devices. The SPI
supports 4 different formats for data transfer. Software can select one of the four modes in which the SPI works by
setting the clock polarity (CPOL) and initial clock phase (CPHA) Register.
Master/Slave configurable
8-bit wide by 64-entry FIFO for both transmit and receive data
2.2.4 TWI
The XR872 features two TWI serial interfaces. They can be configured as master and salve mode. Each TWI
controller supports three IO mapping. The TWI controllers can be operated in standard mode (100K bps) or
fast-mode, supporting data rate up to 400K bps. Multiple Masters and 10-bit addressing Mode are supported for
this specified application. General Call Addressing is also supported in Slave mode.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 27
Features:
2.2.5 PWM
XR872 features 8 PWMs to generate pulse sequences with programmable frequency a duration for LCD, vibrators
and other devices. The PWM controller provides 8 PWM channels, which are divided into four pairs of PWM pair,
each is composed of three parts: a clock controller, two timer modules, and a programmable dead-zone generator.
The PWM channel logic can be configured as input capture function. The capturer detects the rising edge and the
falling edge of the signal and calculates the high-level and the low-level duration with a 16-bit counter.
Features:
2.2.6 SD/MMC/SDIO
XR872 features a SD/MMC controller can be configured either as a Secure Digital Multimedia Card controller,
which simultaneously supports Secure Digital memory (SD Memo), UHS-1 Card, Secure Digital I/O (SDIO),
Multimedia Cards (MMC), eMMC Card and Consumer Electronics Advanced Transport Architecture (CE-ATA).
Features:
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 28
Supports Secure Digital I/O protocol commands
2.2.7 CIR
XR872 features an infrared remote transmitter and a receiver controller. Through the process control pulse
waveform, the remote controller can support a variety of infrared protocol.
2.2.8 GPADC
XR872 features one GPADC function. The ADC function contains a 8-channel analog switch, a single end input
asynchronous 12-bit SAR (Successive Approximation Register) ADC. The channels 0 to 6 are used to detect the
voltage of the external input and the channel 8 is dedicated to detect the voltage of the VBAT. The channel 7 is NC.
Features:
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 29
DMA support
Support self-calibration
Support four operation mode: Single conversion mode, Single-cycle conversion mode, Continuous
conversion mode, Outbreak conversion mode
2.2.9 I2S
XR872 features one DAI(Digital Audio Interface) Controller function. The controller supports standard I2S format,
Left-justified Mode format, Right-justified Mode format, PCM Mode format and TDM Mode format.
Features:
Compliant with standard Philips Inter-IC sound (I2S) bus specification
Compliant with Left-justified, Right-justified, PCM mode, and TDM (Time Division Multiplexing) format
One 128 depth x 32-bit width FIFO for data transmit, one 64 depth x 32-bit width FIFO for data receive
Support programmable PCM frame width: 1 BCLK width (short frame) and 2 BCLKs width (long frame)
2.3.1 CSI
The Camera Serial Interface (CSI) is a parallel image input interface. It includes the following features:
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 30
Pass jpeg data direct to memory
2.3.2 JPEG
Supports JPEG base line;
2.4.1 DMIC
XR872 features one DMIC Controller which supports a 2-channels digital microphone interface, the DMIC
controller can output 128fs (fs= ADC sample rate).
Features:
Support up to 2 channels
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 31
ADC (Microphone Input)
Mono ADC with 100dB SNR typically(A-weight)
Mono Fully-differential analog microphone input with 0dB~33dB boost amplifier gain
ADC sample rates supported: 8k, 11.025k, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz
Mono Fully-differential analog microphone input with -3dB~24dB boost amplifier gain
ADC sample rates supported: 8k, 11.025k, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz
DAC
Mono DAC with 99dB SNR typically (A-weight)
DAC sample rates supported: 8k, 11.025k, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz, 96kHz,
192kHz
Power Supply
Integrated one low noise LDO for Codec with features as bellow:
LDO input from 1.8~3.6V
The default output voltage of LDO is set to 2.8V to maintain maximum voltage range. When VBAT is
higher than 2.0V, it maintains good PSRR for Codec. While VBAT is lower than 2.0V, it will have some
performance degradation because of power noise to ADC and DAC.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 32
802.11r - Roaming
802.11n MCS0-7 with data rate up to 72.2Mbps (BPSK, r=1/2 through 64QAM, r=5/6)
RX antenna Diversity
Internal impedance matching network and harmonic filter allow chip to connect to antenna directly
High Power Amplifier with 1.8~5.5V full range directly support XRADIOTECH’s MPDTM technology ensure
linearity tracking automatically to always keep EVM and mask within specifications
Special Architecture and Device design to keep the reliability of PA up to 5.5V high voltage and also
deliver high output power (>25dBm)
FEM_CTRL1: TX_EN
FEM_CTRL2: RX_EN
FEM_CTRL1 and FEM_CTRL2 are used to control TX and RX signal path separately. It is very useful when customer
want to use XR872 to extend range coverage by add addition high output power RF PA. The typical extend
application is below:
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 33
DAC LPF PA
RF
S/W
VCO LNA
BB LO
PA
RX_EN
TX_EN
FEM
ADC LPF LNA
FEM_CTRL1
FEM_CTRL2
XR872
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 34
3 Electrical Characteristics
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 35
3.2 Recommended Operating Conditions
Table 3-2 Recommended Operating Conditions
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 36
VOL Output Low Voltage |IOL| = 2.25~15 mA -0.3 0.4 V
10
11
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 37
3.5 High Frequency Reference Clock
External XTAL and Built-in Oscillator
Table 3-6 External High Frequency Crystal Characteristics Requirements
ESR - - 60 Ohm
Cshunt(1) - 2 - pF
Load Capacitance(1) - 0 27 pF
(1) The load capacitance value (Cload) and shunt capacitance value(Cshunt) depends on XTAL model, XTAL1 and XTAL2
pin have inside capacitance (Cin_xtal), so external added load capacitance value (PCB Welding Capacitance) Cload_ext =
Cload * 2 - Cin_xtal - Cpcb - Cshunt * 2, Cpcb is PCB parasitic capacitance(single-ended). Cin_xtal has tuning range about
25.4pF, which is controlled by software, for details please go to software user manual.
Cshunt(1) - 2 - pf
(1) The load capacitance value (Cload) and shunt capacitance depends on LXTAL model, external added load
capacitance value(PCB Welding Capacitance) Cload_ext = Cload * 2 - Cpcb - Cshunt * 2, Cpcb is PCB parasitic
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 38
capacitance(Single ended) .
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 39
3.7 Audio Codec Specifications
Condition: VBAT=5V, AVDD=2.8V, Temperature=25oC
SNR (A-weighted) 94 dB
PGA Gain=24dB
THD+N (-3dBFS 1KHz input) -91 dB
SNR (A-weighted) 84 dB
PGA Gain=36dB
THD+N (-3dBFS 1KHz input) -81 dB
SNR (A-weighted) 99 dB
PGA Gain=0dB
THD+N (-3dBFS 1KHz input) -89 dB
SNR (A-weighted) 91 dB
PGA Gain=24dB
THD+N (-3dBFS 1KHz input) -69 dB
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 40
Condition: VBAT=3.6V, AVDD=1.8V, Temperature=25oC
SNR (A-weighted) 99 dB
PGA Gain=0dB
THD+N (-3dBFS 1KHz input) -93 dB
SNR (A-weighted) 91 dB
PGA Gain=24dB
THD+N (-3dBFS 1KHz input) -84 dB
SNR (A-weighted) 80 dB
PGA Gain=36dB
THD+N (-3dBFS 1KHz input) -78 dB
SNR (A-weighted) 98 dB
PGA Gain=0dB
THD+N (-3dBFS 1KHz input) -93 dB
SNR (A-weighted) 90 dB
PGA Gain=24dB
THD+N (-3dBFS 1KHz input) -76 dB
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 41
3.8 Wi-Fi 2.4G RF Receiver Specifications
Table 3-14 RF Receiver Specifications
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 42
MCS0 -10.0 0.0 dBm
Note: The minimum limit considers the variation of process, voltage and temperature.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 43
Carrier Suppression -30.0 dBc
Harmonic Output Power 2nd Harmonic 1Mbps DSSS 17dBm -37.8 dBm/MHz
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 44
Carrier Suppression -30.0 dBc
Harmonic Output Power 2nd Harmonic 1Mbps DSSS 17dBm -37.9 dBm/MHz
Harmonic Output Power 2nd Harmonic 1Mbps DSSS 12.5dBm -40.0 dBm/MHz
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 45
3.10 Power Consumption
Table 3-18 Power Consumption 1
RX 1M DSSS - 40.0 mA
RX RX listen - 40.0 mA
1M DSSS - 32.5 mA
PS RX DTIM1 - 1031.0 uA
Mode2,5
DTIM3 - 428.0 uA
DTIM8 - 186.0 uA
DTIM10 - 154.0 uA
OFF5 - - - 43.0 uA
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 46
2. Use XR872 by external 32K XTAL, Beacon length 1.8ms;
RX 1M DSSS - 72.0 mA
RX RX listen - 68.0 mA
1M DSSS - 55.0 mA
PS RX DTIM1 - 1736.0 uA
Mode2,5
DTIM3 - 716.0 uA
DTIM8 - 303.0 uA
DTIM10 - 237.0 uA
OFF5 - - - 43.0 uA
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 47
HIBERNATION3 OFF OFF - - - 5.0 uA
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 48
4 Package Specifications
PA19/PA17
VDD_PSM
VDD_IO
PA06
PA07
PA10
PA11
PA04
PA05
PA20
PA21
PA22
PA23
39 38 37 36 35 34 33 32 31 30 29 28 27
PA09 40 26 AVDD
PA08 41 25 MICP
PA16 42 24 MICN
PA15 43 23 AGND
PA14 44 22 LINEP
21 LINEN
LXTAL2/PA13 45
20 VRA1
LXTAL1/PA12 46
19 VRA2
XR872AT
CHIP_PWD 47
18 LOUTP
VDD_DIG 48
17 PB18
VDD_EXT 49
16 PB17
VDD_ANA 50
15 PB16
VBAT 51
ANT 52 14 PB06
1 2 3 4 5 6 7 8 9 10 11 12 13
HXTAL2
HXTAL1
PB00
PA01
PB04
PB07
PB03
PB05
PB02
PB01
PA00
PA02
PA18/PA03
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 49
PA19/PA17
VDD_IO
PA23
PA04
PA06
PA20
PA21
PA22
PA05
PA07
30 29 28 27 26 25 24 23 22 21
PA11 31 20 AVDD
PA10 32 19 MICP
PA09 33 18 VRA1
PA12/PA08 34 17 AGND
CHIP_PWD 35 16 VRA2
VDD_DIG 36 15 LOUTP
VDD_ANA 38 13 PB02
VBAT 39 12 PB05
ANT 40 11 PB03
1 2 3 4 5 6 7 8 9 10
HXTAL2
HXTAL1
PB01
PA02
PA00
PA01
PB04
PB07
PB00
PA18/PA03
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 50
4.2 Pin Descriptions
Table 4-1 Pin Description
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 51
PA14 In/Out 44 / Programmable input/output, gpadc in
PA15 In/Out 43 / Programmable input/output, gpadc in
PA16 In/Out 42 / Programmable input/output, gpadc in
PA17 In/Out 31 25 Programmable input/output, gpadc in
PA18 In/Out 8 8 Programmable input/output, gpadc in
PA19 In/Out 31 25 Programmable input/output, wakeup io
PA20 In/Out 30 24 Programmable input/output, wakeup io
PA21 In/Out 29 23 Programmable input/output, wakeup io
PA22 In/Out 28 22 Programmable input/output, wakeup io
PA23 In/Out 27 21 Programmable input/output, test strap pin/wakeup
PB00 In/Out 3 3 io
Programmable input/output
PB01 In/Out 4 4 Programmable input/output
PB02 In/Out 13 13 Programmable input/output
PB03 In/Out 11 11 Programmable input/output
PB04 In/Out 9 9 Programmable input/output
PB05 In/Out 12 12 Programmable input/output
PB06 In/Out 14 14 Programmable input/output
PB07 In/Out 10 10 Programmable input/output
PB16 In/Out 15 / Programmable input/output
PB17 In/Out 16 / Programmable input/output
PB18 In/Out 17 / Programmable input/output
ANT Analog 52 40 RF Antenna
LOUTP Output 18 15 Codec DAC output p
MICP Input 25 19 Codec ADC input p
MICN Input 24 / Codec ADC input n
LINEP Input 22 / Codec line-in input p
LINEN Input 21 / Codec line-in input n
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 52
4.3 Package Information
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 53
4.4 Package Thermal Characteristics
Table 4-2 QFN52 Package Thermal Characteristics
No air flow
No air flow
No air flow
No air flow
No air flow
No air flow
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 54
5 Carrier Information
Table 5-1 Reel Carrier Information
Device W(mm) A0(mm) B0(mm) K0(mm) P0(mm) P1(mm) P2(mm) F(mm) E(mm) D0(mm) D1(mm) T(mm)
0 . 10 0 . 10 0 . 10
XR872AT 16±0.30 6.30±0.1 6.30±0.1 1 . 10 0 . 05 4.0±0.1 8.00±0.1 2.0±0.1 7.5±0.1 1.75±0.1 1 . 5 0 . 00 1 . 5 0 . 00 0.3±0.05
0 . 10 0 . 10 0 . 10
XR872ET 12±0.30 5.30±0.1 5.30±0.1 0 . 85 0 . 05
4.0±0.1 8.00±0.1 2.0±0.1 5.5±0.1 1.75±0.1 1 . 5 0 . 00 1 . 5 0 . 00 0.3±0.05
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 55
6 Reflow Profile
The reflow profile recommended in this document is a lead-free reflow profile that is suitable for pure
lead-free technology of lead-free solder paste.
Figure 6-1 shows the typical reflow profile of XR872 device sample.
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 56
7 Application Circuit
Copyright @2019 Xradio Technology Co., Ltd. All Rights Reserved Page 57