Seiko Epson S5U13781R00C100 Demonstration Manual

For stm32 vl-discovery and xiamen zettler atm0430d5 panel
Hide thumbs Also See for S5U13781R00C100:

Advertisement

Quick Links

S5U13781R00C100
Demonstration Manual
for STM32 VL-Discovery
and XIAMEN ZETTLER ATM0430D5 Panel
Document Number: X94A-G-006-01.3
Rev. 1.3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U13781R00C100 and is the answer not in the manual?

Questions and answers

Summary of Contents for Seiko Epson S5U13781R00C100

  • Page 1 S5U13781R00C100 Demonstration Manual for STM32 VL-Discovery and XIAMEN ZETTLER ATM0430D5 Panel Document Number: X94A-G-006-01.3 Rev. 1.3...
  • Page 2 2. This evaluation board/kit or development tool is intended for use by an electronics engineer and is not a consumer product. The user should use it properly and in a safe manner. Seiko Epson does not assume any responsibility or liability of any kind of damage and/or fire caused by the use of it. The user should cease to use it when any abnormal issue occurs even during proper and safe use.
  • Page 3: Table Of Contents

    Procedure for Writing Image Data into Flash Memory ............. 15 Write Demo Sample Software into STM32 VL-Discovery ............18 Connect the S5U13781R00C100 with the STM32 VL-Discovery ..........21 Connect the S5U13781R00C100 with LCD Panel ..............22 Running Demo ........................24 Explanation of the Demo using PC ..................26...
  • Page 4 Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 5: Introduction

    For detailed specification of the S5U13781R00C100 reference board, please refer to the “S5U13781R00C100 Reference Board User Manual”. This user manual is updated as appropriate. Please check the Seiko Epson Website at http://www.epson.jp/device/semicon_e/product/lcd_controllers/reference_design/index.htm for the latest revision of this document before beginning any development.
  • Page 6: Required Materials For Demonstration System

    1.3 Required Materials for Demonstration System ■ Hardware Following parts are required to establish demonstration system. 1. S5U13781R00C100 (LCDC reference board from Epson) 2. ATM0430D5 (4.3 inch, 480x272 dots, 24 bit full color TFT LCD panel from XIAMEN ZETTLER) 3. UM232H (USB-Serial conversion board from FTDI) 4.
  • Page 7 2. STM32F10x standard peripheral library from ST Microelectronics 3. Visual C++ 2010 Express from Microsoft 4. Driver and MPSSE-SPI library for UM232H from FTDI These tools are available without charge on the web site of each vendor. Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 8: Preparation Of Demo

    D2XX driver for Windows can be downloaded from the following URL (located on the above web page). http://www.ftdichip.com/Drivers/CDM/CDM20814_WHQL_Certified.zip MPSSE-SPI library http://www.ftdichip.com/Support/SoftwareExamples/MPSSE/LibMPSSE-SPI.htm The MPSSE-SPI library (file name: libMPSSE-SPI.zip) can be downloaded from the following URL (located on the above web page). http://www.ftdichip.com/Support/SoftwareExamples/MPSSE/LibMPSSE-SPI/libMPSSE-SPI.zip Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 9: Instruction For Demo Sample Software Download

    Target tool: EWARM flash_psp1.zip Project file for data writing to M25P16 (SPI flash ROM) Target tool: Visual C++ 2010 Express demo_um232h_psp1.zip Project file for UM232H demo Target tool: Visual C++ 2010 Express Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 10: Unzip Downloaded Files

    Release noote for STM32F10x   ├ inc Directory for header files   └ src Directory for source files Contents provided by Epson are written in Italic letter. Figure 2-1 Structure of the Project Folder (STM32) Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 11 Demo image data for PSP panel (in PPM format) … image*_320x240.ppm   ├ Demo image data for QVGA panel (in PPM format) … Contents provided by Epson are written in Italic letter. Figure 2-2 Structure of The Project Folder (Flash) Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 12 Demo image data for PSP panel (in PPM format) … image*_320x240.ppm   ├ Demo image data for QVGA panel (in PPM format) … Contents provided by Epson are written in Italic letter. Figure 2-3 Structure of the project folder (UM232H) Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 13: Explanation Of The Demo Using Stm32 Vl-Discovery

    Display image data on PC will be written into the 16Mbit SPI NOR Flash standard memory (M25P16) on the S5U13781R00C100 reference board by using UM232H*. * The UM232H Single Channel USB Hi-Speed FT232H Development Module is a one chip USB-serial conversion IC from Future Technology Devices International.
  • Page 14: Write Image Data Into Flash Memory

    3.2 Write Image Data into Flash Memory 3.2.1 S5U13781R00C100 Connection with UM232H A connection example for the S5U13781R00C100 reference board and the UM232H via SPI for writing image data into the M25P16 is described in Figure 3-1, Connection with UM232H (via SPI).
  • Page 15: Procedure For Writing Image Data Into Flash Memory

    ATM0430D5 (4.3 inch, 480x272 dots, 24 bit full color TFT LCD panel from XIAMEN ZETTLER). To start, connect the S5U13781R00C100 reference board to the UM232H via SPI, and connect the UM232H to the PC via USB. See Section 3.2.1, Connection with UM232H (Control S1D13781 via SPI), for connection information.
  • Page 16 A command window is opened and the data write starts. *It may take several minutes (up to 10) to write the Epson logo image and the four photo images. Once writing completes, the command window will be closed automatically. Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 17 Epson logo (PIP window): Written as 8bpp gray scale and by using the Look Up Table (LUT) the S1D13781 expands this to a color image Four photo images (Main window): Written as 16bpp image data Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 18: Write Demo Sample Software Into Stm32 Vl-Discovery

    “\demo_stm32vl_psp\STM32F10x_StdPeriph_Lib_V3.5.0\Project”. Here, if the window opens which states “Can not open this file”, then launch “IAR Embedded Workbench” from the Windows start menu. ↓ EWARM is launched and project file is opened. Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 19 Select “Project” from the menu → “Rebuild All” from the sub menu. ↓ Download the code to the STM32 VL-Discovery and write it into Flash. Select “Project” from the menu → “Download” from the sub menu → “Download active application” ↓ Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 20 Explanation of the Demo using STM32 VL-Discovery The red LED (LD1) blinks and the code will be written. Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 21: Connect The S5U13781R00C100 With The Stm32 Vl-Discovery

    Explanation of the Demo using STM32 VL-Discovery 3.4 Connect the S5U13781R00C100 with the STM32 VL-Discovery A connection example for the S5U13781R00C100 reference board and the STM32 VL-Discovery via SPI is shown in Figure 3-2, Connection Example for STM32VL-Discovery (via SPI).
  • Page 22: Connect The S5U13781R00C100 With Lcd Panel

    Explanation of the Demo using STM32 VL-Discovery 3.5 Connect the S5U13781R00C100 with LCD Panel This section describes the TFT panel connection to the S5U13781R00C100 reference board using the ATM0430D5. The ATM0430D5 is a 4.3 inch, 480x272 dot, 24-bit full color TFT LCD panel from XIAMEN ZETTLER.
  • Page 23 J5-48 → J9-1 VLED- J5-50 → J9-3 Table 3-2 ATM0430D5 Connection Example (2 of 2) S5U13781R00C100 reference board Description Connect J3-1 and J3-2 Set DC-DC converter enable Connect J3-3 and J3-4 Set DC-DC converter output current = 20mA Connect GND of power source to J4-1and J4-2 Connect power source GND Connect 3.3V of power source to J4-3 and J4-4 Connect power source 3.3V to VDDIO and VDDDCDC...
  • Page 24: Running Demo

    Explanation of the Demo using STM32 VL-Discovery 3.6 Running Demo Connect the S5U13781R00C100 with the STM32VL-Discovery and ATM0430D5 Refer to Section 3.4, Connect the S5U13781R00C100 with the STM32 VL-Discovery, and Section 3.5, Connect the S5U13781R00C100 with LCD Panel, for further information. Connection image...
  • Page 25 Here, the display image data of the Epson logo is 8bpp gray scale and by using the Look Up Table (LUT), the S1D13781 expands this to a color image. The photo image is 16bpp. Using the above data formats enables S1D13781 to process display with its built-in 384kbytes SRAM. Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 26: Explanation Of The Demo Using Pc

    UM232H Figure 4-1 Constitution of Display Demo using a PC For this demo, the display system consists of the following hardware. LCD controller: S5U13781R00C100 reference board USB-SPI conversion board: UM232H ATM0430D5 from XIAMEN ZETTLER (4.3 inch, 480x272 dots, 24 bit full color TFT LCD panel) The demo is as follows.
  • Page 27: Connection With Usb Serial Conversion Board: Um232H (Control S1D13781 Via Spi)

    4.1 Connection with USB Serial Conversion Board: UM232H (Control S1D13781 via SPI) A connection example to control the S1D13781 by connecting the S5U13781R00C100 reference board and the UM232H via SPI is described in Figure 4-2, Connecting the UM232H to S1D13781 via SPI.
  • Page 28: Connection With Lcd Panel

    Displaying an still image using ATM0430D5 (4.3 inch, 480x272 dots, 24 bit full color TFT panel) from XIAMEN ZETTLER Connect the S5U13781R00C100 reference board and the UM232H via SPI and connect the UM232H to PC via USB. See Section 4.1, Connection with UM232H (Control S1D13781 via SPI), for connection information.
  • Page 29 Start the demo by selecting “Debug” from the menu → “Start Debugging” from the sub menu Here, if the window opens which asks “This project is changed. Will you build?”, select “Yes”. ↓ Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 30 Explanation of the Demo using PC A command window is opened and the data write starts. ↓ Connection image Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 31 This demo displays the image on the LCD in the following order. Color gradation bar image using 2D BitBLT feature ↓ (2) Displays the image “image1_480x272.ppm” located in the folder “demo_um232h_psp\pix”. ↓ Return to (1) Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 32: Change Record

     Section 3.3 Write Demo Sample Software into STM32 VL-Discovery – change the folder inpargraph “Double click “DISCOVER_S1D13781.eww” located in the project folder…” X94A-G-006-01 Revision 1.0 - Issued: April 04, 2012  Re-format and edit document Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)
  • Page 33: Sales And Technical Support

    Sales and Technical Support Sales and Technical Support For more information on Epson Display Controllers, visit the Epson Global website. https://global.epson.com/products_and_drivers/semicon/products/display_controllers/ For Sales and Technical Support, contact the Epson representative for your region. https://global.epson.com/products_and_drivers/semicon/information/support.html Seiko Epson Corporation S5U13781R00C100 Demonstration Manual (Rev. 1.3)

Table of Contents