Search found 4 matches

by splin
Wed Aug 07, 2024 6:14 pm
Forum: General discussion
Topic: TFT on Bluepill works on old stm32duino but not on 2.8.1
Replies: 5
Views: 3838

Re: TFT on Bluepill works on old stm32duino but not on 2.8.1

Thanks for that - very interesting. I need to spend some time to get to grips with the pin numbers including the difference between PBx and PB_x etc.is there any good documentation or is it a case of examining the source code?
[EDIT] I found a post describing the difference between PinNumber and ...
by splin
Sun Aug 04, 2024 11:25 pm
Forum: General discussion
Topic: TFT on Bluepill works on old stm32duino but not on 2.8.1
Replies: 5
Views: 3838

Re: TFT on Bluepill works on old stm32duino but not on 2.8.1

I finally got it working. I realised I had changed B4 and B5 to B_4 and B_5 but had left PC13, PC14 and PC15 unchanged. I 'fixed' that but it still didn't work.

Reverting to the stm32duino I had problems so I then changed again to:


#define TFT_CS PB7
#define TFT_DC PB8
#define TFT_RST PB9 ...
by splin
Sun Aug 04, 2024 10:00 pm
Forum: General discussion
Topic: TFT on Bluepill works on old stm32duino but not on 2.8.1
Replies: 5
Views: 3838

Re: TFT on Bluepill works on old stm32duino but not on 2.8.1

[EDIT] I managed to get it working - see next post.

Many thanks for the suggestion but unfortunately it doesn't work for me. I changed all pins to those that have pin numbers < 128 - specifically B4, B5, C13, C14 and C15.

I first ran a test using the pins using the old stm32duino which worked fine ...
by splin
Sun Aug 04, 2024 1:19 am
Forum: General discussion
Topic: TFT on Bluepill works on old stm32duino but not on 2.8.1
Replies: 5
Views: 3838

TFT on Bluepill works on old stm32duino but not on 2.8.1

I got an ST7798v IPS 320x240 TFT working on a Bluepill, without too much trouble, using a package 'STM32F1xx/GD32F1xx boards by stm32duino, Version 2022.9.26'. It uses a 4 wire SPI interface and works with both hardware and software SPI.

I'm using the 'graphicstest' example from the 'ADAfruit ...

Go to advanced search