6232 views|3 replies

565

Posts

0

Resources
The OP
 

[N32L43x Review] 4. Software and hardware SPI driver 1.8-inch LCD [Copy link]

 This post was last edited by freeelectron on 2022-7-4 21:42

1. Introduction

The LCD driven in this article is 1.8 inches, and the controller is ST7735. It was previously ported to AT32F425, GD32L233, and CH582. This article ported it to N32L43x. Only the spi and gpio operation parts need to be ported, and the other parts remain unchanged.

Related posts: [BLE 5.3 wireless MCU CH582] 9. Hardware SPI driver LCD , [GD32L233C-START review] 18. Hardware SPI driver (ST7735) 1.8-inch TFT LCD , [AT-START-F425 review] + software and hardware SPI driver (ST7735) 1.8-inch TFT LCD

2. Hardware connection

GND GND
3.3V VCC
PB13 SCL
PB15 SDA
PB7 ERS (Reset)
PB8 DC (Command Data Select)
PB12 CS (Chip Select)
PB9 BL (Backlight)

3. Display test

Display Chinese, English, pictures

4. Code

Since the code is quite long, please upload the relevant files, including source code and font library.

lcd_st7735.c (16.99 KB, downloads: 3)

lcd_st7735.h (900 Bytes, downloads: 1) fontlib.h (410.04 KB, downloads: 2)

This post is from Domestic Chip Exchange

Latest reply

Congratulations to the OP. Modular programming is indeed more efficient. However, I still suggest you restate it. After all, they are not from the same manufacturer.   Details Published on 2022-7-10 08:54
Personal signaturestm32/LoRa物联网:304350312
 
 

6818

Posts

11

Resources
2
 
With the foundation, it is fast. Thanks for sharing. You can also attach the article of the last drive, so as to give guidance to beginners, which is very good.
This post is from Domestic Chip Exchange
 
 
 

7422

Posts

2

Resources
3
 

Thanks for sharing, it’s awesome!

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

5998

Posts

6

Resources
4
 

Congratulations to the OP. Modular programming is indeed more efficient. However, I still suggest you restate it. After all, they are not from the same manufacturer.

This post is from Domestic Chip Exchange
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list