caselectronics.blogg.se

Stm32 1 wire library
Stm32 1 wire library








stm32 1 wire library

This sequence is applied for all communication between MCU and ILI9341. Each sequence starts when you send a command to ILI9341 and then some parameters to follow up.

stm32 1 wire library

The “start sequence” includes many other sequences which are also defined in the datasheet. But the most important thing is that we have to establish a start sequence in order for this LCD to work. More details can be found in the official document of ILI9341. This LCD uses ILI9341 as a single-chip SOC driver for a display with a resolution of 240×320. SPI is short for Serial Peripheral Interface which, aside from two data lines, also has a clock line and select lines to choose between devices you want to communicate with. But, a little knowledge about this protocol does not hurt anyone. For STM32 users, HAL Library has already implemented this protocol which makes this project easier for us. You can find all details about this LCD from this page: īecause there aren’t a lot of instructions for using this LCD with STM32 board, I am going to write a complete guide for this LCD.įirst thing first, this LCD use SPI as the main communication protocol with your MCU. For this post, let’s focus on how to display what you want on the 2.8″ LCD. I also have another 16-bit Parallel TFT LCD but it will be another story for another time. The LCD I am using is a 2.8″ TFT LCD with SPI communication.










Stm32 1 wire library