Search found 39 matches
- Wed Jun 30, 2021 5:32 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Re: Black Pill with adafruit ST7789
Are you able to reproduce the same problem under 2.0.0? As said I have no problem using the STM32 core 2.0.0 as stated before. As stated in another thread, there are at least several people facing the same issue. So I think it is not just me. Moreover, I bought a cheap logic analyzer which I haven'...
- Wed Jun 30, 2021 5:02 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Re: Black Pill with adafruit ST7789
Are you able to reproduce the same problem under 2.0.0?
- Wed Jun 30, 2021 4:32 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Re: Black Pill with adafruit ST7789
Hi @heretop I had an Adafruit shield with ST7735 so I was able to test the Adafruit library. And it works fine with the graphic test example. Did you try with the default sketch example from the library? I tried the method mentioned in other thread Try removing the 2.0.0 kernel first and then insta...
- Wed Jun 30, 2021 4:24 pm
- Forum: General discussion
- Topic: ST7735 tft with a Bluepill STM32F103C8T6
- Replies: 22
- Views: 13703
Re: ST7735 tft with a Bluepill STM32F103C8T6
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 th...
- Tue Jun 22, 2021 10:15 am
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Re: Black Pill with adafruit ST7789
Hi @heretop I had an Adafruit shield with ST7735 so I was able to test the Adafruit library. And it works fine with the graphic test example. Did you try with the default sketch example from the library? Yeah, I just tried the graphic test example one more time. My code is also based on their examp...
- Tue Jun 22, 2021 3:05 am
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Re: Black Pill with adafruit ST7789
call. e.g. you would need to declare your own spi class (possibly with different parameters) and calling begin() with a different spi class object. I found there are three different function call methods for the Adafruit_ST7789. One of them take SPIClass as input. I tried all three methods with two...
- Mon Jun 21, 2021 6:35 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Re: Black Pill with adafruit ST7789
if you have a debugger (jtag or stlink) you can step through the code and inspect the registers to see what's happening. short of that, use the uart of a more "static" debugger: for example printing out the values of the spi - related registers to see if they are taking on values as expec...
- Mon Jun 21, 2021 3:16 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Re: Black Pill with adafruit ST7789
My guess would be timing mostly. The stm32 is much faster than your avr and the code may require adjustment. Look up the display and see where the timing is and how the code implement such timing - likely by looking around. If so, you need to slow them down or worse yet make them optimization resis...
- Sun Jun 20, 2021 2:37 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 27689
Black Pill with adafruit ST7789
I am attempting to use black pill (weact v3.1, newest stm32core installed through arduino IDE, https://github.com/WeActTC/MiniSTM32F4x1) with 2 inch ST7789 IPS display (https://www.waveshare.com/2inch-lcd-module.htm) using the Adafruit_ST7789 (https://github.com/adafruit/Adafruit-ST7735-Library/blob...