Renesas H8SX user manual Driver Configuration, LCD Direct Drive Configuration Macros

Page 5

Direct Drive LCD Design Guide

2.Driver Configuration

The LCD Direct Driver is configured through the setting of macro definitions. These macros are illustrated in the sample code. The following table briefly describes the location of each of these macros and their location in LCD Direct Drive demonstration code. For examples of each macro usage, refer to the demonstration code.

2.1 LCD Direct Drive Configuration Macros

Macro Name

Description

Units

Demo Location

 

System Clock Configuration

 

 

ICLK_FREQUENCY

Clock frequency of MCU core

Hz

HWSetup.h

PCLK_FREQUENCY

Clock frequency of peripherals

Hz

HWSetup.h

BCLK_FREQUENCY

Clock frequency of external bus

Hz

HWSetup.h

 

 

 

 

FRAME_HEIGHT

Frame Buffer Configuration

Lines

DirectLCD_CNF.h

FRAME_WIDTH

Frame Buffer Configuration

Dots

DirectLCD_CNF.h

V_LINES_INVERT

Frame Buffer Configuration

Select

DirectLCD_CNF.h

H_DOT_INVERT

Frame Buffer Configuration

Select

DirectLCD_CNF.h

PANEL_ROTATE

Frame Buffer Configuration

Select

DirectLCD_CNF.h

LCD_FRAMES

Frame Buffer Configuration

Frames

DirectLCD_CNF.h

MAX_FRAME_REGIONS

Frame Buffer Configuration

Regions

DirectLCD_CNF.h

 

 

 

 

SRAM_DD

Driver Mode Selection

Select

DirectLCD_CNF.h

SRAM_NOMUX_DD

Driver Mode Selection

Select

DirectLCD_CNF.h

SDRAM_DD

Driver Mode Selection

Select

DirectLCD_CNF.h

SDRAM_CLUSTER_DD

Driver Mode Selection

Select

DirectLCD_CNF.h

 

 

 

 

DOT_CLOCK_FREQUENCY_DATA

Driver Mode Configuration

Hz

DirectLCD_CNF.h

DOT_CLOCK_FREQUENCY_BLANK

Driver Mode Configuration

Hz

DirectLCD_CNF.h

DESIRED_FRAME_RATE

Driver Mode Configuration

Hz

DirectLCD_CNF.h

MINIMUM_MCU_ACCESS_PCT

Driver Mode Configuration

%

DirectLCD_CNF.h

 

 

 

 

DOT_INVERT

LCD Panel Configuration

Select

DirectLCD_CNF(panel).h

V_LINES_PULSE

LCD Panel Configuration

Lines

DirectLCD_CNF(panel).h

V_LINES_BACK_PORCH

LCD Panel Configuration

Lines

DirectLCD_CNF(panel).h

V_LINES_DISPLAY

LCD Panel Configuration

Lines

DirectLCD_CNF(panel).h

V_LINES_FRONT_PORCH

LCD Panel Configuration

Lines

DirectLCD_CNF(panel).h

H_DOT_PULSE

LCD Panel Configuration

Dots

DirectLCD_CNF(panel).h

H_DOT_BACK_PORCH

LCD Panel Configuration

Dots

DirectLCD_CNF(panel).h

H_DOT_DISPLAY

LCD Panel Configuration

Dots

DirectLCD_CNF(panel).h

H_DOT_FRONT_PORCH

LCD Panel Configuration

Dots

DirectLCD_CNF(panel).h

4

Image 5
Contents Rev .60 September Index Driver ConfigurationWebsite and Support Revision Record Direct Drive LCD Overview IntroductionPhilosophy CapabilitiesMacro Name Description Units Demo Location Driver ConfigurationLCD Direct Drive Configuration Macros Framecs Panelrotate Frame Buffer ConfigurationRAM Frame Raster Data Sramdd Driver Mode SelectionSdramdd Dot Clock Hardware ConnectionsVLINESxx and HDOTxx Driver Mode ConfigurationLCD Panel Configuration LCD Platform Configuration XxxxTPUPIN XxxxTPUCHANNELLCD panel interface Typical LCD Panel ConnectionsClock HSyncTouch Screen Data EnableRGB Red Green Blue Data Hardware Design Signal TPU Channel Requirements SuggestedLCD API Data Types LCD API Definition Standard RedefinesProperties LCDInitLCDBacklight LCDSetFrameRate LCDGetFrameRate LCDSetActiveRaster LCDGetActiveFrame LCDSetRasterOffset Region LCDSetLineSourceRev Date Description Summary Revision RecordRenesas Technology Corp., All rights reserved

H8S, H8SX specifications

Renesas H8S and H8SX microcontrollers are part of Renesas Electronics' H-series of 16-bit microcontrollers, widely known for their rich functionality, exceptional performance, and versatility in embedded applications. These microcontrollers are ideal for a variety of applications ranging from automotive systems to industrial automation and consumer electronics.

The key feature of the H8S series is its high-performance CPU architecture, which includes efficient instruction execution, allowing for faster processing of tasks. The H8S series operates at clock speeds typically up to 24 MHz, providing ample processing power for complex applications. The H8SX series builds upon the H8S foundation with enhanced performance capabilities, including advanced instruction sets and support for higher clock frequencies, which can reach up to 40 MHz.

One of the standout characteristics of the H8S and H8SX microcontrollers is their rich peripheral set. They offer multiple I/O ports, timers, ADCs (Analog-to-Digital Converters), and communication interfaces such as SPI, I2C, and UART. The built-in ADCs allow for accurate analog signal processing, making these microcontrollers suitable for measuring temperature, pressure, and other sensor inputs in real time.

Moreover, the H8SX series provides additional features like improved flash memory capacity, enabling more complex applications to be developed and more extensive firmware to be stored. With the integration of a high-performance interrupt controller, the H8SX models can manage multiple interrupt sources efficiently, allowing for real-time response to events.

The H8S and H8SX microcontrollers also support a variety of development environments and programming languages, making them accessible for developers with varying skill levels. They are compatible with both C and assembly language programming, along with a range of development tools and IDEs (Integrated Development Environments).

In terms of power consumption, these microcontrollers are designed to be energy-efficient, making them ideal for battery-operated devices. With features such as low-power modes that allow the device to enter sleep modes when inactive, the H8S and H8SX microcontrollers help extend the battery life of applications.

In summary, Renesas H8S and H8SX microcontrollers stand out due to their performance, extensive peripheral functionality, versatility, and energy efficiency. Their rich feature set and compatibility with a variety of development tools make them a desirable choice for developers looking to create innovative embedded solutions across multiple industries.