ST7735 tft with a Bluepill STM32F103C8T6

Post here first, or if you can't find a relevant section!
leonardalen12
Posts: 2
Joined: Fri Jun 10, 2022 2:32 pm

Re: ST7735 tft with a Bluepill STM32F103C8T6

Post by leonardalen12 »

this is my second topic about these 2 components. A few months back I managed to get my little project working, but I want to rebuild it and it does not seem to work anymore.

I wrote my connections down and I didn't change my code. But after a few days now of trying I can't get it to work again.

I am using a STM32F103C8T6 "Bluepill" with a ST7735s 128x60 tft display. The display has these connections: GND, VCC, SCL, SDA, RES, DC, CS and BL.
Mikey
Posts: 3
Joined: Fri Jan 27, 2023 5:28 pm

Re: ST7735 tft with a Bluepill STM32F103C8T6

Post by Mikey »

It's a (known) issue with the pin mapping in the Adafruit library, no need to revert back to deprecated STM32 Cores!

viewtopic.php?p=8170#p8170
ciszex
Posts: 1
Joined: Sun Jul 30, 2023 11:14 am

Re: ST7735 tft with a Bluepill STM32F103C8T6

Post by ciszex »

Hi All,

I'm new user that forum. I'm joint just to confirm that this is works. For other people if you cannot start your display ST7735 (1.8" or 1.44") you should use different pins for DC (A0 in TFT) and RST.
In my example it not works if I select PA3 for DC and PA2 for RST. I spend 2 days on that issue also testing different library and few bluepill board (F103C8) and same result with such pins -> white screen.

After charge pins for below start working!
#define TFT_CS PA4
#define TFT_RST PA0 // Or set to -1 and connect to Arduino RESET pin
#define TFT_DC PA1


Thank you!

Tested on:
Library:
- GFX: 1.11.7
- ST7735 and ST7789: 1.10.2
Aliexpress Bluepill board with original chip: STM32F103C8T6
Board core:
- 1.9.0. Generic STM32F1, Generic F103C8

Also test the same library as above on board core 2.6.0 and unfortunately it not works. Only 1.9.0 core board is working properly
Post Reply

Return to “General discussion”