Manuale per l’uso Renesas H8S

26 pagine 0.74 mb
Scarica

Vai alla pagina of 26

Summary
  • Renesas H8S - page 1

    H8S/H8SX Series Direct Drive LCD Design Guide Version 2.6 User’s Manual Direct Drive Solution Rev. 2.60 September, 2009 Renesas Technology America america.renesas.com ...

  • Renesas H8S - page 2

    Direct Drive LCD Design Guide Index 1. INTRODUCTION ................................................................................................................................................ 3 1.1 D IRECT D RIVE LCD O VER VIEW ..................................................................................................................... ...

  • Renesas H8S - page 3

    Direct Drive LCD Design Guide 4. LCD API DEFINITION ............................................................................................................................... ...... 15 4.1.1 S tandar d Redefines ....................................................................................................................15 4.1.2 LCD A PI ...

  • Renesas H8S - page 4

    Direct Drive LCD De sign Guide 1. 1.1 Introduction This document provides technical information of how to configure the LCD p anel parameters re quired by Renesas LCD Dire ct Driver according to the LCD p anel datashe et published by the manufacturers. Thi s document will also describe all t he APIs (Application Programming Interfac e) in the LCD D ...

  • Renesas H8S - page 5

    Direct Drive LCD De sign Guide 2. 2.1 Driver Configuration The LCD Direct Driver is configur ed through the setting of macro defin itions. These macros are illustrated in the sample code. The followin g table briefly describe s the location of each of these macros and their location in LCD Direct Drive demonst ration code. Fo r example s of each ma ...

  • Renesas H8S - page 6

    Direct Drive LCD De sign Guide Macro Name Description Units Demo Location FRAME_CS Platform Configuration CS # DirectLCD_CNF(platform ). h FRAME_BUS_CYCLES Platform Configuration Bclk DirectLCD_CNF(platform ).h CAS_LATENCY Platform Configuration Bclk DirectLCD_CNF(platform ).h SDRAM_PAGE_SIZE Platform Configuration Words DirectLCD_C NF(platform).h ...

  • Renesas H8S - page 7

    Direct Drive LCD De sign Guide 2.2 Frame Buffer Configuration The frame buf fer is the external memory area that is used to store the 16bpp image dat a that will be presented on the LCD screen. The quantity of frame buf fe rs is typically 2 or more. This allows the MCU to be updating one frame wile the ExDMA is transferring the other frame to the L ...

  • Renesas H8S - page 8

    Direct Drive LCD De sign Guide Figure 1. RAM Frame Raster Dat a Figure 2. P ANEL_ROT A TE Mode Figure 3. Images from V arious Display Settings 7 ...

  • Renesas H8S - page 9

    Direct Drive LCD De sign Guide 2.3 Driver Mode Selection There are several dif ferent modes of operation current ly supported in the Direct Drive LCD driver . The selection of operation mode depe nds on RAM type selection and LCD panel resolution. 2.3.1 SRAM_DD Defining this macro select s a mode of operation that utilizes SRAM (or PSRAM) as the fr ...

  • Renesas H8S - page 10

    Direct Drive LCD De sign Guide Figure 5 H8SX SDRAM in Cluster Mod e Note 1: T o create the highest L CD Dot Clock frequency on th e H8SX requires using cl uster mode. In this mode, EDACK is not generated and an equi valent sign al must be generated. The above circuit creates the necessary timing. 2.4 2.5 Driver Mode Configuration The driver charact ...

  • Renesas H8S - page 11

    Direct Drive LCD De sign Guide Figure 6 LCD Panel Macro Definitions 2.6 LCD Plat form Configuration The LCD Direct Driver is configured to operate with a given hardware pla tform by setting m acro definitions. These values will have to be determined from the sc hematics on the hardware platform. As an example, the demonstration code can be comp are ...

  • Renesas H8S - page 12

    Direct Drive LCD De sign Guide 2.6.10 Xxxx_TPU_CHANNEL Enter the channel number for the requested TPU sig nal. For example if the H8SX DOTCLK is mapped to TPU TIOCB0, enter “0 ”. 2.6.11 Xxxx_TPU_PIN Enter the pin letter for the requested TPU sign al. Fo r example if the H8SX DOTCLK is mapped to TPU TIOCB0, enter “B”. 11 ...

  • Renesas H8S - page 13

    Direct Drive LCD De sign Guide 3. 3.1 T ypical LCD Panel Connections This section illustrates typical con nections on an LCD panel and how they are interfaced to the MCU in a Direct Drive configuration. LCD p anel interface Figure 7 Example Connections for a Kyocera TFT -LCD Panel 3.1.1 Power Supplies Many panels require multi ple supplies. Check y ...

  • Renesas H8S - page 14

    Direct Drive LCD De sign Guide entire panel to fill with valid pixels is the maximum refresh rate. Displa ys in existing media systems usually have refresh rates between 48Hz and 1 20Hz to avoid visible flicker . HSync, VSync and Dot Clock are all generate d using TPU channels of the H8S or H8SX microco ntrollers. The TPU allows timer comp are acti ...

  • Renesas H8S - page 15

    Direct Drive LCD De sign Guide 3.2 Hardware Design Below is a block diagram of a LCD system whi ch uses Flash and SRAM for respectively storing and buffering the i mages to be displayed. The following t able describes the TPU chann els and pi ns used for direct drive. Note that the TPU synchronization capability is used to create a common time base ...

  • Renesas H8S - page 16

    Direct Drive LCD De sign Guide LCD API Definition 4. 4.1.1 S t andard Redefines These following type have been redefined in order to make the cod e easier for formatting. typedef unsigned char uI08; // Unsigned Integer 8-bits typedef signed char sI08; // Signed Integer 8-bits typedef unsigned short uI16; // Unsigned Integer 16-bits typedef signed s ...

  • Renesas H8S - page 17

    Direct Drive LCD De sign Guide 4.1.3 LCDInit Direct Driver Initialization. Format LCDErrorType LCDInit(void); Parameters none Return V alues 0 if successful, non-zero if failure. Properties Prototyped in file ”DirectLCD.h” Implemented in file “DirectLCD_SBF .c” for H8S family or “DirectLCD_ XBCFT .c” for H8SX family . Description This f ...

  • Renesas H8S - page 18

    Direct Drive LCD De sign Guide 4.1.4 LCDBacklight Direct Driver backlight cont rol. Format void LCDBacklight(int state); Parameters state Requested backlight st ate 0=of f, non -0 = on. Return V alues None Properties Prototyped in file ”DirectLCD.h” Implemented in file “DirectLCD_SBF .c” for H8S family or “DirectLCD_ XBCFT .c” for H8SX ...

  • Renesas H8S - page 19

    Direct Drive LCD De sign Guide 4.1.5 LCDSetFrameRate Configure the vertical refresh rate of the LCD p anel. Format sI16 LCDSetFrameRate(sI16 rate); Parameters rate Requested refresh rate (in Hz) Return V alues Negative value indicates rate was not able to be ac hieved wit h system configuration. Positive value indicates success, returned value will ...

  • Renesas H8S - page 20

    Direct Drive LCD De sign Guide 4.1.6 LCDGetFrameRate Request the vertical refresh rate of the LCD p a nel. Format sI16 LCDGetFrameRate(void); Parameters none Return V alues Current frame rate in Hz. Properties Prototyped in file ”DirectLCD.h” Implemented in file “DirectLCD_SBF .c” for H8S family or “DirectLCD_ XBCFT .c” for H8SX family ...

  • Renesas H8S - page 21

    Direct Drive LCD De sign Guide 4.1.7 LCDSetActiveRaster Set memory frame to display . Format uI16 * LCDSetActiveRaster(uI16 frame); Parameters frame Requested frame buf fer in dex. Return V alues Pointer to first pixel of frame raster . Properties Prototyped in file ”DirectLCD.h” Implemented in file “DirectLCD_SBF .c” for H8S family or “D ...

  • Renesas H8S - page 22

    Direct Drive LCD De sign Guide 4.1.8 LCDGetActiveFrame Request which memory frame is currentl y displayed Format uI16 LCDGetActiveFrame(void); Parameters none Return V alues Index of active frame raster . Properties Prototyped in file ”DirectLCD.h” Implemented in file “DirectLCD_SBF .c” for H8S family or “DirectLCD_ XBCFT .c” for H8SX f ...

  • Renesas H8S - page 23

    Direct Drive LCD De sign Guide 4.1.9 LCDSetRasterOffset Request display location wi thin large r raster image Format sI16 LCDSetRasterOffset(sI16 x, sI16 y); Parameters x X offset in pixels within the raster . y Y of fs et in pixels within the raster . Return V alues 0 on success, non-0 o n failure Properties Prototyped in file ”DirectLCD.h” Im ...

  • Renesas H8S - page 24

    Direct Drive LCD De sign Guide 4.1.10 LCDSetLineSource Defines the source regions of the active display window . Format sI16 LCDSetLineSource (sI16 Region, sI16 LineCount, uI16 *pSource, sI16 LineStep); Parameters Region Region of display (horizont al strip). Ranging from 0 to MAX_FRAME_REGIONS (defined in DirectLCD_CNF .h). Normally , region 0 sta ...

  • Renesas H8S - page 25

    Direct Drive LCD De sign Guide Website and Support Renesas Technolo gy Website http://www.renesas.com/ Inquiries http://www.renesas.com/inquiry csc@renesas.com Revision Record Description Rev. Date Page Summary 1.00 Jan.28.08 — First edition issued 1.10 Apr.28.08 Updated 2.20 Jan.13.09 — Updated 2.30 Mar.16.09 Updated 2.40 May.11.09 Added LCDSe ...

  • Renesas H8S - page 26

    Direct Drive LCD De sign Guide 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any inte ...

Fabbricante Renesas Categoria Computer Monitor

I documenti che otteniamo dal fabbricante del dispositivoRenesas H8S possono essere suddivisi in diversi gruppi. Questi sono tra gli altri:
- disegni tecnici Renesas
- manuali per l’uso H8S
- schede prodotto Renesas
- opuscoli
- o etichette energetiche Renesas H8S
Tutti sono importanti, ma le informazioni più importanti dal punto di vista di utilizzo del dispositivo possono essere trovate nel manuale per l’uso Renesas H8S.

Un gruppo di documenti denominato manuali per l’uso, è anche suddiviso in tipi più specifici, come: Manuali di installazione Renesas H8S, manuali di manutenzione, brevi manuali o manuali utente Renesas H8S. A seconda delle esigenze, si dovrebbe cercare il documento necessario. Nel nostro sito web, puoi visualizzare il manuale più popolare per l'uso del prodotto Renesas H8S.

Manuali per l’uso simili

Manuale completo del dispositivo Renesas H8S, come deve essere?
Il manuale per l’uso, denominato anche istruzioni per l’uso, o semplicemente il manuale è un documento tecnico progettato per aiutare ad utilizzare Renesas H8S dagli utenti. I manuali sono di solito scritti da uno scrittore tecnico, ma in un linguaggio accessibile a tutti gli utenti Renesas H8S.

Il manuale per l’uso completo Renesas, dovrebbe includere vari elementi di base. Alcuni di loro sono meno importanti, come ad esempio: copertina / pagina del titolo o pagina di autore. Tuttavia, la parte rimanente, dovrebbe fornire informazioni importanti dal punto di vista dell'utente.

1. Introduzione e la guida su come utilizzare il manuale Renesas H8S - All'inizio di ogni manuale, dovremmo trovare indizi su come utilizzare il documento. Dovrebbe contenere informazioni sulla posizione dell’indice Renesas H8S, FAQ o i problemi più comuni : i punti che sono più spesso cercati dagli utenti di ogni manuale
2. Indice - elenco di tutti i suggerimenti per Renesas H8S che possono essere trovati nel documento corrente
3. Suggerimenti su come utilizzare le funzioni di base del dispositivo Renesas H8S - che ci dovrebbe aiutare nei primi passi durante l'uso Renesas H8S
4. Troubleshooting - sequenza sistematica delle attività che vi aiuterà a diagnosticare e, successivamente, risolvere i problemi più importanti del Renesas H8S
5. FAQ - domande più frequenti
6. Dettagli di contatto Informazioni su dove cercare il contatto con il fabbricante / servizio Renesas H8S in un dato paese, se il problema non può essere risolto da noi stessi.

Hai una domanda su Renesas H8S?

Utilizza il modulo sottostante

Se non hai risolto il problema con Renesas H8S con l'aiuto del manuale che hai trovato, fai una domanda utilizzando il modulo sottostante. Se un utente ha avuto un problema simile con Renesas H8S è probabile che voglia condividere il modo di risolverlo.

Riscrivi il testo dall’immagine

Commenti (0)