6 lcd platform configuration, 1 frame_cs, 2 frame_bus_cycles – Renesas H8S User Manual

Page 11: 3 cas_latency, 5 edmac_dd, 6 xxxx_port, 7 xxxx_pin, 8 xxxx_intc, 9 xxxx_vect, Latform

Advertising
background image

Direct Drive LCD Design Guide

Figure 6 LCD Panel Macro Definitions

2.6 LCD Platform Configuration

The LCD Direct Driver is configured to operate with a given hardware platform by setting macro definitions.
These values will have to be determined from the schematics on the hardware platform. As an example,
the demonstration code can be compared the LCD direct drive hardware schematics.

2.6.1

FRAME_CS

This is the numeric value of the CS pin used for the frame buffer, for example if CS2 is used, a value of “2”
would be entered.

2.6.2

FRAME_BUS_CYCLES

Enter the number of BCLK cycles that are required to access the frame RAM (only used in SRAM
configurations).

2.6.3

CAS_LATENCY

Enter the configured CAS latency for the SDRAM (only used in SDRAM configurations).

2.6.4

SDRAM_PAGE_SIZE

Enter the SDRAM page size in words (only used in SDRAM configurations).

2.6.5

EDMAC_DD

Enter the name of the ExDMAC being used for the LCD Direct Drive. For example, if ExDMAC channel 2
is being used, set the value to “EXDMAC2”.

2.6.6

Xxxx_PORT

Enter the associated port for the requested signal mapping. For example if the LCD_BACKLIGHT is on
port PM1, set the port value to “M”.

2.6.7

Xxxx_PIN

Enter the associated port for the requested signal mapping. For example if the LCD_BACKLIGHT is on
port PM1, set the pin value to “1”.

2.6.8

Xxxx_INTC

Enter the SFR field for the associated interrupt controller peripheral. For example if the H8SX ExDMAC 2
is being used, enter “INTC.IPRJ.BIT._EXDMAC2”.

2.6.9

Xxxx_VECT

Enter the interrupt vector number for the associated peripheral. For example if the H8SX ExDMAC 2 is
being used, enter “142”.

10

Advertising
This manual is related to the following products: