i.MX25 Features
- Martin Welford
This page outlines the Freescale i.MX25 features available as part of the Topaz CPU Module. It includes features that are available via external pins on the Topaz, and does not detail internal functions such as memory controllers, internal timers etc. Please note also that not all features listed may be supported by your chosen operating system.
Each section includes:
- A brief overview of the feature along with any specific Topaz implementation notes.
- List of features available on this interface.
- List of external signals used with the interface. These signals are likely to be multiplexed with other signals. The following chapter details each external signal on the Topaz CPU Module along with the i.MX25 functions available on each pad.
For a full description of capabilities and details of registers, please refer to the Freescale i.MX25 Reference Manual.
Where you see Pad/Pin in the following tables, this refers to:
|
LCD Controller
Overview
The i.MX5 LCD controller supports a wide variety of panels with resolutions up to 800x600, and the Topaz Module includes all the signals to support these panels.
In addition to standard panels, the i.MX25 also includes a Smart LCD Controller. This controller communicates with panels that have on-board memory.
The i.MX25 supports up to 24-bit displays; however, we recommend running Topaz in 16-bit mode for performance reasons. In 16-bit mode, the signals to use are:
- Red: LD17(MSB) – LD13(LSB)
- Green: LD11 (MSB) – LD6 (LSB)
- Blue: LD5 (MSB) – LD1 (LSB)
Note that LD16 and LD17 are likely to be 1.8V signals and will need to be converted to 3.3V in order for most LCDs to function correctly.
Features
- Maximum screen resolution of 800x600
- Support for single-screen (non-split) monochrome or color LCD panels, and for self-refresh type LCD panels
- For 4- and 8-bpp color, a palette table is used for remapping of data from memory, independent of the type of panel used. For 1, 2, 12, 16, 18, and 24 bpp, the palette table is bypassed.
- Supports timing requirements for Sharp 240 × 320 HR-TFT panel
- Hardware-generated cursor with blink, color, and size programmability
- Logical operation between color hardware cursor and background
- Hardware panning (soft horizontal scrolling)
- 8-bit pulse width modulator for software contrast control
- Graphic window support for viewfinder function in color display
- Graphic window color keying for graphical hardware cursor
- 256 transparency levels for alpha blending between graphic window and background plane
Signals
The following signals are used by the standard LCD controller.
Pad/Pin | Voltage | Signal Name | Description | Notes |
E2/50 | 3.3V | CONTRAST | Contrast output |
|
L1/25 | 3.3V | LD0 | Data signal |
|
L2/26 | 3.3V | LD1 | Data signal |
|
L3/27 | 3.3V | LD2 | Data signal |
|
K1/28 | 3.3V | LD3 | Data signal |
|
K2/29 | 3.3V | LD4 | Data signal |
|
K3/30 | 3.3V | LD5 | Data signal |
|
J1/31 | 3.3V | LD6 | Data signal |
|
J2/32 | 3.3V | LD7 | Data signal |
|
J3/33 | 3.3V | LD8 | Data signal |
|
H1/34 | 3.3V | LD9 | Data signal |
|
H2/35 | 3.3V | LD10 | Data signal |
|
H3/36 | 3.3V | LD11 | Data signal |
|
G1/37 | 3.3V | LD12 | Data signal |
|
G2/38 | 3.3V | LD13 | Data signal |
|
G3/39 | 3.3V | LD14 | Data signal |
|
F1/40 | 3.3V | LD15 | Data signal |
|
F2/49 | 3.3V | LSCLK | Pixel Clock |
|
F3/51 | 3.3V | OE_ACD | Output enable |
|
K4/53 | 3.3V | VSYNC | Vertical Sync |
|
L4/52 | 3.3V | HSYNC | Horizontal Sync |
|
U1/164 | 3.3V | LD16 | Data Signal | Also on B3 (3.3V) and A12 (1.8V) |
Y8/165 | 3.3V | LD17 | Data Signal | Also on A11 (1.8V) |
A13/193 | 1.8V | LD18 | Data Signal | Voltage level converter required |
A14/194 | 1.8V | LD19 | Data Signal | Voltage level converter required |
A15/195 | 1.8V | LD20 | Data Signal | Voltage level converter required |
A16/196 | 1.8V | LD21 | Data Signal | Voltage level converter required |
F16/197 | 1.8V | LD22 | Data Signal | Voltage level converter required |
F15/198 | 1.8V | LD23 | Data Signal | Voltage level converter required |
C1/8 | 3.3V | CLS | Special timing signal for Sharp TFT |
|
C2/9 | 3.3V | SPL | Special timing signal for Sharp TFT |
|
D2/10 | 3.3V | PS | Special timing signal for Sharp TFT |
|
D1/11 | 3.3V | REV | Special timing signal for Sharp TFT |
|
The following signals are used by the Smart LCD controller (SLCD)
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
E2/50 | 3.3V | CONTRAST | Contrast output |
|
L1/25 | 3.3V | DATA_0 | Data signal |
|
L2/26 | 3.3V | DATA_1 | Data signal |
|
L3/27 | 3.3V | DATA_2 | Data signal |
|
K1/28 | 3.3V | DATA_3 | Data signal |
|
K2/29 | 3.3V | DATA_4 | Data signal |
|
K3/30 | 3.3V | DATA_5 | Data signal |
|
J1/31 | 3.3V | DATA_6 | Data signal |
|
J2/32 | 3.3V | DATA_7 | Data signal |
|
J3/33 | 3.3V | DATA_8 | Data signal |
|
H1/34 | 3.3V | DATA_9 | Data signal |
|
H2/35 | 3.3V | DATA_10 | Data signal |
|
H3/36 | 3.3V | DATA_11 | Data signal |
|
G1/37 | 3.3V | DATA_12 | Data signal |
|
G2/38 | 3.3V | DATA_13 | Data signal |
|
G3/39 | 3.3V | DATA_14 | Data signal |
|
F1/40 | 3.3V | DATA_15 | Data signal |
|
F2/49 | 3.3V | LCD_CS | Used as a chip select for external display controller in serial mode. In parallel mode, used as write strobe for the external display controller. This signal polarity is programmable. |
|
F3/51 | 3.3V | LCD_RS | LCD Register Select signal that indicates to the LCD device whether data being written is display data or control data. This signal polarity is programmable. |
|
Touch Screen Controller (TSC) and Analog-to-Digital Converter (ADC)
Overview
The i.MX25 includes an on-board controller for 4- or 5-wire resistive touch screens, along with 3 additional general-purpose ADC channels. The touch screen inputs may be used as general-purpose inputs if the touch screen controller is not used.
4-wire touch screens are most common; however, 5-wire screens are more robust and support larger displays (up to 22").
Features
- Integrated 12-bit, 125-kHz ADC
- Supports ratiometric measurement drivers
- Configurable in single-ended or differential (ratiometric) topologies
- Configurable to built-in voltage reference generator or external reference voltage
- Supports 4- and 5-wire touch screens with 5 input channels for touch screen measurements (x+, x-, y+, y-, w)
- Supports general-purpose analog measurements (such as temperature and voltage) with 3 input channels (aux0, aux1, aux2), or 8 input channels if touch interface is not used
- Two independent measurement queues: TCQ for touch screen and GCQ for general-purpose measurements
- Two independent FIFOs, each with 16 entries×16 bits, for storing TCQ and GCQ conversion results
- Supports pen touch screen detection interrupt to awaken the system from sleep mode
- Supports 3 power modes: always-off, power-saving, always-on
- Configurable pen down de-bounce logic
- Configurable LCD noise-reduction logic
- Configurable settling time before each measurement
- Configurable multisampling for each measurement
- Configurable data discarding for each measurement
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
R3/58 | Analog | YN | Touch input signal |
|
R4/60 | Analog | YP | Touch input signal |
|
T3/57 | Analog | XN | Touch input signal |
|
U3/59 | Analog | XP | Touch input signal |
|
T4/61 | Analog | WIPER | Touch input signal (for 5-wire) |
|
N3/65 | Analog | REF | 2.5V reference voltage input. Leave unconnected to use internal 2.5V reference. |
|
N4/62 | Analog | INAUX0 | Auxiliary ADC input |
|
P4/63 | Analog | INAUX1 | Auxiliary ADC input |
|
P3/64 | Analog | INAUX2 | Auxiliary ADC input |
|
USB OTG and Host
Overview
The i.MX25 includes two USB ports, and two on-board PHYs. One port provides On-The-Go (OTG) functionality and can be configured as a host or function port. The second port is a host-only port.
The Topaz CPU makes use of the on-board PHYs to maximize the number of pins available for other functions. While both ports are capable of high-speed operation, the PHY on the Host port only supports full-speed operation.
Features
- High-speed / full-speed / low-speed host-only core:
- HS/FS ULPI-compatible interface
- Software-configurable for full-speed / low-speed interface for Serial transceiver
- Full-speed transceiverless link logic (FS-TLL) for on-board connection to an FS/LS USB peripheral
- Software-configurable interface for internal serial PHY, external serial PHY and ULPI PHY selection
- High-speed / full-speed / low-speed OTG core
- HS/FS ULPI-compatible interface
- Software-configurable for ULPI or serial transceiver interface
- High-speed (with ULPI transceiver), full-speed and low-speed operation in host mode
- High-speed (with ULPI transceiver), and full-speed operation in peripheral mode
- Hardware support for OTG signaling, session request protocol and host negotiation protocol
- Up to 8 bidirectional endpoints
- Software-configurable interface for internal UTMI PHY, external serial PHY and external ULPI PHY selection
- Low power mode with local and remote wake-up capability
- Serial PHY interfaces configurable for bidirectional/unidirectional and differential/single ended operation
- Embedded DMA controller
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
USBOTG |
|
|
|
|
Y10/71 | Analog | USBPHY1_D+ | USB OTG Data + High speed capable. |
|
Y11/73 | Analog | USBPHY1_D- | USB OTG Data - High speed capable. |
|
Y12/79 | 3.3V | USBPHY1_VBUS | USB OTG |
|
Y13/69 | 3.3V | USBPHY1_UID | USB OTG ID |
|
Y9/160 | 3.3V | USBOTG_PWR | USB port power control | Also on A15 (1.8V signal) |
Y14/161 | 3.3V | USBOTG_OC | USB overcurrent | Also on A16 (1.8V signal) |
USBHost |
|
|
|
|
Y3/75 | Analog | USBPHY2_D+ | USB Host Data + Full Speed (12Mbps) only |
|
Y4/77 | Analog | USBPHY2_D- | USB Host Data - Full Speed (12Mbps) only |
|
E2/50 | 3.3V | USBH2_PWR | USB port power control | Also on F16 (1.8V signal) |
E1/22 | 3.3V | USBH2_OC | USB overcurrent | Also on F15 (1.8V signal) |
Enhanced Secured Digital Host Controller (eSDHC)
Overview
The i.MX25 includes 2 eSDHC interfaces which support a wide range of MMC, SD and SDIO devices. The Topaz CPU Module provides access to all pins; however, the second port and data bits 4-7 on port 1 are multiplexed with other commonly used functions.
Features
- Designed to work with MMC, MMC plus, MMC RS, SD memory, miniSD memory, SDIO, miniSDIO, SD Combo, and CE-ATA cards. Compatible with the following specifications:
- MMC System Specification Version 4.2
- SD Host Controller Standard Specification Version 2.0, including test event register support
- SD Memory Card Specification Version 2.0: supports High-Capacity SD Memory Cards
- SDIO Card Specification Version 2.0
- CE-ATA Card Specification Version 1.0
- Supports 1-, 4-, or 8-bit MMC modes, 1- or 4-bit SD and SDIO modes, and 1-, 4-, or 8-bit CE-ATA devices
- Card bus clock frequency up to 52 MHz
- Up to 416 Mbps of data transfer for MMC cards in 8-bit mode
- Up to 200 Mbps of data transfer for SD/SDIO cards in 4-bit mode
- Allows cards to interrupt the host in 1-bit and 4-bit SDIO modes, as well as supporting an interrupt period
- Supports single-block and multi-block read and write
- Block sizes of 1–4096 bytes
- Supports pause during the data transfer at block gap
- Supports Auto CMD12 for multi-block transfer
- Supports read/write features:
- Write protection switch for write operations
- SDIO read wait and suspend/resume operations
- Includes a fully configurable 128x32-bit FIFO for read/write data
- Supports internal and external DMA capabilities
- Supports both synchronous and asynchronous abort
- Host can initiate non-data transfer command while data transfer is in progress
- Support voltage selection by configuring vendor-specific register bit
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
eSDHC1 |
|
|
|
|
T14/97 | 3.3V | CLK | SD Card Clock |
|
U14/98 | 3.3V | CMD | SD Card Command |
|
U16/93 | 3.3V | DAT0 | SD Card Data 0 |
|
T16/94 | 3.3V | DAT1 | SD Card Data 1 |
|
R16/95 | 3.3V | DAT2 | SD Card Data 2 |
|
P16/96 | 3.3V | DAT3 | SD Card Data 3 |
|
H4/15 | 3.3V | DAT4 | SD Card Data 4 |
|
J4/14 | 3.3V | DAT5 | SD Card Data 5 |
|
F4/12 | 3.3V | DAT6 | SD Card Data 6 |
|
G4/13 | 3.3V | DAT7 | SD Card Data 7 |
|
eSDHC2 |
|
|
|
|
Y17/106 | 3.3V | CLK | SD Card Clock |
|
V18/105 | 3.3V | CMD | SD Card Command |
|
V14/111 | 3.3V | DAT0 | SD Card Data 0 |
|
Y15/110 | 3.3V | DAT1 | SD Card Data 1 |
|
V16/109 | 3.3V | DAT2 | SD Card Data 2 |
|
V15/112 | 3.3V | DAT3 | SD Card Data 3 |
|
V19/101 | 3.3V | DAT4 | SD Card Data 4 |
|
U19/102 | 3.3V | DAT5 | SD Card Data 5 |
|
T19/103 | 3.3V | DAT6 | SD Card Data 6 |
|
Y18/104 | 3.3V | DAT7 | SD Card Data 7 |
|
General Purpose Input/Output (GPIO)
Overview
The i.MX25 provides 4 GPIO Modules, each with 32 bits.
Features
- General purpose input/output logic capabilities:
- Drives specific data to output using the data register (DR)
- Controls the direction of the signal using the GPIO direction register (GDR)
- Enables the core to sample the status of the corresponding inputs by reading the pad sample register (PSR)
- GPIO interrupt capabilities:
- Supports up to 32 interrupts
- Identifies interrupt edges
- Generates 3 active-high interrupts to the SoC interrupt controller
Signals
GPIO signals are identified in a column in section 4.1.
Universal Asynchronous Receiver/Transmitter (UART)
Overview
The Topaz Module provides access to the 5 UARTS present on the i.MX25. UART1 and UART2 include all "9-wire" signals, while UART3, 4 and 5 include only Tx, Rx, RTS and CTS signals. The Rx, Tx, RTS and CTS signals of UART1 and UART2 are considered primary functions of those pins. The remaining pins for these ports and the other UARTs are multiplexed with other signals on the i.MX25.
Features
- High-speed TIA/EIA-232-F compatible
- 7 or 8 data bits
- 1 or 2 stop bits
- Programmable parity (even, odd, and no parity)
- Hardware flow control support for request to send (RTS) and clear to send (CTS) signals
- Edge-selectable RTS and edge-detect interrupts
- Status flags for various flow control and FIFO states
- Serial IR interface low-speed, IrDA-compatible (up to 115.2 Kbit/s)
- Voting logic for improved noise immunity (16x oversampling)
- Transmitter FIFO empty interrupt suppression
- UART internal clocks enable/disable
- Auto baud rate detection (up to 115.2 Kbit/s)
- Receiver and transmitter enable/disable for power saving
- DCE/DTE capability
- RTS, IrDA asynchronous wake (AIRINT), receive asynchronous wake (AWAKE), RI (DTE only), DCD (DTE only), DTR (DCE only) and DSR (DTE only) interrupts wake the processor from STOP mode
- Maskable interrupts
- Two DMA Requests (TxFIFO DMA Request and RxFIFO DMA Request)
- Escape character sequence detection
- Software reset (SRST)
- Two independent, 32-entry FIFOs for transmit and receive
- The peripheral clock can be totally asynchronous with the module clock. The module clock determines baud rate. This allows frequency scaling on peripheral clock (such as during DVFS mode) while remaining the module clock frequency and baud rate.
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
UART1 |
|
|
|
|
C1/8 | 3.3V | RXD | Receive data signals |
|
C2/9 | 3.3V | TXD | Transmit data signal |
|
D2/10 | 3.3V | RTS | Ready-to-send hardware handshake signal. Note that this is an INPUT and if connecting to a PC should be connected to the signal labeled RTS. |
|
D1/11 | 3.3V | CTS | Clear-to-send hardware handshake signal. Note that this is an OUTPUT and if connecting to a PC should be connected to the signal labeled CTS. |
|
A10/83 | 3.3V | DTR | Data Terminal Ready |
|
A8/84 | 3.3V | DSR | Data Set Ready |
|
A7/85 | 3.3V | DCD | Data Carrier Detect |
|
A6/86 | 3.3V | RI | Ring Indicator |
|
UART2 |
|
|
|
|
G4/13 | 3.3V | RXD | Receive data signals |
|
F4/12 | 3.3V | TXD | Transmit data signal |
|
J4/14 | 3.3V | RTS | Ready-to-send hardware handshake signal. Note that this is an INPUT and if connecting to a PC should be connected to the signal labeled RTS. |
|
H4/15 | 3.3V | CTS | Clear-to-send hardware handshake signal. Note that this is an OUTPUT and if connecting to a PC should be connected to the signal labeled CTS. |
|
C1/8 | 3.3V | DTR | Data Terminal Ready |
|
C2/9 | 3.3V | DSR | Data Set Ready |
|
D2/10 | 3.3V | DCD | Data Carrier Detect |
|
D1/11 | 3.3V | RI | Ring Indicator |
|
UART3 |
|
|
|
|
A10/83 | 3.3V | RXD | Receive data signals | Also on A5 |
A8/84 | 3.3V | TXD | Transmit data signal | Also on B5 |
A7/85 | 3.3V | RTS | Ready-to-send hardware handshake signal. Note that this is an INPUT and if connecting to a PC should be connected to the signal labeled RTS. | Also on A3 |
A6/86 | 3.3V | CTS | Clear-to-send hardware handshake signal. Note that this is an OUTPUT and if connecting to a PC should be connected to the signal labeled CTS. | Also on A4 |
UART4 |
|
|
|
|
A9/87 | 3.3V | RXD | Receive data signals | Also on U1 |
B8/88 | 3.3V | TXD | Transmit data signal | Also on Y8 |
B7/89 | 3.3V | RTS | Ready-to-send hardware handshake signal. Note that this is an INPUT and if connecting to a PC should be connected to the signal labeled RTS. |
|
B6/90 | 3.3V | CTS | Clear-to-send hardware handshake signal. Note that this is an OUTPUT and if connecting to a PC should be connected to the signal labeled CTS. |
|
UART5 |
|
|
|
|
V19/101 | 3.3V | RXD | Receive data signals | Also on F18 (1.8V) |
U19/102 | 3.3V | TXD | Transmit data signal | Also on F19 (1.8V) |
T19/103 | 3.3V | RTS | Ready-to-send hardware handshake signal. Note that this is an INPUT and if connecting to a PC should be connected to the signal labeled RTS. | Also on H18 (1.8V) |
Y18/104 | 3.3V | CTS | Clear-to-send hardware handshake signal. Note that this is an OUTPUT and if connecting to a PC should be connected to the signal labeled CTS. |
|
Inter IC Module (I2C)
Overview
The i.MX25 has three I2C ports. Port 1 is used on the Topaz Module to control the Power Management IC (PMIC), but is available for connection to external devices. Ports 2 and 3 are multiplexed with other functions.
Features
- Compatibility with I2C bus standard
- Multiple-master operation
- Software-programmable for one of 64 different serial clock frequencies
- Software-selectable acknowledge bit
- Interrupt-driven, byte-by-byte data transfer
- Arbitration-lost interrupt with automatic mode switching from master to slave
- Calling address identification interrupt
- Start and stop signal generation/detection
- Repeated START signal generation
- Acknowledge bit generation/detection
- Bus-busy detection
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
I2C1 |
|
|
|
|
B9/91 | 3.3V | SCL | Clock |
|
B10/92 | 3.3V | SDA | Data |
|
I2C2 |
|
|
|
|
T1/162 | 3.3V | SCL | Clock |
|
U2/163 | 3.3V | SDA | Data |
|
I2C3 |
|
|
|
|
Y9/160 | 3.3V | SCL | Clock | Also on U1 and L4 |
Y14/161 | 3.3V | SDA | Data | Also on A3 and K4 |
Configurable Serial Peripheral Interface (CSPI)
Overview
The i.MX25 has 3 CSPI ports. Each SPI port supports up to 4 devices with independent chip select signals.
The Topaz Module brings out port1 as a primary port together with 2 Chip-Select signals. The other ports and Chip Selects are available but are multiplexed with other functions.
Features
- Full-duplex synchronous serial interface
- Master/Slave configurable
- Four chip select (SS) signals to support multiple peripherals
- Transfer continuation function allows unlimited length data transfers
- 32-bit wide by 8-entry FIFO for both transmitting and receiving data
- Polarity and phase of the Chip Select (SS) and SPI Clock (SCLK) are configurable
- Direct Memory Access (DMA) support
- Max operation frequency up to one-quarter of the reference clock frequency.
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
CSPI1 |
|
|
|
|
A5/17 | 3.3V | MOSI | Data signal - Master-Out/Slave In |
|
B5/16 | 3.3V | MISO | Data signal - Master-In/Slave Out |
|
A4/18 | 3.3V | CLK | Clock |
|
B4/19 | 3.3V | RDY | Ready interrupt |
|
B3/20 | 3.3V | SS0 | Chip select 0 |
|
A3/21 | 3.3V | SS1 | Chip select 1 |
|
T1/162 | 3.3V | SS2 | Chip select 2 |
|
Y6/138 | 3.3V | SS3 | Chip select 3 |
|
CSPI2 |
|
|
|
|
U14/98 | 3.3V | MOSI | Data signal - Master-Out/Slave In |
|
T14/97 | 3.3V | MISO | Data signal - Master-In/Slave Out |
|
U16/93 | 3.3V | CLK | Clock |
|
T16/94 | 3.3V | RDY | Ready interrupt |
|
R16/95 | 3.3V | SS0 | Chip select 0 |
|
P16/96 | 3.3V | SS1 | Chip select 1 |
|
T1/162 | 3.3V | SS2 | Chip select 2 |
|
J4/14 | 3.3V | SS3 | Chip select 3 |
|
CSPI3 |
|
|
|
|
V19/101 | 3.3V | MOSI | Data signal - Master-Out/Slave In |
|
U19/102 | 3.3V | MISO | Data signal - Master-In/Slave Out |
|
T19/103 | 3.3V | CLK | Clock |
|
Y18/104 | 3.3V | RDY | Ready interrupt |
|
V18/105 | 3.3V | SS0 | Chip select 0 |
|
Y17/106 | 3.3V | SS1 | Chip select 1 |
|
V17/107 | 3.3V | SS2 | Chip select 2 |
|
Y16/108 | 3.3V | SS3 | Chip select 3 |
|
Controller Area Network (FlexCAN)
Overview
The i.MX25 includes 2 FlexCAN Modules which are both available on the Topaz Module.
Features
- Full implementation of the CAN protocol specification, version 2.0B
- Standard data and remote frames
- Extended data and remote frames
- Zero to eight bytes data length
- Programmable bit rate up to 1 Mbyte/sec
- Content-related addressing
- Flexible message buffers of zero to eight bytes data length
- Each message buffer configurable as Rx or Tx, all supporting standard and extended messages
- Individual Rx mask registers per message buffer
- Includes 1056 bytes of RAM used for message buffer storage (64 message buffers)
- Includes 256 bytes of RAM used for individual Rx mask registers (64 mask registers, one for each message buffer)
- Full-featured Rx FIFO with storage capacity for 6 frames and internal pointer handling
- Powerful Rx FIFO ID filtering, capable of matching incoming IDs against either 8 extended, 16 standard, or 32 partial (8-bit) IDs, with individual masking capability
- Selectable backwards compatibility with previous FlexCAN version
- Selectable clock source to the CAN protocol interface (bus clock or crystal oscillator)
- Unused message buffer and Rx mask register space can be used as general-purpose RAM space
- Listen-only mode capability
- Programmable loopback mode supporting self-test operation
- Programmable transmission priority scheme: lowest ID, lowest buffer number, or highest priority
- Time stamp based on 16-bit free-running timer
- Global network time, synchronized by a specific message
- Maskable interrupts
- Independent of the transmission medium (an external transceiver is assumed)
- Short latency due to an arbitration scheme for high-priority messages
- Low-power modes, with programmable wake-up on bus activity
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
CAN1 |
|
|
|
|
Y9/160 | 3.3V | TXCAN | CAN Transmit |
|
Y14/161 | 3.3V | RXCAN | CAN Receive |
|
CAN2 |
|
|
|
|
T1/162 | 3.3V | TXCAN | CAN Transmit |
|
U2/163 | 3.3V | RXCAN | CAN Receive |
|
Synchronous Serial Interface (SSI) and audio Multiplexer (AUDMUX)
Overview
The SSI is a full-duplex, serial port that allows the chip to communicate with a variety of serial devices. These serial devices can be standard CODer-DECoder (CODECs), Digital Signal Processors (DSPs), microprocessors, peripherals, and popular industry audio CODECs that implement the inter-IC sound bus standard (I2S) and Intel AC97 standard.
The Digital Audio Mux (AUDMUX) provides a programmable interconnect device for voice, audio, and synchronous data routing between host serial interfaces (such as SSI) and peripheral serial interfaces (that is, audio and voice CODECs, also known as coder-decoders). The AUDMUX interconnections allow multiple, simultaneous, audio/voice/data flows between the ports in point-to-point or point-to-multipoint configurations.
Topaz includes all signals (except 1) for AUDMUX ports 3-7. All ports are on 3.3V signals except for port 4 which is available at 1.8V. The signals on port 4 are sufficient to interface to a 1.8V I2S audio codec.
Features
- Independent (asynchronous) or shared (synchronous) transmit and receive sections with separate or shared internal/external clocks and frame syncs, operating in Master or Slave mode.
- Normal mode operation using frame sync
- Network mode operation allowing multiple devices to share the port with as many as thirty-two time slots
- Gated Clock mode operation requiring no frame sync
- 2 sets of Transmit and Receive FIFOs. Each of the four FIFOs is 15x32 bits. The two sets of Tx/Rx FIFOs can be used in Network mode to provide 2 independent channels for transmission and reception
- Programmable data interface modes such like I2S, LSB, MSB aligned
- Programmable word length (8, 10, 12, 16, 18, 20, 22 or 24 bits)
- Program options for frame sync and clock generation
- Programmable I2S modes (Master, Slave or Normal). Oversampling clock, ccm_ssi_clk available as output from SRCK in I2S Master mode
- AC97 support
- Completely separate clock and frame sync selections for the receive and transmit sections. In AC97 standard, the clock is taken from an external source and frame sync is generated internally.
- External ccm_ssi_clk input for use in I2S Master mode. Programmable oversampling clock (ccm_ssi_clk) of the sampling frequency available as output in master mode at SRCK, when operated in sync mode.
- Programmable internal clock divider
- Time Slot Mask Registers for reduced CPU overhead (for Tx and Rx both)
- SSI power-down feature
- Programmable wait states for CPU accesses
- IP Interface for register accesses, compatible with SRS 3.0.2 standard
AUDMUX Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
AUD3 |
|
|
|
|
J3/33 | 3.3V | TXD | Transmit data |
|
H1/34 | 3.3V | RXD | Receive data |
|
H2/35 | 3.3V | TXC | Transmit clock |
|
G3/39 | 3.3V | RXC | Receive clock |
|
H3/36 | 3.3V | TXFS | Transmit frame |
|
F1/40 | 3.3V | RXFS | Receive frame |
|
AUD4 |
|
|
|
|
G18/178 | 1.8V | TXD | Transmit data |
|
M15/179 | 1.8V | RXD | Receive data |
|
N14/180 | 1.8V | TXC | Transmit clock |
|
|
| RXC | Receive clock | Not present on the Topaz interface |
H19/187 | 1.8V | TXFS | Transmit frame |
|
H18/184 | 1.8V | RXFS | Receive frame |
|
AUD5 |
|
|
|
|
A9/87 | 3.3V | TXD | Transmit data |
|
B8/88 | 3.3V | RXD | Receive data |
|
B7/89 | 3.3V | TXC | Transmit clock |
|
A7/85 | 3.3V | RXC | Receive clock |
|
B6/90 | 3.3V | TXFS | Transmit frame |
|
A6/86 | 3.3V | RXFS | Receive frame |
|
AUD6 |
|
|
|
|
V14/111 | 3.3V | TXD | Transmit data |
|
Y15/110 | 3.3V | RXD | Receive data |
|
V16/109 | 3.3V | TXC | Transmit clock |
|
V17/107 | 3.3V | RXC | Receive clock |
|
V15/112 | 3.3V | TXFS | Transmit frame |
|
Y16/108 | 3.3V | RXFS | Receive frame |
|
AUD7 |
|
|
|
|
U1/164 | 3.3V | TXD | Transmit data |
|
T16/94 | 3.3V | RXD | Receive data | Also on V2 |
Y8/165 | 3.3V | TXC | Transmit clock |
|
R16/95 | 3.3V | RXC | Receive clock |
|
U16/93 | 3.3V | TXFS | Transmit frame |
|
P16/96 | 3.3V | RXFS | Receive frame |
|
CMOS Sensor Interface (CSI)
Overview
The CMOS sensor interface enables connection to external CMOS image sensors. 8-bit, 10-bit and 16-bit sensors are supported. All signals are available on the Topaz Module interface.
Features
- Configurable interface logic to support most commonly available CMOS sensors
- Support for CCIR656 video interface as well as traditional sensor interface
- 8-bit data port for YCC, YUV, or RGB data input
- 8-bit/10-bit/16-bit data port for Bayer data input
- Full control of 8-bit/pixel, 10-bit/pixel or 16-bit/pixel data format to 32-bit receive FIFO packing
- 128 × 32 FIFO to store received image pixel data
- Receive FIFO overrun protection mechanism
- Embedded DMA controllers to transfer data from receive FIFO or statistic FIFO through AHB bus
- Support 2D DMA transfer from the receive FIFO to the frame buffers in the external memory
- Support double buffering two frames in the external memory
- Single interrupt source to interrupt controller from maskable interrupt sources: Start of Frame, End of Frame, Change of Field, FIFO full, FIFO overrun, DMA transfer done, CCIR error and AHB bus response error
- Configurable master clock frequency output to sensor
- Statistic data generation for Auto Exposure (AE) and Auto White Balance (AWB) control of the camera (only for Bayer data and 8-bit/pixel format)
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
V14/111 | 3.3V | MCLK | Sensor Master Clock |
|
V15/112 | 3.3V | PIXCLK | Pixel Clock |
|
Y15/110 | 3.3V | VSYNC | Vertical Sync (Start Of Frame) |
|
V16/109 | 3.3V | HSYNC | Horizontal Sync ( Blank Signal) |
|
V19/101 | 3.3V | D2 | Data signal |
|
U19/102 | 3.3V | D3 | Data signal |
|
T19/103 | 3.3V | D4 | Data signal |
|
Y18/104 | 3.3V | D5 | Data signal |
|
V18/105 | 3.3V | D6 | Data signal |
|
Y17/106 | 3.3V | D7 | Data signal |
|
V17/107 | 3.3V | D8 | Data signal |
|
Y16/108 | 3.3V | D9 | Data signal |
|
D2/10 | 3.3V | D0 | Data signal | Also on L1 |
D1/11 | 3.3V | D1 | Data signal | Also on L2 |
J2/32 | 3.3V | D10 | Data signal |
|
J1/31 | 3.3V | D11 | Data signal |
|
K3/30 | 3.3V | D12 | Data signal |
|
K2/29 | 3.3V | D13 | Data signal |
|
K1/28 | 3.3V | D14 | Data signal |
|
L3/27 | 3.3V | D15 | Data signal |
|
Keypad Port (KPP)
Overview
The Keypad port supports a matrix keypad up to 8x8.
Features
- Supports up to an 8 x 8 external key pad matrix
- Port pins can be used as general purpose I/O
- Open drain design
- Glitch suppression circuit design
- Multiple-key detection
- Long key-press detection
- Standby key-press detection
- Synchronizer chain clear
- Supports a two-point and three-point contact key matrix
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
A10/83 | 3.3V | ROW0 | Row 0 signal |
|
A8/84 | 3.3V | ROW1 | Row 1 signal |
|
A7/85 | 3.3V | ROW2 | Row 2 signal |
|
A6/86 | 3.3V | ROW3 | Row 3 signal |
|
A9/87 | 3.3V | COL0 | Column 0 signal |
|
B8/88 | 3.3V | COL1 | Column 1 signal |
|
B7/89 | 3.3V | COL2 | Column 2 signal |
|
B6/90 | 3.3V | COL3 | Column 3 signal |
|
Y9/160 | 3.3V | ROW4 | Row 4 signal |
|
Y14/161 | 3.3V | ROW5 | Row 5 signal |
|
V18/105 | 3.3V | ROW6 | Row 6 signal | Also on G1 |
Y17/106 | 3.3V | ROW7 | Row 7 signal | Also on G2 |
T1/162 | 3.3V | COL4 | Column 4 signal |
|
U2/163 | 3.3V | COL5 | Column 5 signal |
|
V17/107 | 3.3V | COL6 | Column 6 signal | Also on G3 |
Y16/108 | 3.3V | COL7 | Column 7 signal | Also on F1 |
General Purpose Timer (GPT)
Overview
The i.MX25 has 4 General Purpose Timers (GPT). These have compare and capture inputs that are available on the Topaz Module interface.
Features
- One 32-bit upcounter with clock source selection, including external clock
- Two input capture channels with programmable trigger edge.
- Three output compare channels with programmable output mode. Forced compare feature also available
- Can be programmed to be active in low-power mode
- Interrupt generation at capture, compare, rollover events
- Free-running or restart modes for counter operation
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
GPT1 |
|
|
|
|
J4/14 | 3.3V | CAPIN1 | Capture event for capture channel 1 |
|
H4/15 | 3.3V | CMPOUT1 | Indicator for compare event occurrence in compare channel 1 |
|
GPT2 |
|
|
|
|
T1/162 | 3.3V | CAPIN1 | Capture event for capture channel 1 |
|
U2/163 | 3.3V | CMPOUT1 | Indicator for compare event occurrence in compare channel 1 |
|
GPT3 |
|
|
|
|
D2/10 | 3.3V | CAPIN1 | Capture event for capture channel 1 |
|
D1 | 3.3V | CMPOUT1 | Indicator for compare event occurrence in compare channel 1 |
|
GPT4 |
|
|
|
|
E2/50 | 3.3V | CAPIN1 | Capture event for capture channel 1 |
|
E1/22 | 3.3V | CMPOUT1 | Indicator for compare event occurrence in compare channel 1 |
|
Enhanced Periodic Interrupt Timer (EPIT)
Overview
The enhanced periodic interrupt timer (EPIT) is a 32-bit set-and-forget timer that begins counting after the EPIT is enabled by software. It is capable of providing precise interrupts at regular intervals with minimal processor intervention. There are X of these modules on the i.MX25 and they include an output signal which is available on the Topaz Module.
Features
- 32-bit down counter with clock source selection
- 12-bit prescaler for division of input clock frequency
- Counter value can be programmed on the fly
- Can be programmed to be active during low-power modes
- Interrupt generation when counter reaches the Compare value
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
EPIT1 |
|
|
|
|
Y8/165 | 3.3V | EPITO | Output pin for indication of occurrence of output compare event through a specified transition. | Also on Y6 |
EPIT2 |
|
|
|
|
J4/14 | 3.3V | EPITO | Output pin for indication of occurrence of output compare event through a specified transition. |
|
Pulse-Width Modulator (PWM)
Overview
The i.MX25 includes 4 Pulse-Width Modulator channels. These have a 16-bit resolution and include a FIFO to generate sound.
Features
- 16-bit up-counter with clock source selection
- 4×16 FIFO to minimize interrupt overhead
- 12-bit prescaler for division of clock
- Sound and melody generation
- Active high or active low configured output
- Can be programmed to be active in low-power and debug modes
- Interrupts at compare and rollover
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
PWM1 |
|
|
|
|
E1/22 | 3.3V | PWMO | PWM Output |
|
PWM2 |
|
|
|
|
B3/20 | 3.3V | PWMO | PWM Output | Also on Y9 |
PWM3 |
|
|
|
|
Y14/161 | 3.3V | PWMO | PWM Output |
|
PWM4 |
|
|
|
|
E2/50 | 3.3V | PWMO | PWM Output | Also on T1 |
1-Wire Interface
Overview
The 1-Wire Module provides access to devices that comply with the Maxim-Dallas define protocol.
Features
- Performs the 1-Wire bus protocol to communicate with an external 1-Wire device
- Provides a clock divider to generate a 1-Wire bus reference clock (derived from the main clock provided internally to the module)
- Supports byte transfers with optional interrupts for more efficient programming
- Provides search ROM accelerator mode to speed the search ROM protocol
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
M3/74 | 3.3V | LINE | 1-wire signal |
|
Watchdog (WDOG)
Overview
The i.MX25 includes watchdog functionality as a method of escaping from unexpected events or programming errors.
Features
- A configurable time-out counter with time-out periods from 0.5 seconds up to 128 seconds and after time-out expiration results in assertion of the wdog_rst reset signal
- Time resolution of 0.5 seconds
- A configurable time-out counter that can be programmed to run or stop during low-power modes
- A configurable time-out counter that can be programmed to run or stop during DEBUG mode
- Programmable interrupt generation prior to time-out
- The time duration between interrupt and time-out events can be programmed from 0 to 127.5 seconds in steps of 0.5 seconds
- A power-down counter with a fixed time-out period of 16 seconds which, if not disabled after reset, asserts the WDOG signal low
- The power-down counter is enabled out of any reset (POR, Warm / Cold reset) by default
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
E2/50 | 3.3V | WDOG_B | This signal powers down the module. Refer to the i.MX25 Reference Manual for further detail. | Also on U2 |
Subscriber Identification Module (SIM)
Overview
The i.MX25 includes 2 Subscriber Identification Modules (SIM). Each SIM is designed to facilitate communication to SIM cards or Eurochip pre-paid phone cards. The SIM Module has two ports that can be used to interface with the various cards. The interface with the core is a 32-bit connection as described in the reference document IP Bus Specification.
Signals
Pad/Pin | Voltage | Signal Name | Description | Notes |
---|---|---|---|---|
SIM1 |
|
|
|
|
V19/101 | 3.3V | CLK0 | Clock for the smartcard on port0 |
|
U19/102 | 3.3V | RST0 | Reset signal for port0 |
|
T19/103 | 3.3V | VEN0 | Vcc enable for port0 |
|
Y18/104 | 3.3V | TX0 | Transmit data for port0 |
|
V18/105 | 3.3V | PD0 | Card insertion detect for port0 |
|
Y17/106 | 3.3V | RX0 | Receive data signal for port0 |
|
J19/166 | 1.8V | CLK1 | Clock for the smartcard on port1 | Also on L1 (3.3V) |
J18/167 | 1.8V | RST1 | Reset signal for port1 | Also on L2 (3.3V) |
K18/168 | 1.8V | VEN1 | Vcc enable for port1 | Also on L3 (3.3V) |
M17/169 | 1.8V | TX1 | Transmit data for port1 | Also on K1 (3.3V) |
L19/170 | 1.8V | PD1 | Card insertion detect for port1 | Also on K2 (3.3V) |
B13/171 | 1.8V | RX1 | Receive data signal for port1 | Also on K3 (3.3V) |
SIM2 |
|
|
|
|
V17/107 | 3.3V | CLK0 | Clock for the smartcard on port0 |
|
Y16/108 | 3.3V | RST0 | Reset signal for port0 |
|
V14/111 | 3.3V | VEN0 | Vcc enable for port0 |
|
Y15/110 | 3.3V | TX0 | Transmit data for port0 |
|
V16/109 | 3.3V | PD0 | Card insertion detect for port0 |
|
V15/112 | 3.3V | RX0 | Receive data signal for port0 |
|
N17/172 | 1.8V | CLK1 | Clock for the smartcard on port1 | Also on J1 (3.3V) |
M14/173 | 1.8V | RST1 | Reset signal for port1 | Also on J2 (3.3V) |
M16/174 | 1.8V | VEN1 | Vcc enable for port1 | Also on L4 (3.3V) |
L18/175 | 1.8V | TX1 | Transmit data for port1 | Also on K4 (3.3V) |
K19/176 | 1.8V | PD1 | Card insertion detect for port1 | Also on F2 (3.3V) |
N15/177 | 1.8V | RX1 | Receive data signal for port1 | Also on F3 (3.3V) |