With kernel 2.0.0 we get ...
https://www.mediafire.com/view/9qtc443bj9a25yz
I tried both the previous libraries that worked (GFX and ST7735), as well as the most recent ones, and in both cases the same result. Perhaps some special issue with the handling of the SPI 1 or SPI 2 bus, is what causes the failure.
Try removing the 2.0.0 kernel first and then installing the 1.9.0 kernel, with this reference:
https://github.com/stm32duino/BoardMana ... index.json
I think the MCU F103C8 and the ST7735 display should work toghether rigth now.
ST7735 tft with a Bluepill STM32F103C8T6
Re: ST7735 tft with a Bluepill STM32F103C8T6
Thank you very much for the finding! My blackpill also does not work with ST7789 I have. I tried your method (revert my stm32duino to 1.9.0) and it works! It takes so long for me to debug this. I also bought a st link for this problemTFTLCDCyg wrote: ↑Wed Jun 30, 2021 3:52 pm With kernel 2.0.0 we get ...
https://www.mediafire.com/view/9qtc443bj9a25yz
I tried both the previous libraries that worked (GFX and ST7735), as well as the most recent ones, and in both cases the same result. Perhaps some special issue with the handling of the SPI 1 or SPI 2 bus, is what causes the failure.
Try removing the 2.0.0 kernel first and then installing the 1.9.0 kernel, with this reference:
https://github.com/stm32duino/BoardMana ... index.json
I think the MCU F103C8 and the ST7735 display should work toghether rigth now.
-
- Posts: 7
- Joined: Tue Jun 22, 2021 6:20 pm
Re: ST7735 tft with a Bluepill STM32F103C8T6
For anyone still encounering any problems
If you wish to use the STM32F01C8T6 (in my case) you will probobly need to revert your stm32duino to 1.9.0
step 1. put this link in your preferences under 'additional board manager urls 'https://raw.githubusercontent.com/stm32 ... index.json'
step 2. open board manager and install the deprecated 1.9.0 version of STM32 Cores
step 3. open Skecht -> Include library -> Manage libraries -> search for ST7735 -> download the ST7735/ST7789 adafruit library
step 4. open file -> example -> adafruit st7735 -> grapictest -> change the pinout the the code below
step 5. upload the same way you've been doing it with arduino IDE. GOODLUCK!
If you wish to use the STM32F01C8T6 (in my case) you will probobly need to revert your stm32duino to 1.9.0
step 1. put this link in your preferences under 'additional board manager urls 'https://raw.githubusercontent.com/stm32 ... index.json'
step 2. open board manager and install the deprecated 1.9.0 version of STM32 Cores
step 3. open Skecht -> Include library -> Manage libraries -> search for ST7735 -> download the ST7735/ST7789 adafruit library
step 4. open file -> example -> adafruit st7735 -> grapictest -> change the pinout the the code below
step 5. upload the same way you've been doing it with arduino IDE. GOODLUCK!
Code: Select all
// For the breakout board, you can use any 2 or 3 pins.
// These pins will also work for the 1.8" TFT shield.
#define TFT_CS PA4
#define TFT_RST PA0 // Or set to -1 and connect to Arduino RESET pin
#define TFT_DC PA1
-
- Posts: 2
- Joined: Fri Jun 10, 2022 2:32 pm
Re: ST7735 tft with a Bluepill STM32F103C8T6
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.
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.
Re: ST7735 tft with a Bluepill STM32F103C8T6
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
viewtopic.php?p=8170#p8170
Re: ST7735 tft with a Bluepill STM32F103C8T6
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
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