ST EVALSPEAr320HMI User Manual

Summary of EVALSPEAr320HMI

  • Page 1

    April 2011 doc id 18410 rev 3 1/36 um1045 user manual evalspear320hmi 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 separate...

  • Page 2: Contents

    Contents evalspear320hmi 2/36 doc id 18410 rev 3 contents 1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 block diagram and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3 getting ...

  • Page 3: Www.Bdtic.Com/st

    Evalspear320hmi contents doc id 18410 rev 3 3/36 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 . . . . . . . . . . ...

  • Page 4: Tables

    Tables evalspear320hmi 4/36 doc id 18410 rev 3 tables table 1. Ethernet phyu300 default configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 2. Lcd module backlight control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 5: Figures

    Evalspear320hmi figures doc id 18410 rev 3 5/36 figures figure 1. Expansion board block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 2. Expansion board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 6: 1 Features

    Features evalspear320hmi 6/36 doc id 18410 rev 3 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 conn...

  • Page 7: Www.Bdtic.Com/st

    Evalspear320hmi block diagram and layout doc id 18410 rev 3 7/36 figure 2. Expansion board layout cn600 touch-screen interface r609 potentiometer u600 touch sensing + temperature sensor u702 dual interface eeprom + antenna b601 user button 1 b602 user button 2 u100 nand flash cn401 can1 leds cn400 c...

  • Page 8: 3 Getting

    Getting started evalspear320hmi 8/36 doc id 18410 rev 3 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 goo...

  • Page 9: 4.1

    Evalspear320hmi block descriptions and configurations doc id 18410 rev 3 9/36 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 transceiv...

  • Page 10: 4.2

    Block descriptions and configurations evalspear320hmi 10/36 doc id 18410 rev 3 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...

  • Page 11: Www.Bdtic.Com/st

    Evalspear320hmi block descriptions and configurations doc id 18410 rev 3 11/36 4.3.1 connecting an lcd the expansion board has two physical interfaces for emerging display technologies (edt) lcds: ● j600 – for et057010dhu – 24 bpp – direct 8:8:8 rgb signaling table 3 lists j600 configuration options...

  • Page 12: Www.Bdtic.Com/st

    Block descriptions and configurations evalspear320hmi 12/36 doc id 18410 rev 3 4.3.2 connecting a touch screen see also: stmpe811 touch screen connectors (cn600 & ts_cn600) on page 20 the expansion board provides two ways to use the spear320 touch screen interface. ● the first is based on the spear3...

  • Page 13: 4.4 Can

    Evalspear320hmi block descriptions and configurations doc id 18410 rev 3 13/36 4.4 can the evalspear320hmi evaluation board supports two channels of can2.0a/b compliant can bus communication, based on a 3.3 v can transceiver. High-speed mode, standby mode, and slope control mode are selected by sett...

  • Page 14: 4.5 Rs232

    Block descriptions and configurations evalspear320hmi 14/36 doc id 18410 rev 3 4.5 rs232 transceivers (u500 and u501) the board has three rs232 db9 plug connectors; see also: ● rs232/uart0 db9 plug connector (cn500) on page 18 ● rs232/uart2 db9 plug connector (cn501) on page 18 ● rs232/uart1 db9 plu...

  • Page 15: 4.6

    Evalspear320hmi block descriptions and configurations doc id 18410 rev 3 15/36 4.6 power supply there are two ways to supply power to the spear320 hmi evaluation board: ● connect the +5 v voltage adapter (included in the evalspear320hmi package) to the j11 power voltage connector on the cpu board. ●...

  • Page 16: 4.9

    Block descriptions and configurations evalspear320hmi 16/36 doc id 18410 rev 3 4.9 audio output using pwm modulation, the spear320 hmi board, revision 2.0 has mono audio output on spear320 pwm channel 1. If pl_gpio37/pwn1 is occupied by an alternate function (uart0_rts), pwm channel 2 (pwm2) can be ...

  • Page 17: 5 Connector

    Evalspear320hmi connector pinouts doc id 18410 rev 3 17/36 5 connector pinouts 5.1 can db9 plug connectors (cn400 and cn401) 5.2 ethernet rj45 connector (cn300) table 11. Can db9 plug connector pinouts (cn400 and cn401) pin description pin description 1, 4, 8 nc 7 canh 2 canl 3, 6 gnd 5 chassis 9 op...

  • Page 18: 5.3

    Connector pinouts evalspear320hmi 18/36 doc id 18410 rev 3 5.3 rs232/uart0 db9 plug connector (cn500) 5.4 rs232/uart2 db9 plug connector (cn501) 5.5 rs232/uart1 db9 plug connector (cn502) table 13. Rs232/uart0 db9 plug connector pinout (cn500) pin description pin description 1 nc (r500 r79 can inter...

  • Page 19: 5.6

    Evalspear320hmi connector pinouts doc id 18410 rev 3 19/36 5.6 et057010dhu lcd interface connector (j600) 5.7 edt unified lcd interface connector (j601) table 16. Et057010dhu lcd interface connector pinout (j600) pin description pin description pin description pin description 1 l/r 11 cllp (hsync) 2...

  • Page 20: 5.8

    Connector pinouts evalspear320hmi 20/36 doc id 18410 rev 3 5.8 stmpe811 touch screen connectors (cn600 & ts_cn600) 7 nreset 17 cld9 (g3) 27 intensity bit / cld5 (r0) 37 touch_yu 8 cld17 (b5) 18 cld8 (g2) 28 clcp (dclk) 38 touch_xr 9 cld16 (b4) 19 cld7 (g1) 29 gnd 39 touch_yd 10 cld15 (b3) 20 intensi...

  • Page 21: 5.9 General

    Evalspear320hmi connector pinouts doc id 18410 rev 3 21/36 5.9 general purpose adc connector cn700 connector cn700 has eight analog input lines available. In the expansion, ensure the following relationship between the pins: 0v ≤ cn700-1 ≤ cn700-3 – cn700-17 ≤ cn700-19 ≤ +2.5v gnd ≤ adc_vrefn ≤ ain0...

  • Page 22: 5.10

    Connector pinouts evalspear320hmi 22/36 doc id 18410 rev 3 5.10 general purpose gpio, i2c connector (cn701) 5.11 primer2 extension connector (cn702) table 20. General purpose gpio, i2c connector pinout (cn701) pin description pin description pin description pin description 1 +3v3 6 pl_gpio5 (i2c_sda...

  • Page 23: 5.12

    Evalspear320hmi connector pinouts doc id 18410 rev 3 23/36 5.12 unified power line modem (plm) connector (cn704) 5.13 mono 3.5 mm audio jack connector (cn703) table 22. Unified power line modem (plm) connector pinout (cn704) pin description pin description 1 +3v3 8 nc 2 nc 9 pl_gpio34 3 uart2_rx 10 ...

  • Page 24: 5.14

    Connector pinouts evalspear320hmi 24/36 doc id 18410 rev 3 5.14 microsd card connector (cn800) see also: microsd card power up on page 9 . 5.15 power supply connectors (cn900 and cn901) table 24. Microsd card connector pinout (cn800) pin number description pin number description 1 sdat2 (pl_gpio45) ...

  • Page 25: 5.16

    Evalspear320hmi connector pinouts doc id 18410 rev 3 25/36 5.16 spear320 cpu board 86-pin connectors (j1 and j2) the two 86 pin connectors j1 and j2 are used to connect the expansion board with the spear320 cpu board. Figure 3. Spear320 cpu board 86-pin connector pinouts (j1 and j2) table 26. Spear3...

  • Page 26: Www.Bdtic.Com/st

    Connector pinouts evalspear320hmi 26/36 doc id 18410 rev 3 27 mii1_txd2 56 +2v5 85 gnd 28 mii1_txclk 57 mii1_txer 86 gnd 29 mii1_rxclk 58 inreset table 26. Spear320 cpu board connectors j1 pins (continued) pin description pin description pin description table 27. Spear320 cpu board connectors j2 pin...

  • Page 27: Appendix A

    Evalspear320hmi expansion board components doc id 18410 rev 3 27/36 appendix a expansion board components table 28. Expansion board components designator description order c308, c309 12 pf capacitor farnell 1710173 cn704 gm: mlw14g header, 7-pin, dual row farnell: 1099256 r609 potentiometer, 10 kb v...

  • Page 28: Www.Bdtic.Com/st

    Expansion board components evalspear320hmi 28/36 doc id 18410 rev 3 r714 22k resistor farnell: 1631332 r603, r608, r705, r901 100 Ω resistor farnell: 1632390 r707 1k0 resistor farnell: 1632391 r300, r314, r712 1.2 k Ω resistor farnell: 1632396 r903 1.5 k Ω resistor farnell: 1632406 r312, r317 2 k Ω ...

  • Page 29: Www.Bdtic.Com/st

    Evalspear320hmi expansion board components doc id 18410 rev 3 29/36 l300, l301 ferrite bead ferrite bead farnell: 9528172 c801, c906, c908, c909, c914, c917, c918, c919, c920 22uf/6.3v polarized capacitor (b) farnell:1432361 cn300 rj45 ethernet connector with integrated magnetics pulse: j00-0086nl j...

  • Page 30: Appendix B

    License agreements evalspear320hmi 30/36 doc id 18410 rev 3 appendix b license agreements demo product license agreement by using this demonstration product, you are agreeing to be bound by the terms and conditions of this agreement. Do not use this demonstration product until you have read and agre...

  • Page 31: Www.Bdtic.Com/st

    Evalspear320hmi license agreements doc id 18410 rev 3 31/36 aggregate liability to you or any third party under this agreement for any cause action, whether based on contract, tort, or any other legal theory, relating to or in connection with the demo product, the documentation or this agreement sha...

  • Page 32: Www.Bdtic.Com/st

    License agreements evalspear320hmi 32/36 doc id 18410 rev 3 software license agreement this software license agreement ("agreement") is displayed for you to read prior to downloading and using the licensed software. If you choose not to agree with these provisions, do not download or install the enc...

  • Page 33: Www.Bdtic.Com/st

    Evalspear320hmi license agreements doc id 18410 rev 3 33/36 you will inform all your employees who are given access to the source code of the licensed software of the foregoing requirements, and you will take all reasonable precautions to ensure and monitor their compliance with such requirements. Y...

  • Page 34: Www.Bdtic.Com/st

    License agreements evalspear320hmi 34/36 doc id 18410 rev 3 severability if any provision of this agreement is or becomes, at any time or for any reason, unenforceable or invalid, no other provision of this agreement shall be affected thereby, and the remaining provisions of this agreement shall con...

  • Page 35: Revision History

    Evalspear320hmi revision history doc id 18410 rev 3 35/36 revision history table 29. Document revision history date revision changes 4-apr-2011 1 initial release 6-apr-2011 2 section 4.1: microsd card power up : jp800 default changed to closed. Section 4.5: rs232 transceivers (u500 and u501) : – in ...

  • Page 36: Www.Bdtic.Com/st

    Evalspear320hmi 36/36 doc id 18410 rev 3 please read carefully: information in this document is provided solely in connection with st products. Stmicroelectronics nv and its subsidiaries (“st”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the p...