瑞芯微RK2108芯片简介。RK2108是一款专门面向智能音频产品的SoC,主要满足智能音箱、智能语音等场景需求。RK2108是一款超低功耗应用处理器,集成了ARM Cortex-M4F和HiFi3 DSP,专为智能家居和物联网应用而设计。
1.1 Overview
RK2108 is an ultra low power consumption application processor with integrated ARM Cortex-M4F and HiFi3 DSP, and designed for smart home and IoT applications.
1.2 Features
The features listed below which may or may not be present in actual product, may be subject to the third party licensing requirements. Please contact Rockchip for actual product feature configurations and licensing requirements.
1.2.1 Microprocessor
- ARM Cortex-M4F processor
- Integrated 16KB instruction cache, 16KB data cache
- Nested Vectored Interrupt Controller closely integrated with processor core to achieve low latency interrupt processing, support 64 external interrupts
- Include Floating Point Unit (FPU)
1.2.2 DSP
- HiFi3 with 4 24-bit MAC or dual 32-bit MAC architecture
- 3 VLIW slots, 2-Way SIMD Vector FPU
- Voice noise reduction optimization
- Integrated 64KB/512KB I/D TCM
- Integrated 16KB/16KB I/D Cache
1.2.3 Memory Organization
- Internal on-chip memory
- BootRom
- Share Memory
- External off-chip memory
- FSPI NorFlash
- FSPI pSRAM
1.2.4 System SRAM
- Internal BootRom
- Support system boot from the following device:
- FSPI NorFlash interface
- Support system code download by the following interface:
- USB2 interface (Device mode)
- Support system boot from the following device:
- Share Memory
- Size: 1MB
1.2.5 External Storage device
- FSPI Serial flash interface
- Support transfer data from/to serial flash device
- Support x1,x2,x4 data bits mode
- Support 1 chip select
1.2.6 System Component
- CRU (clock & reset unit)
- Support 2 PLLs to generate all clocks
- Support clock gating control for individual components
- One oscillator with 24MHz clock input
- Support global soft-reset control for whole chip, also individual soft-reset for each component
- PMU(power management unit)
- Support 4 separate power domains, which can be power up/down by software based on different application scenes
- Multiple configurable work modes to save power by different frequency or automatic clock gating control or power domain on/off control
- Support DSP auto power down mode
- Timer
- Support 6 64-bit timers with interrupt-based operation
- Support two operation modes: free-running and user-defined count
- Support timer work state checkable
- PWM
- Support 4 on-chip PWMs(PWM0~PWM3) with interrupt-based operation
- Programmable pre-scaled operation to bus clock and then further scaled
- Embedded 32-bit timer/counter facility
- Support capture mode
- Support continuous mode or one-shot mode
- Provides reference mode and output various duty-cycle waveform
- Optimized for IR application for PWM3
- Watchdog
- 32-bit watchdog counter
- Counter counts down from a preset value to 0 to indicate the occurrence of a timeout
- WDT can perform two types of operations when timeout occurs:
- Generate a system reset
- First generate an interrupt and if this is not cleared by the service routine by the time a second timeout occurs then generate a system reset
- One Watchdog for CM4, the other for DSP
- Interrupt Controller
- Support 2 interrupt controllers for DSP and AP
- Support 50 SPI interrupt sources input from different components inside RK2108
- Input interrupt level is fixed, only high-level sensitive
- Support different interrupt priority for each interrupt source, and they are always software-programmable
- DMAC
- Micro-code programming based DMA
- The specific instruction set provides flexibility for programming DMA transfers
- Linked list DMA function is supported to complete scatter-gather transfer
- Support internal instruction cache
- Support data transfer types with memory-to-memory, memory-to-peripheral, peripheral-to-memory
- DMAC features:
- Support 8 channels
- 17 hardware request from peripherals
- 2 interrupt output
1.2.7 Video input interface
- VIP
- Support BT601 YCbCr 422 8-bit input
- Support BT656 YCbCr 422 8-bit input
- Support UYVY/VYUY/YUYV/YVYU configurable
- Support RAW 8/10/12-bit input
- Support window cropping
- Support virtual stride when write to internal memory
- Support different stored address for Y and UV
1.2.8 Display interface
- Display interface
- Support RGB Parallel Display interface
- RGB Parallel Display interface
- Up to serial 8-bit
1.2.9 Video Output Processor
- Display interface
- Parallel RGB LCD interface
- Max input/output resolution
- Max input size: 512KB
- Max output: 800×480
- Display process
- Background layer
- programmable 24-bit color
- Win0 layer and Win1 layer
- Format :
- Background layer
1BPP/2BPP/4BPP/8BPP
RGB888, ARGB888, RGB565, RGB444 YUV422, YUV420, YUV444 4-bit/8-bit
YUYV422 4-bit/8-bit
- Support virtual display
- 256 level alpha blending (pre-multiplied alpha support)
- Transparency color key
- YCbCr2RGB(rec601-mpeg/ rec601-jpeg/rec709)
- RGB2YCbCr(BT601/BT709)
- Win2 layer
- Format :
RGB888, ARGB888, RGB565, RGB444 YUV422, YUV420, YUV444 4-bit/8-bit
YUYV422 4-bit/8-bit
- Support virtual display
- 256 level alpha blending (pre-multiplied alpha support)
- Transparency color key
- YCbCr2RGB(rec601-mpeg/ rec601-jpeg/rec709)
- RGB2YCbCr(BT601/BT709)
- Overlay
- RGB/YUV overlay
- Layer1/2/3 exchange
- POST process
- BCSH
- Y-gamma
- Post scale up: 2/3/4
- Color matrix
1.2.10 Audio Interface
- I2S0
- Up to 2 channels TX and 4 channels RX path
- Audio resolution from 16bits to 32bits
- Sample rate up to 192KHz
- Provide master and slave work mode, software configurable
- Support 3 I2S formats (normal, left-justified, right-justified)
- I2S1
- Up to 2 channels for TX and 6 channels RX path
- Audio resolution from 16bits to 32bits
- Sample rate up to 192KHz
- Provide master and slave work mode, software configurable
- Support 3 I2S formats (normal, left-justified, right-justified)
- Support 4 PCM formats (early, late1, late2, late3)
- I2S and PCM cannot be used at the same time
- PDM
- Up to 6 channels
- Audio resolution from 16bits to 24bits
- Sample rate up to 192KHz
- Support PDM master receive mode
- Codec ADC
- Up to 2 channels
- Support I2S 2 channels or PDM 2 channels
- Sample rate up to 192KHz
- Provide master and slave work mode, software configurable
- Audio Bypass
- Support I2SIN interface bypass to AP by I2SOUT interface
- Support PDMIN interface bypass to AP by PDMOUT interface
- Support I2S from Codec ADC bypass to AP by I2SOUT interface
- Support PDM from Codec ADC bypass to AP by PDMOUT interface
- VAD(Voice Activity Detection)
- Support read voice data from I2S/PDM
- Support voice amplitude detection
- Support Multi-Mic array data storing
- Support a level combined interrupt
- Audio PWM
- Support 2 channels audio PWM
- Audio data width from 16bits to 32bits
- Support up to 16 oversampling
- Support audio resolution 8/9/10/11bits
- Support linear interpolation by 2/4/6/8 oversampling
1.2.11 Connectivity
- SDIO interface
- Compatible with SDIO3.0 protocol
- 4bits data bus widths
- USB 2.0 for Device
- Compatible with USB 2.0 specification
- Supports high-speed(480Mbps), full-speed(12Mbps) and low-speed(1.5Mbps) mode
- SPI interface
- Support 2 SPI Controllers, both support one chip-select output
- Support serial-master and serial-slave mode, software-configurable
- SPI2APB interface
- Support slave mode SPI protocol
- Support serial-slave mode only
- Embedded a APB master interface
- I2C Master controller
- Support 3 I2C Master(I2C0-I2C2)
- Support 7bits and 10bits address mode
- Software programmable clock frequency
- Data on the I2C-bus can be transferred at rates of up to 100k bits/s in the Standard-mode, up to 400k bits/s in the Fast-mode
- I2C Slave controller
- One on-chip I2C slave controller
- Software programmable clock frequency and transfer rate 400Kbit/s in the fast mode
- Serial 8bits oriented and bidirectional data transfers can be made at 100Kbit/s in the standard mode
- UART interface
- Support 3 UART interfaces(UART0-UART2)
- Embedded two 64-byte FIFO for TX and RX operation respectively
- Support 5bit, 6bit, 7bit, 8bit serial data transmit or receive
- Standard asynchronous communication bits such as start, stop and parity
- Support different input clock for UART operation to get up to 4Mbps baud rate
- Support auto flow control mode for UART0/UART2
1.2.12 Others
- Multiple group of GPIO
- All of GPIOs can be used to generate interrupt
- Support level trigger and edge trigger interrupt
- Support configurable polarity of level trigger interrupt
- Support configurable rising edge, falling edge and both edge trigger interrupt
- Support configurable pull direction(a weak pull-up and a weak pull-down)
- Support configurable drive strength
- LDO
- Support input 1.8V power supply
- Output 3 power supply: digital 9V, analog 0.9V, codec 1.6V
- Package Type
QFN68L (body: 7mm x 7mm; ball size: 0.15mm; ball pitch: 0.35mm)
Rockchip RK2108 Datasheet