Connecting a TFT Display to the STM32F103VET6 via FSMC, Using the SSD1289 as an Example.

Connecting a TFT Display to the STM32F103VET6 via FSMC, Using the SSD1289 as an Example.
Дисплеи

Recently a board with an STM32VET6 that I ordered on AliExpress arrived, and in this article we'll try to connect a TFT display to it; by the way, the board has a dedicated header for it. Unlike the Atmega, STM32 has a special interface for connecting a display, called FSMC, also known as the external memory controller. The idea of FSMC is as follows: when connected via FSMC...

Displaying an Image on a TFT Display from an SD Card, Using the SSD1289 as an Example.

Displaying an Image on a TFT Display from an SD Card, Using the SSD1289 as an Example.
Дисплеи

In the previous article we converted an image into an array and wrote this array to an SD card; now let's try to display it on a TFT display. To work with the SD card, we'll use the Petit FatFs library, which is designed for 8-bit microcontrollers with little memory. The library consists of 5 files: integer.h - a header file that describes the basic data types...

Displaying an Image on a TFT Display from an SD Card, Using the SSD1289 as an Example (Converting an Image to an Array)

Displaying an Image on a TFT Display from an SD Card, Using the SSD1289 as an Example (Converting an Image to an Array)
Дисплеи

In previous articles we dealt with the TFT display and the resistive touch panel; to master all the capabilities the module offers, let's try connecting the memory card, namely writing an image to an SD card and displaying it. Jumping ahead a bit, I'll say that the binary of the image (320x240) came out at 150K, while the Atmega16 has 16K of flash and 1K of RAM, so no matter...

Drawing Geometric Shapes on a TFT Display, Using the SSD1289 as an Example.

Drawing Geometric Shapes on a TFT Display, Using the SSD1289 as an Example.
Дисплеи

In the previous article we learned to display characters and strings on a TFT display; in this one we'll learn to draw geometric shapes. There aren't that many geometric shapes useful for building a graphical interface; the main ones are the rectangle and the circle, and those are what we'll learn to draw, in two variants, filled and unfilled. I'll say right away that the article will describe in detail...

Displaying Characters and Strings on a TFT Display, Using the SSD1289 as an Example.

Displaying Characters and Strings on a TFT Display, Using the SSD1289 as an Example.
Дисплеи

First of all, I'd like to say that the display's shorter side is X and the longer side is Y. In the previous article we looked at how to initialize the display; in this one we'll learn to display characters and strings. Let's start with characters. Characters are a set of points filled in a certain order. To display a point, you need to perform the following sequence...

Initializing a TFT Display for AVR, Using the SSD1289 as an Example.

Initializing a TFT Display for AVR, Using the SSD1289 as an Example.
Дисплеи

The other day a TFT display arrived, driven by an SSD1289 controller, with a resistive touch panel on an XPT2046 and an SD card slot, in short, this one. We'll use an Atmega16 as the controlling microcontroller. I didn't look for ready-made initialization examples; I decided to figure out how it works and write my own. First, let's deal with the connection interface. Communication with the SSD1289 controller can take place...