Direct Drive LCD Design Guide

2.3 Driver Mode Selection

There are several different modes of operation currently supported in the Direct Drive LCD driver. The selection of operation mode depends on RAM type selection and LCD panel resolution.

2.3.1SRAM_DD

Defining this macro selects a mode of operation that utilizes SRAM (or PSRAM) as the frame buffer. In this operation mode, the ExDMA ACK signal supplies the Dot Clock during data transfer and the TPU supplies the dot clock during blanking. This is currently the only mode supported on the H8S family of MCUs.

2.3.2SRAM_NOMUX_DD

Defining this macro selects a mode of operation that utilizes SRAM (or PSRAM) as the frame buffer. In this operation mode, the TPU supplies the dot clock during data transfer and blanking. This operation mode can currently only be used on the H8SX on panels that do not require driving a “data enable” signal.

2.3.3SDRAM_DD

Defining this macro selects a mode of operation that utilizes SDRAM as the frame buffer. In this operation mode, the ExDMA ACK signal supplies the Dot Clock during data transfer and the TPU supplies the dot clock during blanking.

2.3.4SDRAM_CLUSTER_DD

Defining this macro selects a mode of operation that utilizes SDRAM as the frame buffer. In this operation mode, the Bus Clock signal supplies the Dot Clock during data transfer and the TPU supplies the dot clock during blanking. This mode is intended for LCD panels that have relatively high dot clock requirements (VGA+) because the high speed Bus clock is used to drive the dot clock.

2.3.5Dot Clock Hardware Connections

From the microcontroller, the EDACK signal is fed into a mux with the Dot Clock to ensure the clock edge is sent at the time the valid data is on the bus.

Figure 4 H8S SRAM and H8SX SDRAM Dot Clock Logic

Note 1: When using the H8S devices, or the H8SX devices with SDRAM, it is also necessary to connect the EDREQ (active low) line to the mux. This ensures that the clock remains synchronized in the time between blocks of data. The H8SX running with SRAM uses a ExDMA mode which has a deterministic number of clocks between blocks, and so can be relied on to give predictable timing – the other modes have a latency which may take 4 or 5 clocks, and so hardware synchronization is necessary.

Note 2: If the panel you are connecting to requires a Dot Clock inversion (falling edge data transfers) you must place an inverter gate between EDACK and the mux and define DOT_INVERT in the driver code.

8

Page 9
Image 9
Renesas H8SX user manual Driver Mode Selection, Sramdd, Sdramdd, Dot Clock Hardware Connections

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.