Disclaimer
...
CPU: Quad ARM Cortex-A55
1.8 GHz (2.1 GHz for specific components)
Cache
L1 Cache: 32kB I-cache / 32kB D-cache
L2 Cache: 128kB
L3 Cache: 1MB
Support NEON advance SIMD architecture & Floating-point
Support DVFS
0.5GHz ~1.5GHz @0.8V 85°C
1.5GHz ~1.8GHz @TT 0.84V 85°C
1.5GHz ~1.8GHz @SS 0.94V 85°C
Support individual core power down
Support 2/4 core configurable by e-fuse (OTP)
Support maximum frequency limited by e-fuse (OTP)
Maximum limited to 1.5GHz, 1.8GHz, and 2.1 GHz
Support Coresight debug solution
JTAG interface
CTI and PMU
ETB: 1k to 4k bytes buffer size per core
NPU: AI and Parallel Processing Engine
Verisilicon VIP9000DI, with 256kB SRAM
Up to 4.5 TOPS (@900MHz) computing power
Support configurable operating frequency
Support indivudual controllable power domain.
Support OpenCL and OpenVX with Neural Network Extension
MCU: ARM Cortex-M4
Support FPU
Support 400MHz, 200MHz, 100MHz and 25MHz
Support JTAG and SWD interface
DDR SDRAM
LPDDR4-3200, DDR4-3200, DDR3-1866
2 channels, 16 bits per channel
Up to 8GB memory capacity
Support IO retention
Internal SRAM
256kB at main power domain
384kB at CM4 (AO) power domain
For CM4 operation and DRAM IO retention data
AXI DMA
Support 16 channels
Support memory-to-memory copy
Support hardware handshake for 8-bit NAND controller
AHB DMA
Support 16 channels
Support memory-to-memory copy
Support hardware handshake for I2C and SPI controllers
Boot Devices
eMMC devicce
Support both 1.8V and 3.3V IOVDD
Support SDR up to 200 MHz (only for IOVDD = 1.8V)
Support DDR up to 160 MHz (only for IOVDD = 1.8V)
SD card
Support SD 3.0
Support SDR up to 200MHz
SPI-NAND flash
Support SLC NAND only
Support up to 150Mz (only for 1.8V)
Support 1 or 2 planes 2k page-size dice
Support 1 plane 4k page-size dice
8-bit NAND flash
Support 1.8V and 3.3V
Support 2k/4k/8 page-size dice
Support synchronous mode
SPI-NOR flash
Support 1/2/4-bit mode
Support 1.8V and 3.3V
Support up to 100Mz (only for 1.8V)
In-system Programming for Flash Devices
eMMC, SPI-NAND, 8-bit NAND, and SPI-NOR
In-system programming through USB flash drives or SD cards
Security
Support AES-128/192/256 encryption and decryption ECB, CBC, CTR mode
Support RSA
256/512/1024/2048 bits encryption
modular exponentiation
Support HASH
SHA-2 256/512
SHA-3 224/256/384/512
MD5
GHASH for AES GCM mode
Support POLY 1305
Support Pseudo RNG
Support ARM TZC-400
Support secure boot
SDIO
Support SD 3.0
Support transfer rate up to 104MB/s (UHS-1)
Video and image codec
H.264/MVC, VP8 and JPEG encoding
H.264/SVC and JPEG decoding
Individual controllable power domain.
USB3.1 (Gen. 1) Interface
Compliant to USB 3.1 Gen1 with DRD
Data rate up to 5Gbps
Integrated PHY
Support 4 sets of end-points (1 control and 3 data)
USB2.0 Interface
Compliant to USB 2.0
Support OTG 1.0
Support High and Full speeds
4 in: 3 bulk/interrupt; 1 bulk/interrupt/isochronous
4 out: bulk/interrupt; 1 bulk/interrupt/isochronous
MIPI CSI RX
1 MIPI-CSI2 RX 4D1C (1.5 Gbps per lane), support 4 virtual channel
1 MIPI-CSI2 RX 2D1C (1.5 Gbps per lane), support 2 virtual channel
2 MIPI-CSI2 RX 2D1C (1.5 Gbps per lane), support 2 virtual channel
Shared pins with CPIO (when CPIO disable, MIPI CSI RX enable)
2 MIPI-CSI2 RX can be combined as 1 MIPI-CSI2 RX 4D1C, support 4 virtual channel
Max resolution: 2688x1944
MIPI CSI/DSI TX
One MIPI TX output for either CSI or DSI
4 lanes with 1.5Gbps per lane
DSI TX resolution up to 1920x1080
CSI TX resolution up to 3840x2880
Audio Interfaces
One bidirectional I2S
Two unidirectional I2S
One 16-channel TDM
Configurable serial clock frequency
Support 16 bit audio format
Support both master and slave mode
Compliant with the IIS/PCM standard
Ethernet Controller
Support 10/100/1000 Mbps data rate
Support RGMII and RMII interface (1.8V)
Support IEEE1588
ADC
12-bit SAR ADC with 4-channel
Sampling rate up to 1MHz
PWM
Support 12 bits resolution
Support pre-scaling factor from 1 to 512
Real-Time-Clock (RTC)
Independent Always-On power domain
64 bits free-run timer with 32.768 kHz clock input
SPI/I2C/UART
Up to seven UART interfaces
Up to six SPI interfaces (5 master, and 1 slave)
Up to ten I2C interfaces
GPIO
Support total 106 GPIOs
Support software programmable driving strength for all GPIOs
Support 60 GPIOs with 1.8V/3.3V capability
3 groups in AO-power domain
2 groups in main-power domain
Watchdog Timer
32-bit counter
Up to 223 second
Mailbox
For inter-processor communication between CA55 and CM4
RTC
32.768 kHz crystal
Semaphore
Support read lock and write unlock
Support 16 channels
Thermal Sensor
Placed at between CPU and NPU
Support two threshold temperatures (default disable)
Alarm threshold, interrupt to CPU
Shutdown threshold, for resetting all system
Multi-Function Interface (MFI) and CPIO
Selectable proprietary CPIO and MIPI CSI-RX interfaces
CPIO interface
Supports 4 data lanes for both TX and RX, provides 1.0 GiB/s bandwidth
Support hardware auto calibration
Support hardware auto and/or software programmable SWAP and CROSSOVER modes
Support data swap
Package: 15x15mm2 FCCSP
3. Power Domains
4. CPU, MCU, NPU and DRAM Interface
...
4.1 CPU
The CPU consists of a quad-core ARM Cortex-A55 architecture, featuring a floating-point unit (FPU) and NEON™ SIMD processing. Clock rates can reach up to 1.8GHz, with support for dynamic frequency scaling to optimize energy consumption. Cache memory comprises 32KB L1 I-cache, 32KB L1 D-cache, 128KB L2 cache, and 1MB L3 cache. TrustZone™ technology enhances security capabilities.
...
4.2 MCU
The MCU core is based on the ARM Cortex-M4 architecture, equipped with a floating-point unit. Operating at clock rates of 25MHz, 100MHz, 200MHz, and 400MHz, the MCU features an independent on-chip power domain. This allows the MCU to remain operational even when other chip power domains are shut off, enabling the implementation of deep-sleep mode. When CPUs return from deep sleep, DRAM must be configured in self-retention mode to maintain the previous state.
...
4.3 NPU
The NPU operates at clock rates of up to 900 MHz, delivering computing performance of up to 4.5 TOPS (Trillion Operations Per Second). Optimized for AI models based on convolutional neural networks, it includes a Parallel Processing Unit (PPU) with 32-bit floating-point pipelining and threading. For software development in parallel computing and video computing, both OpenCL and OpenVX are supported. The NPU resides in an independent power domain, allowing individual power-down control.
...
4.4 DRAM Interface
The supported types of DRAM include:
...
The DRAM interface provides two channels with a 16-bit width for each channel. It supports up to 4GB DRAM chips, with a maximum total capacity of 8GB. To facilitate system suspending, the DRAM includes a self-refresh function for data retention when the chip core is powered down.
...
5. Boot Devices and In-System Programming
...
5.1 Boot Devices
The C3V-W (CPU) can be booted from various storage devices, including eMMC device, SD card, SPI-NAND, SPI-NOR, or 8-bit NAND flash.
Boot-up Source | MX6 | MX5 | MX4 | MX3 | MX2 |
eMMC | 1 | 1 | 1 | 1 | 1 |
SPI-NAND | 1 | 1 | 1 | 0 | 1 |
USB drive ISP | 1 | 1 | 0 | 1 | 1 |
SD card boot or ISP | 1 | 1 | 0 | 0 | 1 |
SPI-NOR boot | 1 | 0 | 1 | 1 | 1 |
8-bit NAND boot | 1 | 0 | 0 | 0 | 1 |
...
5.2 In-System Programming (ISP)
System code can be programmed using either a USB flash drive connected to USB2 or USB3, or through an SD card.
...
6. USB Interfaces
...
6.1 USB 3.1 Gen 1 DRD
The USB3 interface is compliant to USB 3.1 Gen 1 standard with data rate of 5Gbps and supporting Dual-Role Device (DRD). USB 3.0 Dual-Role Data (USB3 DRD) enables a USB device to act as both a host and a peripheral device. This capability is also known as USB On-The-Go (USB OTG) in the context of USB 2.0.
...
Note: All output endpoints share a buffer, while each input endpoint has its own input buffer.
...
6.2 USB 2.0 OTG
USB 2.0 supports both High-speed and Full-speed transfers and is compatible with both host and device configurations. USB On-The-Go (OTG) extends the capabilities of USB 2.0 by enabling devices to dynamically switch between host and peripheral roles as needed. Note that C3V-W only supports SRP and HNP, and does not supports ADP.
...
This breakdown illustrates the available options for configuring USB 2.0 endpoints.
...
7. Ethernet Controller
The Ethernet Media Access Controller (MAC) is a crucial component in networking systems, facilitating high-speed data transfer. It supports transfer rates of 10/100/1000 Mbps and interfaces with external transceivers (PHY) to establish Ethernet connectivity.
...
7.1 Register Configuration
The GMAC_PHYSEL (0xF88001DC[12]) register and CLKGEN_GMACPHY_SEL[1:0] (0xF88001DC [11:10]) register dictate the interface mode and corresponding TXC clock frequency. Proper configuration of the GMAC_PHYSEL and CLKGEN_GMACPHY_SEL registers is essential for ensuring optimal performance in each operating mode. Here's a breakdown of the configurations:
GMAC_PHYSEL | CLKGEN_GMACPHY_SEL[1:0] | Operation Mode | TXC clock |
0 | x0 | RGMII 1000Mbps | 125 MHz |
0 | 01 | RGMII 100Mbps | 25 MHz |
0 | 11 | RGMII 10Mbps | 2.5 MHz |
1 | x0 | N/A | - |
1 | 01 | RMII 100Mbps | 50 MHz |
1 | 11 | RMII 10Mbps | 50 MHz |
...
7.2 Pin Connections
The following table illustrates the pin connections for both RGMII (GMAC_PHYSEL = 0) and RMII (GMAC_PHYSEL = 1) interfaces. It's important to note that C3V-W only supports 1.8V PHY, regardless of the selected interface type.
...
Understanding and correctly implementing these configurations ensure seamless operation and optimal performance of the Ethernet MAC interface.
...
8. MIPI Interfaces and Display
...
8.1 MIPI CSI RX
The C3V-W boasts six MIPI CSI RX channels, although two are not accessible in this package configuration. The MIPI RX0, RX1, RX2, RX3, and RX4 channels support 2 data lanes (2D1C) each with 2 virtual channels. Additionally, the MIPI RX5 channel accommodates 4 data lanes (4D1C) with 4 virtual channels. It's noteworthy that MIPI RX2 can be adapted to support 4 data lanes (4D1C) with 4 virtual channels if MIPI RX3 remains unused. MIPI RX0 and RX1 are not accessible in this particular package variant.
...
Channel | Data Lane # | Virtual Channel # | Remarks |
---|---|---|---|
RX0 | 2 | 2 | Not available in this package |
RX1 | 2 | 2 | Not available in this package |
RX2 | 2 | 2 | |
RX3 | 2 | 2 | |
RX4 | 2 | 2 | |
RX5 | 4 | 4 |
It's important to note that RX2 and RX3 share pins with the CPIO interface. Therefore, only one of RX2/RX3 or the CPIO interface can be active at any given time.
...
8.2 MIPI CSI/DSI TX
One MIPI TX output port that can be configured as CSI for camera output or DSI for display output. This interface provides 4-lane with data rate of 1.5Gbps per lane.
...
8.2.1 MIPI DSI TX
Support data format: RGB888, RGB666 with 18bit, RGB666 with 24bit, RGB565
Maximum resolution: 1920x1080
...
8.2.2 MIPI CSI TX
Support data format: YUY2, RGB888, RGB565, YUY2-10
Maximum resolution: 3840x2880
Image transfer from DRAM can support QoS
...
8.3 Display Engine
Display engine features:
4-Layer OSD
Data format support: RGBA8888, RGB565, YUY2, 256 colors
Maximum source resolution is 1920x1080
1 layer image, DRAM fetch format supports NV12, NV16 and YUV444.
Support scaling up and down
Maximum source resolution: 3840x2880
Mixing Function
Support 5 path mixing, Blending, Transparent, Opacity, Alpha Adjustment
Support Gamma, 888 to 666 Dither, 888 to 565 Dither
...
9. Image and Video Codec
...
9.1 Video and JPEG Decoder
The decoder support real-time H.264/SVC and JPEG decoding.
...
Input format: YCbCr 420, YCbYCr422, YCrCb422, CbYCrY 422 and CrYCbY 422
Output format: YCbCr420, YCbYCr422, YCrYCb422, CbYCrY422 and CrYCbY 422
Input image size up to 16.7M pixels with max width of 8176 and max height of 8176. Step size is 16 pixels.
Output image size up to 4096x4096 with step sizes of 8 pixels horizontally and 2 pixels vertically
Image up and down scaling
YCbCr to RGB conversion
2x2 ordered spatial dithering
Alpha channel and alpha blending
Image cropping and digital zoom for JPEG and video stand-alone mode
Picture in picture
Image 90/180/270 degrees rotation and horizontal/vertical flip
...
9.2 Video and JPEG Encoder
The encoder provides real-time H.264/MVC, VP8 and JPEG encoding.
...
Color space conversion from YCbCr422 to YCbCr 420
Maximum input resolution up to 8192x8192
Image cropping
Down-scaling
Rotation by 90 or 270 degree
...
10. Audio Interface
The audio interface of our system comprises one bidirectional and two unidirectional I2S interfaces. Each interface supports 2-channel (L/R) operation and can function in either master or slave mode, with configurable clock frequency and LRCK polarity.
Within the chip, the I2S interfaces are situated in the Always-On power domain and are connected to the CM4 sub-system. They possess the capability to issue a wakeup signal to activate either the CM4 or CA55 processor cores.
...
10.1 Channel 0
Channel 0 is equipped with a bidirectional I2S interface, featuring the following signal specifications:
Signal Name | Pins of X1 Position | Pins of X2 Position | Type | Config Bits | Remarks | |||||||||
AU_BCK | AO_MX44 | AO_MX22 | I/O | G1.6[1:0] | Bit clock | |||||||||
AU_LRCK | AO_MX45 | AO_MX23 | I/O | LR clock | ||||||||||
ADC_DATA0 | AO_MX46 | AO_MX24 | I | DATA in | ||||||||||
AU_DATA0 | AO_MX47 | AO_MX25 | O | DATA out |
...
10.2 Channel 1
Channel 1 supports either input or output I2S interface, with the following signal specifications:
Signal Name | Pins | Type | Config | Remarks | ||||||||
AU1_BCK | AO_MX06 | I/O | G1.5[15] | Bit clock | ||||||||
AU1_LRCK | AO_MX07 | I/O | LR clock | |||||||||
ADC1_DATA0 | AO_MX08 | I | G1.6[3] | DATA in | ||||||||
AU1_DATA0 | O | G1.5[13] | DATA out |
...
10.3 Channel 2
Channel 2 also supports either input or output I2S interface, with the following signal specifications:
Signal Name | Pins | Type | Config Bits | Remarks | ||||||||
AU2_BCK | AO_MX30 | I/O | G1.5[14] | Bit clock | ||||||||
AU2_LRCK | AO_MX31 | I/O | LR clock | |||||||||
ADC2_DATA0 | AO_MX32 | I | G1.6[2] | DATA in | ||||||||
AU2_DATA0 | O | G1.5[12] | DATA out |
...
10.4 Clock for external ADC or DAC
Two clock signals are provided for external audio ADC or DAC devices:
Signal Name | Pins | Type | Config Bits | Remarks | ||||||||
EXT_DAC_XCK1 | AO_MX21 | O | G1.5[10] | external clock out 1 | ||||||||
EXT_DAC_XCK | AO_MX33 | O | G1.5[11] | external clock out |
...
10.5 TDM
The TDM interface supports 6 channels for both input and output, with the following signal specifications:
Signal Name | Pins | Type | Config Bits | Remarks | ||||||||
TDMTX_XCK | AO_MX43 | O | G1.5[9] | TDM clock out | ||||||||
TDMTX_BCK | AO_MX44 | I/O | G1.6[4] | Bit clock | ||||||||
TDMTX_SYNC | AO_MX45 | I/O | Sync | |||||||||
TDMRX_DATA16 | AO_MX46 | I | DATA in | |||||||||
TDMTX_DATA16 | AO_MX47 | O | DATA out |
...
10.6 SPDIF
A single-channel input or output is provided for debug use through the SPDIF interface:
Signal Name | X1 | X2 | X3 | X4 | X5 | X6 | Type | Config Bits | Remarks |
AUD_IEC0_RX | AO_MX41 | AO_MX3 | AO_MX4 | AO_MX5 | AO_MX12 | AO_MX2 | I | G1.6[7:5] | input |
AUD_IEC0_TX | O | G1.6[10:8] | output |
...
11. Analog-Digital Converter
The C3V-W is equipped with a 12-bit Successive Approximation Register (SAR) Analog-to-Digital Converter (ADC), multiplexed across four channels. With a rapid sampling rate of up to 1MHz, this ADC delivers swift and efficient data acquisition capabilities. Its broad input range, from 0 to 1.8 volts (as powered by SAR12B_AVDD18), ensures seamless compatibility with an extensive array of input signals and diverse applications.
...
12. UART, SPI and I2C
The C3V-W offers a versatile array of interfacing functions, allowing users to configure up to 106 I/O ports for various purposes such as UART, SPI, I2C, SDIO, Ethernet PHY, audio, PWM, and more. In this section, we delve into the functionalities of UART, SPI, and I2C, highlighting their capabilities and configurations.
The UART, SPI, and I2C interfaces, with the exception of UADBG, reside within the Always-On power domain. This design ensures that even when the main power domain is inactive, these interfaces remain operational with the CM4 microcontroller.
...
12.1 UART
The C3V-W supports up to seven UART ports, boasting a maximum baud rate of 4 Mbps. Ports 1 and 2 feature hardware flow control for enhanced communication reliability. Additionally, the UADBG port is reserved for chip debugging purposes, featuring connectivity to the internal AXI bus through a specialized secure protocol.
Channel | FIFO Size | Signals | Pins of Position X1 | Pins of Position X2 |
---|---|---|---|---|
UART0 | 128 bytes | UA0_TXD | AO_MX0 | AO_MX18 |
UA0_RXD | AO_MX1 | AO_MX19 | ||
UART1 | 256 bytes | UA1_TXD | AO_MX2 | AO_MX14 |
UA1_RXD | AO_MX3 | AO_MX15 | ||
UA1_RTS_B | AO_MX4 | AO_MX16 | ||
UA1_CTS_B | AO_MX5 | AO_MX17 | ||
UART2 | 256 bytes | UA2_TXD | AO_MX6 | AO_MX26 |
UA2_RXD | AO_MX7 | AO_MX27 | ||
UA2_RTS_B | AO_MX8 | AO_MX28 | ||
UA2_CTS_B | AO_MX9 | AO_MX29 | ||
UART3 | 128 bytes | UA3_TXD | AO_MX12 | G_MX7 |
UA3_RXD | AO_MX13 | G_MX8 | ||
UART6 | 128 bytes | UA6_TXD | AO_MX30 | G_MX48 |
UA6_RXD | AO_MX31 | G_MX49 | ||
UART7 | 128 bytes | UA7_TXD | AO_MX32 | |
UA7_RXD | AO_MX33 | |||
UADBG | 128 bytes | UADBG_TXD | G_MX13 | |
UADBG_RXD | G_MX14 |
...
12.2 SPI
C3V-W boasts up to five SPI ports, each designed to facilitate high-speed data transfer between interconnected devices. Among these, SPI 0, 1, 2, 3, and 4 operate as master controllers, while SPI 5 assumes the role of a slave controller. With a clock rate of up to 25MHz, these SPI ports offer rapid data transmission, catering to a diverse range of application requirements.
...
Channel | Mode | Signals | Pins of Position X1 | Pins of Position X2 |
---|---|---|---|---|
SPI_CB0 | Master | SPI_CB0_RXD | AO_MX14 | G_MX9 |
SPI_CB0_SS | AO_MX15 | G_MX10 | ||
SPI_CB0_TXD | AO_MX16 | G_MX11 | ||
SPI_CB0_CLK | AO_MX17 | G_MX12 | ||
SPI_CB1 | Master | SPI_CB1_RXD | AO_MX30 | G_MX14 |
SPI_CB1_SS | AO_MX31 | G_MX15 | ||
SPI_CB1_TXD | AO_MX32 | G_MX16 | ||
SPI_CB1_CLK | AO_MX33 | G_MX17 | ||
SPI_CB2 | Master | SPI_CB2_RXD | AO_MX38 | |
SPI_CB2_SS | AO_MX39 | |||
SPI_CB2_TXD | AO_MX40 | |||
SPI_CB2_CLK | AO_MX41 | |||
SPI_CB3 | Master | SPI_CB3_RXD | G_MX44 | AO_MX2 |
SPI_CB3_SS | G_MX45 | AO_MX3 | ||
SPI_CB3_TXD | G_MX46 | AO_MX4 | ||
SPI_CB3_CLK | G_MX47 | AO_MX5 | ||
SPI_CB4 | Master | SPI_CB4_RXD | AO_MX22 | |
SPI_CB4_SS | AO_MX23 | |||
SPI_CB4_TXD | AO_MX24 | |||
SPI_CB4_CLK | AO_MX25 | |||
SPI_CB5 | Slave | SPI_CB5_RXD | AO_MX44 | AO_MX22 |
SPI_CB5_SS | AO_MX45 | AO_MX23 | ||
SPI_CB5_TXD | AO_MX46 | AO_MX24 | ||
SPI_CB5_CLK | AO_MX47 | AO_MX25 |
...
12.3 I2C
C3V-W offers up to ten distinct ports, providing ample flexibility for system integration. These ports can function as either masters or slaves, facilitating bidirectional communication between interconnected devices. Moreover, the ports exhibit remarkable versatility, supporting Standard Mode (100 kHz), Fast Mode (400 kHz), and High-Speed Mode (1.2 MHz) for clock (SCL) frequencies.
...
Channel | Signals | Pins of Position X1 | Pins of Position X2 |
---|---|---|---|
I2C0 | I2C0_CLK | AO_MX18 | AO_MX4 |
I2C0_DATA | AO_MX19 | AO_MX5 | |
I2C1 | I2C1_CLK | AO_MX20 | |
I2C1_DATA | AO_MX21 | ||
I2C3 | I2C3_CLK | AO_MX38 | |
I2C3_DATA | AO_MX39 | ||
I2C4 | I2C4_CLK | AO_MX40 | |
I2C4_DATA | AO_MX41 | ||
I2C5 | I2C5_CLK | AO_MX42 | |
I2C5_DATA | AO_MX43 | ||
I2C6 | I2C6_CLK | AO_MX34 | G_MX1 |
I2C6_DATA | AO_MX35 | G_MX2 | |
I2C7 | I2C7_CLK | AO_MX36 | G_MX3 |
I2C7_DATA | AO_MX37 | G_MX4 | |
I2C8 | I2C8_CLK | AO_MX45 | G_MX9 |
I2C8_DATA | AO_MX46 | G_MX10 | |
I2C9 | I2C9_CLK | AO_MX47 | G_MX11 |
I2C9_DATA | AO_MX48 | G_MX12 |
...
13. RTC, STC, PWM and Clock Generators
...
13.1 Real-Time Clock
A 64-bit timer operates with a 32.768 kHz clock in an independent RTC power domain. Registers allow configuration of the timer within the range of 0 to 59 seconds, 0 to 59 minutes, 0 to 23 hours, and 0 to 65536 days. A maskable alarm interrupt can be set by configuring the second, minute, hour, and day.
...
13.2 System Time Counter (STC)
The C3V-W features seven System Time Counters (STCs), each comprising a 64-bit STC counter, a 24-bit RTC counter, a 32-bit watchdog counter, three 32-bit timers (timer 0, 1, 2), a 64-bit timer (timer 3), and a 34-bit ATC counter.
...
STC Name | Power domain | Group | Interrupt to | Remarks |
---|---|---|---|---|
STC_TIMESTAMP | Main | G11 | CA55 | |
STC_AV3 | Main | G12 | CA55 | Watchdog is used by Linux kernel watchdog. |
STC | AO | G23 | CA55 & CM4 | |
STC_AV0 | AO | G24 | CA55 & CM4 | |
STC_AV1 | AO | G25 | CA55 & CM4 | |
STC_AV2 | AO | G26 | CA55 & CM4 | No watchdog |
STC_AV4 | AO | G38 | CA55 & CM4 |
...
13.3 Pulse-Width Modulation (PWM)
Up to four 12-bit PWM channels are available with a pre-scaling factor from 1 to 512. The duty cycle is configurable from 0 to 100%, and the polarity of the output is also configurable.
Channel | Pin at Position X1 | Pin at Position X2 | Remarks |
---|---|---|---|
PWM_CH0 | AO_MX28 | AO_MX8 | |
PWM_CH1 | AO_MX29 | AO_MX9 | |
PWM_CH2 | AO_MX10 | AO_MX42 | |
PWM_CH3 | AO_MX11 | AO_MX43 |
...
13.4 Clock Generators
Various clocks can be generated by a digital PLL and output through GPIO pins, including CLKMCU, CLKWIFI, and CLKGNCMA. CLKRTC and CLKPHY output fixed frequencies of clocks. Note that digital PLL clocks offer average frequency, not stable frequencies. The source clock rate is 800 MHz, and the output clock rate is achieved by dividing the source clock rate by a divisor configured in registers. Clocks from the digital PLL may suffer from high jitter if the frequency of the generated clock is not divisible by the source frequency of the digital PLL.
Signals | Position X1 | Position X2 | Config Bits | Remarks |
---|---|---|---|---|
CLKMCU_DGO_PO | G_MX1 | AO_MX2 | G1.4[5:4] | Generated by DPLL1 |
CLKWIFI_DGO_PO | G_MX2 | AO_MX12 | G1.4[7:6] | Generate by DPLL2 |
CLKRTC_DGO_PO | G_MX12 | AO_MX13 | G1.4[9:8] | Fixed 32.678 kHz |
CLKPHY_DGO_PO | G_MX13 | AO_MX33 | G1.4[11:10] | Fixed 25 MHz or 50 MHz |
CLKGNCMA_DGO_PO | G_MX27 | AO_MX3 | G1.4[13:12] | Generated by DPLL3 |
...
14. GPIO
Up to 106 GPIOs are available, with 60 GPIO at 1.8V/3.3V voltage level and others at 1.8V voltage level. Driving strength is programmable.
...
14.1 Group of GPIO
The GPIO pins of C3V-W are organized into 10 distinct groups, each with its dedicated power supply. Refer to the table below for a breakdown of the power domains, supplying voltages, hardware pin names, and the corresponding supplying power pins for all IO pins of C3V-W:
...
This table delineates the power domains and their respective supplying voltages, along with the hardware pin names and their corresponding supplying power pins for all IO pins of C3V-W. Such organization facilitates efficient management and utilization of GPIO pins within the system.
...
14.2 Default State of Power-on of GPIO
...
14.2.1 Table of Default State of Power-on of GPIO
Ball Name | ST | DS[3:0] | SL | PE | PS | SPU | Remarks |
G_MX0 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX1 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
G_MX2 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
G_MX3 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
G_MX4 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-down |
G_MX5 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX6 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX7 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX8 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX9 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
G_MX10 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
G_MX11 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX12 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX13 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX14 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX15 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX16 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX17 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX18 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
G_MX19 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX30 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX31 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX32 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX33 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX34 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX35 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX36 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX37 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
AO_MX38 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX39 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
AO_MX40 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX41 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
AO_MX42 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX43 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
AO_MX44 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
AO_MX45 | 1 | 1 | 1 | 1 | 0 | 0 | Pull-down |
AO_MX46 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX47 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
AO_MX48 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
IV_MX0 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
IV_MX1 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
IV_MX2 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
IV_MX3 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
IV_MX4 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
IV_MX5 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
IV_MX6 | 1 | 1 | 1 | 1 | 1 | 0 | Pull-up |
ST (Schmitt Trigger Input): 1 indicates enabled, 0 indicates disabled.
DS[3:0] (Driving Strength): Refer to Table 15.4.1 for values.
SL (Slew Rate Control): 1 indicates enabled, 0 indicates disabled.
PE (Pull Enable): 1 indicates pull-up/down enabled, 0 indicates disabled.
PS (Pull Selector): 1 indicates pull-up, 0 indicates pull-down.
SPU (Strong Pull Up): 1 indicates enabled, 0 indicates disabled.
...
14.2.2 Table of Default State of Power-on of GPIO
Ball Name | ST | DS[3:0] | PU | PD | Remarks |
G_MX20 | 1 | 3 | 1 | 0 | Pull-up |
G_MX21 | 1 | 3 | 1 | 0 | Pull-up |
G_MX22 | 1 | 3 | 0 | 1 | Pull-down |
G_MX23 | 1 | 3 | 1 | 0 | Pull-up |
G_MX24 | 1 | 3 | 1 | 0 | Pull-up |
G_MX25 | 1 | 3 | 1 | 0 | Pull-up |
G_MX26 | 1 | 3 | 1 | 0 | Pull-up |
G_MX27 | 1 | 3 | 0 | 1 | Pull-down |
G_MX28 | 1 | 3 | 1 | 0 | Pull-up |
G_MX29 | 1 | 3 | 1 | 0 | Pull-up |
G_MX30 | 1 | 3 | 1 | 0 | Pull-up |
G_MX31 | 1 | 3 | 1 | 0 | Pull-up |
G_MX32 | 1 | 3 | 0 | 1 | Pull-down |
G_MX33 | 1 | 3 | 1 | 0 | Pull-up |
G_MX34 | 1 | 3 | 1 | 0 | Pull-up |
G_MX35 | 1 | 3 | 1 | 0 | Pull-up |
G_MX36 | 1 | 3 | 1 | 0 | Pull-up |
G_MX37 | 1 | 3 | 1 | 0 | Pull-up |
G_MX38 | 1 | 3 | 0 | 0 | HiZ |
G_MX39 | 1 | 3 | 0 | 0 | HiZ |
G_MX40 | 1 | 3 | 0 | 0 | HiZ |
G_MX41 | 1 | 3 | 0 | 0 | HiZ |
G_MX42 | 1 | 3 | 0 | 0 | HiZ |
G_MX43 | 1 | 3 | 0 | 0 | HiZ |
G_MX44 | 1 | 3 | 0 | 0 | HiZ |
G_MX45 | 1 | 3 | 0 | 0 | HiZ |
G_MX46 | 1 | 3 | 0 | 0 | HiZ |
G_MX47 | 1 | 3 | 0 | 0 | HiZ |
G_MX48 | 1 | 3 | 0 | 0 | HiZ |
G_MX49 | 1 | 3 | 0 | 0 | HiZ |
AO_MX0 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX1 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX2 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX3 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX4 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX5 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX6 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX7 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX8 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX9 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX10 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX11 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX12 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX13 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX14 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX15 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX16 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX17 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX18 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX19 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX20 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX21 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX22 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX23 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX24 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX25 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX26 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX27 | 1 | 3 | 1 | 0 | Pull-up |
AO_MX28 | 1 | 3 | 0 | 1 | Pull-down |
AO_MX29 | 1 | 3 | 1 | 0 | Pull-up |
ST (Schmitt Trigger Input): 1 indicates enabled, 0 indicates disabled.
DS[3:0] (Driving Strength): Refer to Table 15.4.2 for values.
PU (Pull Up): 1 indicates pull-up, 0 indicates disabled.
PD (PUll Down): 1 indicates pull-down, 0 indicates disabled.
...
14.3 GPIO Interrupt
The C3V-W provides eight external interrupt inputs from configured GPIO pins. The table below lists the external interrupts 0 to 7 and the corresponding pins each interrupt can be configured with:
...
In the table, X1 denotes the 1st signal output position. X2 denotes the 2nd signal output position. X3 denotes the 3rd signal output position. X11 denotes the 11th signal output position.
...
14.4 Alternative Function of GPIO
Many GPIO (General Purpose Input/Output) pins offer alternative functions, providing versatility in their usage. These alternatives may consist of one, two, or more sets of output pins. For instance, I2C0 can be configured to output signals either at AO_MX4 (I2C0_CLK) and AO_MX5 (I2C0_DATA), or at AO_MX18 (I2C0_CLK) and AO_MX19 (I2C0_DATA). Below is a comprehensive table listing the alternatives for all GPIO pins:
...
In the table, X1 denotes the 1st signal output position. X2 denotes the 2nd signal output position. This table serves as a valuable reference for users, facilitating a clear understanding of the alternative functions associated with each GPIO pin. This understanding enables efficient utilization across a range of configurations.
...
15 Recommended Operating Conditions
...
15.1 Power Supply
Parameter Description | Power Name | Min. | Typ. | Max. | Unit | Comments |
Power for PLL | AVDD08_PLLC AVDD08_PLLD AVDD08_PLLS | 0.76 | 0.80 | 0.84 | V |
|
Power for SDIO | AVDD30_SD_SDIO | 3.04 | 3.20 | 3.36 | V |
|
Power for DDRPHY PLL | BP_VAA | 1.71 | 1.80 | 1.89 | V |
|
Power for DRAM controller | DRAM_VDD | 0.76 | 0.80 | 0.84 | V |
|
Power for DRAM IO pins | DRAM_VDDQ | 1.06 1.14 1.14 1.29 1.43 | 1.10 1.20 1.20 1.35 1.50 | 1.15 1.26 1.26 1.41 1.57 | V V V V V | LPDDR4 DDR4 LPDDR3 DDR3L DDR3 |
Power for CPIO | CPIOR_AVDD08 | 0.76 | 0.80 | 0.84 | V | |
Power for CPIO | CPIOR_AVDD10 | 1.71 | 1.80 | 1.89 | V | |
Power for MIPI RX | MIPI4_AVDD08 MIPI5_AVDD08 | 0.76 | 0.80 | 0.84 | V |
|
Power for MIPI RX | MIPI4_AVDD18 MIPI5_AVDD18 | 1.71 | 1.80 | 1.89 | V |
|
Power for MIPI TX | MIPITX_AVDD18 | 1.71 | 1.80 | 1.89 | V | |
Power for ADC | SAR12B_AVDD18 | 1.71 | 1.80 | 1.89 | V |
|
Power for thermal sensor | TML_AVDD18 | 1.17 | 1.80 | 1.89 | V |
|
Power for USB2 | USB20_AVDD18 | 1.71 | 1.80 | 1.89 | V |
|
Power for USB2 | USB20_AVDD33 | 3.14 | 3.30 | 3.46 | V |
|
Power for USB3 | USB3_AVDD08 | 0.76 | 0.80 | 0.84 | V |
|
Power for USB3 | USB3_DVDD08 | 0.76 | 0.80 | 0.84 | V |
|
Power for USB3 | USB3_VDD33 | 3.14 | 3.30 | 3.46 | V |
|
Power for digital core | VDD | 0.76 | 0.80 | 0.84 | V |
|
Power for Always-On digital core | VDD_AO | 0.76 | 0.80 | 0.84 | V |
|
Power for video codec | VDD_BLOCKA | 0.76 | 0.80 | 0.84 | V |
|
Power for CPU | VDD_CA55 | 0.80 | 0.84 | 0.88 |
|
|
Power for NPU | VDD_NPU | 0.80 | 0.84 | 0.88 | V |
|
Power for GPIO | VDDPST18_GPIO_0 VDDPST18_GPIO_1 VDDPST18_GPIO_AO VDDPST18_GPIO_RTC | 1.71 | 1.80 | 1.89 | V |
|
Power for Dual Voltage GPIO | VDDPST3018_DVIO_1 VDDPST3018_DVIO_2 VDDPST3018_DVIO_AO_1 VDDPST3018_DVIO_AO_2 VDDPST3018_DVIO_AO_3 | 3.04 / 1.71 | 3.20 / 1.80 | 3.36 / 1.89 | V | Support two voltage levels |
Power for crystal | X32K_AVDD18 | 1.71 | 1.80 | 1.89 | V |
|
...
16 Electric Characteristics
...
16.1 Driving-strength Table of GPIO
DS[3:0] | Source current (mA) | Sink current (mA) | ||||
Min. | Typ. | Max. | Min. | Typ. | Max. | |
0 | 0.8 | 1.1 | 1.5 | 0.7 | 1.1 | 1.6 |
1 | 1.1 | 1.6 | 2.2 | 1.1 | 1.7 | 2.3 |
2 | 2.3 | 3.3 | 4.3 | 2.1 | 3.3 | 4.7 |
3 | 3.4 | 4.9 | 6.5 | 3.2 | 5.0 | 7.0 |
4 | 4.5 | 6.6 | 8.6 | 4.2 | 6.6 | 9.3 |
5 | 5.7 | 8.2 | 10.8 | 5.3 | 8.3 | 11.7 |
6 | 6.8 | 9.9 | 13.0 | 6.3 | 9.9 | 13.9 |
7 | 7.9 | 11.5 | 15.1 | 7.4 | 11.6 | 16.2 |
8 | 9.0 | 13.1 | 17.2 | 8.4 | 13.2 | 18.5 |
9 | 10.2 | 14.8 | 19.4 | 9.4 | 14.8 | 20.8 |
10 | 11.3 | 16.4 | 21.6 | 10.5 | 16.5 | 23.1 |
11 | 12.4 | 18.1 | 23.7 | 11.5 | 18.1 | 25.4 |
12 | 13.5 | 19.6 | 25.8 | 12.6 | 19.7 | 27.6 |
13 | 14.7 | 21.3 | 28.0 | 13.6 | 21.4 | 29.9 |
14 | 15.8 | 22.9 | 30.1 | 14.6 | 23.0 | 32.1 |
15 | 16.9 | 24.6 | 32.3 | 15.7 | 24.6 | 34.4 |
...
16.2 Driving-strength Table of DVIO
DS[3:0] | Source current (mA) | Sink current (mA) | ||||
Min. | Typ. | Max. | Min. | Typ. | Max. | |
0 | 1.9 | 5.1 | 9.9 | 4.0 | 6.2 | 8.6 |
1 | 2.8 | 7.6 | 14.8 | 6.0 | 9.3 | 12.9 |
2 | 3.7 | 10.1 | 19.8 | 8.1 | 12.5 | 17.1 |
3 | 4.6 | 12.6 | 24.7 | 10.1 | 15.6 | 21.4 |
4 | 5.6 | 15.2 | 29.7 | 12.1 | 18.7 | 25.7 |
5 | 6.5 | 17.7 | 34.6 | 14.1 | 21.8 | 29.9 |
6 | 7.4 | 20.2 | 39.5 | 16.1 | 24.9 | 34.2 |
7 | 8.3 | 22.7 | 44.3 | 18.1 | 27.9 | 38.4 |
8 | 9.3 | 25.2 | 49.3 | 20.1 | 31.0 | 42.7 |
9 | 10.2 | 27.7 | 54.2 | 22.1 | 34.1 | 46.9 |
10 | 11.1 | 30.3 | 59.1 | 24.1 | 37.2 | 51.1 |
11 | 12.0 | 32.8 | 64.0 | 26.1 | 40.3 | 55.3 |
12 | 13.0 | 35.3 | 68.9 | 28.1 | 43.4 | 59.5 |
13 | 13.9 | 37.8 | 73.7 | 30.1 | 46.4 | 63.8 |
14 | 14.8 | 40.3 | 78.6 | 32.1 | 49.5 | 67.9 |
15 | 15.7 | 42.7 | 83.4 | 34.1 | 52.6 | 72.1 |
...
16.3 Resistance of Pull-up and down of GPIO
Parameter | Min. | Typ. | Max. | Unit | Remarks |
---|---|---|---|---|---|
RSPU | 1.6 | 2.1 | 3 | kΩ | Resistance of strong pull up |
RPU | 32 | 48 | 79 | kΩ | Resistance of pull up |
RPD | 30 | 44 | 65 | kΩ | Resistance of pull down |
...
16.4 Resistance of Pull-up and down of DVIO
Parameter | Min. | Typ. | Max. | Unit | Remarks |
---|---|---|---|---|---|
RPU | 29 | 35 | 45 | kΩ | Resistance of pull up |
RPD | 24 | 28 | 33 | kΩ | Resistance of pull down |
...
17. Ball Map
...
18. Ball Definition
...
19.3. Thermal Information
Symbol | Parameter | Unit (°C/W) |
θJA | Thermal resistance, junction to ambient (JEDEC PCB 4 layer, Air flow = 0 m/s, Ambient temperature = 85 °C, Power consumption = 4 W) | 13.9 |
ΨJT | Junction-to-top characterization parameter | 0.075 |
Note: Junction-to-ambient thermal resistance is highly application and board-layout dependent. In application where high maximum power dissipation exists, special care must be paid to thermal dissipation issues in board design.