SPEAr320 expansion board for HMI applications, revision 2
Introduction
This document applies to revision 2 EVALSPEAR320HMI expansion boards.
This board is intended to be used in conjunction with a SPEAr320 CPU board (sold
separately) to evaluate the SPEAr320 microprocessor with a variety of devices, especially in
its SMII automation networking mode.
Note:The SPEAr320 CPU board order code is EVALSPEAR320CPU.
The EVALSPEAr320HMI evaluation board is shipped in protective anti-static packaging. Do
not submit the board to high electrostatic potentials, and follow good practices for working
with static sensitive devices.
●Wear an anti-static wristband. Wearing a simple anti-static wristband can help
prevent ESD from damaging the board.
●Zero potential. Always touch a grounded conducting material before handling the
board, and periodically while handling it.
●Use an anti-static mat. When configuring the board, place it on and anti-static mat to
reduce the possibility of ESD damage.
●Handle only the edges. Handle the board by its edges only, and avoid touching board
components.
3.2 Connecting
1.Carefully plug the CPU board into the expansion board.
2. On the EVALSPEAr320CPU board, set Switch 2 to parallel NAND 8 boot mode:
Positions 1, 4, 6, and 7: OffPositions 2, 3, 5, and 8: On
3. Connect a serial cable from the expansion board (connector CN500: RS232_0/UART0)
to the host PC (see Figure 2: Expansion board layout).
4. On the host PC running Windows or Linux, start the Terminal program.
5. Connect a power supply to the SPEAr320 HMI evaluation board as described in
Section 4.6: Power supply on page 15.
6. Apply power to the board. The Terminal program displays a sequence of boot
messages followed by the Linux console prompt.
For more information, refer to user manual UM0844, Getting started with Linux for SPEAr,
available at www.st.com/spear.
3.3 Booting
The SPEAr320 HMI evaluation board can boot a Linux kernel pre-installed in the parallel
NAND Flash. At power on, the serial port outputs a brief header message with some uBoot
information (uBoot version, SDK version, and some internal hardware information). At this
point you can choose to:
●Stop the system directly in uBoot: Before the boot delay time expires (default is
3 seconds), press the spacebar on the host computer’s keyboard.
●Boot Linux: The system boot is finished when the login prompt appears in the console.
The default login user name for super user is root; no password is required.
8/36Doc ID 18410 Rev 3
EVALSPEAr320HMIBlock descriptions and configurations
www.BDTIC.com/ST
4 Block descriptions and configurations
●MicroSD card power up
●Ethernet on page 10
●TFT LCD with touch on page 10
–Connecting an LCD on page 11
–Connecting a touch screen on page 12
●CAN on page 13
●RS232 transceivers (U500 and U501) on page 14
●Power supply on page 15
●Dual interface EEPROM (U702) on page 15
●NAND flash memory (U100) on page 15
●Audio output on page 16
●LEDs (LD700 through LD703) on page 16
●Reset button (B700) on page 16
Note:See also: Chapter 5: Connector pinouts on page 17
4.1 MicroSD card power up
The MicroSD card connector is on the EVALSPEAR320HMI SDIO interface.
To power-up the MicroSD card properly:
1.Detect card insertion.
Card detection is managed by the standard SDIO signal SDCD.
2. Enable the single channel power switch U801 by means of PL_GPIO42 (active low).
By default, U801 power output is disabled by the R808 pull-up resistor connected to the
power switch enable pin.
JP800 controls the MicroSD card access that manipulates the MicroSD interface Write
Protect signal. By default JP800 is closed, and the card is used in Write-Enabled mode.
See also: MicroSD card connector (CN800) on page 24
Doc ID 18410 Rev 39/36
Block descriptions and configurationsEVALSPEAr320HMI
www.BDTIC.com/ST
4.2 Ethernet
The board has one Ethernet PHY (U300) connected through the media-independent
interfaces (MII) to the Ethernet MAC on the CPU board processor.
Ethernet PHY default MII addresses: 0x01
Two LEDs embedded in the RJ45 connector (CN300) indicate the line status:
●The green LED is on whenever the Ethernet is linked.
●The yellow LED blinks during TX or RX activity.
Ta bl e 1 lists the Ethernet Phy default configuration.
Table 1.Ethernet PHYU300 default configuration
FunctionDefault configuration
Auto negotiation Enabled
10/100 Mbits 100 Mbits selected for auto negotiation advertisement
Half/Full duplex Full duplex selected for auto negotiation advertisement
Internal Loopback Disabled
Power down Disabled (PHY is not in Power down)
MII/RMII mode MII selected
4.3 TFT LCD with touch
The expansion board has one 5.7” LCD screen that is attached to the internal SPEAr320
LCD controller.
TFT LCD display characteristics
●Resolution: 640 x 480 pixels
●Display colors: up to 16.7M
●24-bit RGB parallel interface
The LCD module has white LED backlight and a resistive touch panel. The complete LCD
module, including backlight, is connected to the 3.3V power domain. LED backlight can be
manually powered on or off using JP600; if JP600 is left open, the backlight can be powered
by the microprocessor PWM signal (PWM0). See Ta bl e 2
Table 2.LCD module backlight control
JumperDescriptionConfiguration
JP600
LCD backlight: on; Intensity: 100%
LCD backlight: off; Intensity: 0%
LCD backlight can be controlled using MPU PWM channel 0
Intensity: according to the PWM duty cycle
Recommended signal operational frequency: 1.5 kHz
3
2
1
3
2
1
3
2
1
10/36Doc ID 18410 Rev 3
EVALSPEAr320HMIBlock descriptions and configurations
www.BDTIC.com/ST
4.3.1 Connecting an LCD
The expansion board has two physical interfaces for Emerging Display Technologies (EDT)
LCDs:
See also ET057010DHU LCD interface connector (J600) on page 19
●J601
–for devices that have EDT displays with a unified interface
–16bpp
One bpp is normally not used, but this pixel is still output. It can be used as a
bright bit to connect to the least significant bit (LSB) of R, G, and B components of
a 6:6:6 TFT panel.
–direct 5:5:5 RGB
This interface can cover LCD screens from 3.5 to 7 inches (such as ET057090DHU
and ET070080DH6).
Table 4 on page 11 lists J601 configuration options.
See also EDT unified LCD interface connector (J601) on page 19
Table 3.J600 configuration options (ET057010DHU)
JumperDescriptionConfiguration
SB600, SB601:
Left/right internal shift register
direction settings