ST EVALSPEAr320HMI, UM1045, SPEAr320 User Manual

EVALSPEAr320HMI
www.BDTIC.com/ST
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.
UM1045
User manual
Expansion board
CPU board
April 2011 Doc ID 18410 Rev 3 1/36
www.st.com
Contents EVALSPEAr320HMI
www.BDTIC.com/ST
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Block diagram and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1 Unpacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2 Connecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Booting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Block descriptions and configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1 MicroSD card power up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.3 TFT LCD with touch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.3.1 Connecting an LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.3.2 Connecting a touch screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.4 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.5 RS232 transceivers (U500 and U501) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.6 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.7 Dual interface EEPROM (U702) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.8 NAND flash memory (U100) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.9 Audio output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.10 LEDs (LD700 through LD703) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.11 Reset button (B700) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.12 Setting ADC conversion limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5 Connector pinouts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1 CAN DB9 plug connectors (CN400 and CN401) . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2 Ethernet RJ45 connector (CN300) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.3 RS232/UART0 DB9 plug connector (CN500) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.4 RS232/UART2 DB9 plug connector (CN501) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.5 RS232/UART1 DB9 plug connector (CN502) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.6 ET057010DHU LCD interface connector (J600) . . . . . . . . . . . . . . . . . . . . . . . . 19
2/36 Doc ID 18410 Rev 3
EVALSPEAr320HMI Contents
www.BDTIC.com/ST
5.7 EDT unified LCD interface connector (J601) . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.8 STMPE811 touch screen connectors (CN600 & TS_CN600) . . . . . . . . . . . . . . 20
5.9 General purpose ADC connector CN700 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.10 General purpose GPIO, I2C connector (CN701) . . . . . . . . . . . . . . . . . . . . . . . . 22
5.11 Primer2 extension connector (CN702) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.12 Unified power line modem (PLM) connector (CN704) . . . . . . . . . . . . . . . . . . . . 23
5.13 Mono 3.5 mm audio jack connector (CN703) . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.14 MicroSD card connector (CN800) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.15 Power supply connectors (CN900 and CN901) . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.16 SPEAr320 CPU board 86-pin connectors (J1 and J2) . . . . . . . . . . . . . . . . . . . . 25
Appendix A Expansion board components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Appendix B License agreements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Doc ID 18410 Rev 3 3/36
Tables EVALSPEAr320HMI
www.BDTIC.com/ST
Tables
Table 1. Ethernet PHYU300 default configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 2. LCD module backlight control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 3. J600 configuration options (ET057010DHU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 4. J601 configuration options (unified interface displays) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 5. CAN0 transceiver settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 6. CAN1 transceiver settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 7. UART0 RS232 handshake enable configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 8. Bringing UART0/RS232 transceiver signals from the CPU board . . . . . . . . . . . . . . . . . . . 14
Table 9. U900 DC/DC converter jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 10. General purpose LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 11. CAN DB9 plug connector pinouts (CN400 and CN401) . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 12. Ethernet RJ45 connector pinout (CN300). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 13. RS232/UART0 DB9 plug connector pinout (CN500) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 14. RS232/UART2 DB9 plug connector pinout (CN501) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 15. RS232/UART1 DB9 plug connector pinout (CN502) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 16. ET057010DHU LCD interface connector pinout (J600) . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 17. EDT Unified LCD interface connector pinout (J601). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 18. STMPE811 touch screen connector pinouts (CN600 & TS_CN600) . . . . . . . . . . . . . . . . . 20
Table 19. General purpose ADC connector pinout (CN700) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 20. General purpose GPIO, I2C connector pinout (CN701) . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 21. Primer2 extension connector pinout (CN702). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 22. Unified power line modem (PLM) connector pinout (CN704) . . . . . . . . . . . . . . . . . . . . . . . 23
Table 23. Mono 3.5 mm audio jack connector pinout (CN703) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 24. MicroSD card connector pinout (CN800) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 25. Power supply connector pinouts (CN900 and CN901) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 26. SPEAr320 CPU board connectors J1 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 27. SPEAr320 CPU board connectors J2 pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 28. Expansion board components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 29. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4/36 Doc ID 18410 Rev 3
EVALSPEAr320HMI Figures
www.BDTIC.com/ST
Figures
Figure 1. Expansion board block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 2. Expansion board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 3. SPEAr320 CPU board 86-pin connector pinouts (J1 and J2). . . . . . . . . . . . . . . . . . . . . . . 25
Doc ID 18410 Rev 3 5/36
Features EVALSPEAr320HMI
www.BDTIC.com/ST

1 Features

1 x Ethernet RJ45 connector (ST802RT1A)
1x LCD interface for 5.7” 640x480 EDT screen (ET057010DHU)
1x Unified LCD interface (EDT displays with Unified interface)
1x Resistive touch screen interface (STMPE811)
2 x CAN DB9 plug connectors
3 x RS232 DB9 plug connectors (ST3232EBTR)
Onboard temperature sensor and potentiometer (STMPE811)
64 Kbit dual interface EEPROM: ISO 15693 and ISO 18000-3 mode 1 compliant
contactless interface + I2C (M24LR64)
4Gb NAND flash memory
PWM mono audio output
Analog extension connector featuring 8 ADC lines
General purpose extension connector with GPIOs and I2C functionality
Unified Power Line modem (PLM) connector
Raisonance Primer2 extension boards interface connector
DC/DC converter L7986A (+24V/+5V)
MicroSDcard socket
4 LEDs
2 general purpose buttons
System reset button

2 Block diagram and layout

Figure 1. Expansion board block diagram

Buttons
Reset
DC/DC
+5V
RJ45
GPIO/12C connector
Pote ntiometer
Temperature
ADC connector
6/36 Doc ID 18410 Rev 3
LEDs
Micro
SD card
ST802RT1A
DB9/M DB9/M DB9/M
RS232
RS232 RS232
SPEArTM320
CPU
board
(sold separately)
FLASH
NAND 4 Gb
5.7 inch TFT LCD with TOUCH
640 x 480
CAN 1
CAN 2
Primer2 ext. interface
Unified PLM interface
Audio output
Dual EPROM
DB9/M
DB9/M
www.st.com
EVALSPEAr320HMI Block diagram and layout
www.BDTIC.com/ST

Figure 2. Expansion board layout

CN600
Touch-screen
interface
Touch sensing +
U600
temperature
sensor
R609
Potentiometer
U702
Dual interface
EEPROM +
antenna
B601
User button 1
B602
User button 2
U100
NAND flash
Buzzer
R713 Volume control
CN703 Audio out
J601 Unified LCD connector
CN800 MicroSD card
J600 LCD connector
CN704 Unified PLM connector
CN700 ADC connector
CN401
CAN1
CN400
CAN0
LEDs
B700
Reset
CN901,
CN900
Power plugs
CN500 RS232_0 UART0
CN502 RS232_1 UART1
CN501 RS232_2 UART2
CN701 GPIO, 12C connector
CN702 Primer2 extensions connector
CN300 Ethernet0
SPEAr320 CPU board
(sold separately)
Doc ID 18410 Rev 3 7/36
Getting started EVALSPEAr320HMI
www.BDTIC.com/ST

3 Getting started

3.1 Unpacking

Warning: This board contains static sensitive devices.
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: Off Positions 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/36 Doc ID 18410 Rev 3
EVALSPEAr320HMI Block 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 3 9/36
Block descriptions and configurations EVALSPEAr320HMI
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

Function Default 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

Jumper Description Configuration
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/36 Doc ID 18410 Rev 3
EVALSPEAr320HMI Block 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:
J600
for ET057010DHU –24bpp – direct 8:8:8 RGB signaling
Ta bl e 3 lists J600 configuration options.
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)
Jumper Description Configuration
SB600, SB601:
Left/right internal shift register direction settings
SB602, SB603: Up/down scan settings
Table 4. J601 configuration options (unified interface displays)
Jumper Description Configuration
L/R: STH->S0960->…->S01->STHO
SB610, SB611: Rotate settings
SB604, SB605: Blue LSB setting
U/D: Reverse Scan
L/R: STH->S01->…->S0960->STHO U/D: Normal Scan (Default)
Blue LSB bit connected to the blue MSB bit
Intensity bit connected to the Blue LSB bit
STH->S01->…->S0960->STHO (Default)
STH->S0960->…->S01->STHO
Reverse scan
Normal scan (Default)
SB600: open SB601: close
SB600: close SB601: open
SB602: open SB603: close
SB602: close SB603: open
SB610: open SB611: closed
SB610: closed SB611: open
SB604: open SB605: closed
SB604: closed SB605: open
Doc ID 18410 Rev 3 11/36
Loading...
+ 25 hidden pages