Pin Description Software Configuration Revision History The HXA is designed to provide a single-chip solution that combines a gate driver, a source driver, power supply circuit for , colors to drive a TFT panel with RGBx dots at maximum.
|Country:||Bosnia & Herzegovina|
|Published (Last):||11 February 2005|
|PDF File Size:||3.12 Mb|
|ePub File Size:||18.86 Mb|
|Price:||Free* [*Free Regsitration Required]|
A while ago I managed to wire the front panel of a Sercomm router to a STM32 blue pill development board and I have attempted to control the color 2. Long story short: if you own a discarded Sercomm SHG router that reports LCDv6 "gateway hardware version", this is the front panel you can control.
It has a 2. The keypad uses I2C bus and an additional pin to trigger an interrupt when a key is touched. More on that in another post. Interfacing the front panel to common 2. But I built an adapter you can find in the other post. No information can be found about it. Neither the -I version of HX has too much documentation available. This was the starting point to writing my own library. It was easier than I thought. I had to write my own display initialization functions and Adafruit library only needed to know how to set the color of a pixel at specific coordinates.
Clock frequency can be as high as 50 MHz not very sure about that. Commands and registers are set in 2 bytes packets. To set a register, two such packets are sent. Then you can write multiple pixel colors, knowing that pixel address autoincrements.
This can be as small as 1 pixel. It is done by writing some registers. It prepares the RAM for pixel color data by sending the packet with 0x The described functions are used in required drawPixel implementation. After a quick validity check, active 1 pixel RAM window is set and color is sent to controller. But not very fast. There are a lot of situations when you can use the autoincrement function of the controller. I took care of this by reimplementing fillRect and fillScreen.
Same for vertical and horizontal line drawing functions which are just rectangles with 1 pixel width or height. These are internal routines of the library. More important is how you initialize and use the display. If you specify a third parameter, this will be the backlight control pin.
You may replace the latter with backlightIntensity intensity, true where intensity can be any number between 0 and Only the first call to backlightIntensity should contain the second boolean parameter set to true. This will perform a reset of the backlight controller. After setting the intensity, you can call backlightOn with boolean argument to turn on or off the backlight. Previously set intensity will be kept. Calling backlightIntensity can turn on the backlight with a new intensity.
The backlight can also be controlled independently with the library I wrote in another post. The library has only been tested on STM32 platform. It should work for ESP too. Remember that both the display, its backlight controller and the keypad controller are 3. Library can be downloaded from GitHub.
LCD TFT 240 320 hx8347a SSD1289 sdcard
HX8347 TFT display driver library