E-Con CX3RDK Hardware UserManual
E-Con CX3RDK Hardware UserManual
www.e-consystems.com
http://www.e-consystems.com/
The Denebola RDK developed using EZ-USB® CX3 is a complete RDK and has the OmniVision OV5640
CMOS image sensor interfaced to it through a two-lane MIPI CSI-2 interface. This is a fully functional
camera RDK that can stream uncompressed 720p60, 1080p30, and 5 MP at 15 fps. Denebola RDK is a two-
board solution containing a base board designed around the Cypress CX3 USB3.0 peripheral controller
and the camera daughter board designed using the OmniVision OV5640 CMOS image-sensor-based auto-
focus camera module.
2. SCOPE
This hardware user manual details the hardware features of the Denebola RDK; electrical and mechanical
specification; and provides detailed information about the interfaces available on the CX3 RDK.
3. PREREQUISITES
Please refer to the Cypress documentation for information on the CX3 SDK and the USB Control Center.
4. FEATURES
Two-board solution containing a base board based on CX3 and a camera daughter board based on
e-CAM52_MI5640_MOD
Samtec high-speed connector for a four-lane MIPI to support the Aptina demo3 image-sensor
board interface
OmniVision OV5640 daughter board interfaced through a two-lane MIPI CSI-2 interface
RS232-level UART port for debugging and other communication
SPI Flash and I2C EEPROM for firmware storage
User-configurable GPIOs from the GPIO header
USB bus-powered and also powered by an external 5-V supply
JTAG interface
Maximum frame rates for Preview and Capture
o VGA - 60 fps
o HD (720p) - 60 fps
o Full HD (1080p) - 30 fps
o 5 MP (2592 x 1944) - 15 fps
o Preview format: YUV422 (16 bits per pixel)
Still Image Capture
o 5 MP (2592 x 1944) resolution
o YUV422 (16 bits per pixel) format
I2C
EEPROMs
UART
BUFFER
3.3V LDO
SPI FLASH
RS232
LINE
DRIVER
The DENEBOLA kit consists of two boards used to demonstrate the CX3 5MP MIPI Camera.
By default, the CX3 RDK comes with the OV5640 daughter board fixed onto the CX3 RDK base board. The
CX3 RDK setup is shown in Figure6.3.
8. BOARD SPECIFICATION
The USB3.0 and USB2.0 lines go through an ESD protection device for additional ESD protection. The CX3
RDK board can be bus-powered using the VBUS pin on the connector.
Self power: Use the external DC 5-V, 1-A power adapter (not supplied with the RDK).
The Slide switch (SW3) is provided for power selection from either of the above sources, as explained
in the Table 8.1 and Figure 8.3.
The green LED (D4) glows when the board is powered on.
USB3.0 Cable
[VBUS]
External Power
Adapter
[DC: 5V]
Power -On
LED(D4)
The four-lane MIPI CSI-2 interface from CX3 is routed to a Samtec high-speed interface connector (CN10).
The OmniVision OV5640 sensor-based daughter board is designed to plug in with this connector. The
daughter-board image data communication occurs through a two-lane MIPI CSI-2 interface.
This connector (CN10) interface is also compatible with the Aptina DEMO3 Sensor Head Board interface.
The I2C lines, a few GPIOs from the CX3, and power supplies (1.8 V, 2.8 V, and 3.3 V) are also terminated in
CN10 to support the Image Sensor daughter board interface.
The pin-out of the MIPI Interface Connector (CN10) is provided in Table 8.2.
CN10 CN10
PIN SIGNAL NAME DESCRIPTION PIN SIGNAL NAME DESCRIPTION
NO NO
MIPI Data Lane 1 MIPI Data Lane2
1 MIPI_DAT1+ 2 MIPI_DAT2+
Differential Pair + Differential Pair +
MIPI Data Lane 1 MIPI Data Lane2
3 MIPI_DAT1- 4 MIPI_DAT2-
Differential Pair - Differential Pair -
Clock from camera MIPI Data Lane3
5 CLK_OUT 6 MIPI_DAT3+
head board Differential Pair +
MIPI Data Lane3
7 NC - 8 MIPI_DAT3-
Differential Pair -
General purpose IO
9 CX3_GPIO23** 10 GND Ground
‘23’ from CX3
33 NC - 34 NC -
35 NC - 36 NC -
Serial Data line of I2C
37 CAM_I2C_SDA from base board 38 VCC2P8 2.8 V from base board
**Highlighted GPIOs are shared in both the MIPI (CN10) and the GPIO Header (CN8)
The expansion header (CN8) hosts the GPIO lines, excluding the SPI, I2C signals, and CX3 interrupt signal.
The same SPI interface that is used for on-board Flash memory is terminated here. The 0 Ω series resistor
option is provided in the schematics, in case you need to isolate these signals from the on-board SPI Flash
chip. All the GPIOs in Table 8.3 are 3.3 V logic, according to the default settings of the CX3 RDK.
The pin-out of the GPIO Expansion Header (CN8) is shown in Table 8.3.
**Highlighted GPIOs are shared in both the MIPI (CN10) and the GPIO Header (CN8).
The four-wire UART signals (TX, RX, RTS and CTS) from CX3, level translated to RS232 standard are
terminated at DB9 connector. This RS232 port can be used as a debug port by connecting to a PC.
CX3's JTAG interface provides a standard five-pin interface for connecting to a JTAG debugger. The JTAG
circuit on the RDK board provides an option to debug the firmware through the CPU core's on-chip debug
circuitry. The CX3 RDK board provides a 20-pin connector (CN4) for the JTAG debugger that encompasses
the standard JTAG interface signals.
For details on how to perform JTAG configuration and debugging, refer to the Cypress FX3/CX3
programmer’s manual. The document can be downloaded from the SDK webpage. Figure 8.5 shows the
circuit diagram of schematic connections.
The EZ-USB CX3 RDK provides several boot options. The firmware to be loaded on CX3 can be selected
from various available sources. The boot option is determined by the PMODE[2:0] input pins. The
PMODE[2:0] pins can be configured using the combination of the three-positions SPST switch (SW5).
The RDK board is designed with a combination of appropriate resistors and the SPST Switch (SW5) for
hassle-free boot-mode settings, as shown in Figure 8.6.
Table 8.4 provides the list of boot interfaces supported on the CX3 device for the corresponding
PMODE[2:0] pins configuration.
e-con Confidential Page 12
PMODE2 PMODE1 PMODE0 BOOT MODE
Float 1 1 USB
Float 1 Float I2C, with USB fallback
0 Float 1 SPI, with USB fallback
Table 8.4. Boot Mode Settings
Figure 8.7 shows the PMODE switch (SW5) of the RDK board. Move SW5 to the ON position for ‘0’ or ‘1’
selection, and to the OFF position for float selection. The board is, by default, set to PMODE[2:0]=[0Z1]
(SPI Boot).
In this mode, the firmware image is downloaded into CX3’s RAM through the USB host. The CX3RDK
board boots in USB mode if the PMODE[2:0] pins are set as[Z11].
Follow the procedure outlined here to download the firmware image to CX3 RAM.
1. Enable USB boot by setting the PMODE[2:0] pins to [Z11] as shown in Table 8.5.
PMODE[2]
PMODE[1]
PMODE[2]
2. When connected to a USB host, the CX3 device enumerates in the Cypress USB Control
Center**as "Cypress USBBootloader".
3. In the Control Center, select Program >FX3> RAM.
4. Browse to the firmware image (.img) path to be programmed into the CX3 RAM. Double-click
the .img file.
5. A Programming Succeeded message is displayed on the bottom left pane of the Control Center
and the CX3 device re-enumerates with the programmed firmware.
**Refer to Cypress documentation for information on the USB Control Center on the Cypress website.
Follow the procedure outlined here to download the firmware image to I2C EEPROM:
1. Enable USB boot by setting the PMODE[2:0] pins to [Z11], as shown in Table 8.5.
2. Connect the RDK to a PC host using the USB3.0 cable. The CX3 device enumerates in the Control
Center as Cypress USB Bootloader.
3. Select the CX3 device and choose Program >FX3 >I2C EEPROM. The CX3 device re-enumerates
as Cypress USB BootProgrammer.
4. Browse to the relevant firmware binary to be loaded on the EEPROM when prompted by the
Control Center.
NOTE: Before downloading, verify the firmware and EEPROM size and also ensure that the
address signals of the EEPROM are configured correctly.
5. The bottom left corner of the window displays Programming of I2C EEPROM Succeeded once
programming is completed.
Change the PMODE[2:0] pins on the CX3_RDK board to [Z1Z] to enable I2C boot, as shown in Table 8.6.
This is realized by moving the appropriate switches on SW5. Power on the board or press the RESET
button (SW4). The CX3_RDK board re-enumerates with the boot image in I2C EEPROM.
PMODE[0]
PMODE[1]
PMODE[2]
The typical EEPROM consists of three address lines: A2, A1, and A0. Therefore, the CX3 RDK can address
up to eight EEPROM devices by using all possible combinations of the address lines (000-111). If the
firmware image size is less than the EEPROM size, then the corresponding address lines can be pulled
low/high. If the firmware size exceeds the EEPROM size, multiple EEPROMs can be cascaded with
sequential address lines assigned to them. The address selection can be done by mounting appropriate
resistors on the address input pins.
The CX3 RDK utilizes the ATMEL, AT24CM01 EEPROM for storing the firmware image. Atmel EEPROMs
use A2 and A1 for chip select and A0 is unused. Hence a maximum of four EEPROM devices can be
interfaced for firmware storage. In this RDK, two EEPROMs (U15 and U16) are interfaced and their
address lines are fixed in the schematics.
About AT24CM01
PROPERTY VALUE
Memory 1Mbit (131,072X8)
Clock Frequency, SCL 1000 KHz (max)
Table 8.7. AT24CM01 Specifications
In this mode, the firmware image is downloaded onto an external SPI Flash. On reset, the bootloader
downloads the firmware over SPI. The board boots from Flash if the PMODE [2:0] pins are set as [0Z1].
1. Enable USB boot by setting the PMODE[2:0] pins to [Z11] as shown in Table 8.5.
2. Connect the RDK to a PC host using the USB3.0 cable. The CX3 device enumerates in the Control
Center as Cypress USB Bootloader.
3. Select the CX3 device and choose PROGRAM > FX3 > SPI FLASH from the Control Center menu.
The CX3_RDK board re-enumerates as Cypress USB BootProgrammer.
4. Browse to the relevant firmware binary (.img), wait the prompt from Control Center, and select
the image.
5. The application then starts downloading the firmware to the flash memory. The bottom left
corner of the window displays Programming of SPI FLASH Succeeded once programming has
completed.
After the firmware is programmed onto the SPI flash, change the PMODE[2:0] pins to [0Z1]. On the
CX3_RDK board, this is done using the configurations shown in Table 8.9.
PMODE[0]
PMODE[1]
PMODE[2]
The on-board flash on the CX3_RDK is Micron’s M25P40-VMN6TPB. It has 4 MB of flash memory and is SPI
serial bus compatible. It has write protect and hold pins that are hardware configurable. Options are fixed
for these pins on the CX3 RDK schematics.
The EZ-USB CX3 controller requires three clocks for normal operation.
The on-board 19.2 MHz clock is provided as an input for both the clock input and the reference. Table 8.10
provides the pin-out along with the clock frequencies applied.
PART
CLOCK FREQUENCY MANUFACTURING PART NO
REFERENCE
19.2 MHz Y2 KC5032A19.2000CM0E00
32.768KHz Y1 SG-3030LC 32.7680KB3: PURE SN
Table 8.11. CX3 RDK Clock
A supervisory IC from TI (TPS3808G01 - U22) is employed for the reset. It asserts an active low reset to
CX3 when either the SENSE or MR pins of the IC fall below the threshold voltage. The on-board push
button switch (SW4) is connected to the MR (Manual Reset) pin of TPS3808.
The external image sensor can be reset through the XRST (PIN F4) of the CX3 controller. The reset signal
for the image sensor is available on pin 31 of the MIPI Camera board connector (CN10).
9. MECHANICAL SPECIFICATION
The mechanical dimensions of the CX3 RDK are shown in Figure 9.1.
All dimensions are in millimeters.