Search found 39 matches
- Fri Jul 02, 2021 4:52 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
Just for the fun, I've build using the Black Pill F411CE target and tun it on a Nucleo F411RE. I've just change the HSE_VALUE and change the clock config to use the HSE bypass of the Nucleo F411RE. And it works fine. So the variant has no issue. My guess is that the hardware has an issue. Is it rea...
- Fri Jul 02, 2021 4:41 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
[s]oh i noted something else about STM core, pin naming convention is PA_xx not PAxx. if you use PAxx [/s], <del chances are that all those pin evaluates to *zero* that would cause that Adafruit lcd library to treat all those pins as *non-existent* as the code is https://github.com/adafruit/Adafrui...
- Fri Jul 02, 2021 4:04 am
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
I got the debug log for 1.9.0 in here https://gist.github.com/ht93/c5c5f12034628205ea3719283cea5093 , and I compare the debug log with the previous 2.0.0 debug log https://gist.github.com/ht93/93f4ed26672716577eef238e053403e3 . The first big difference I found between two debug log is here: https://...
- Thu Jul 01, 2021 7:59 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
Sorry for not specifying, for the rush to want to check the pinout on the nucleo-F767ZI. The PeripheralPins.c file is located inside the variant definitions folder, for the bluepill it will be inside the folder ... stm32 \ 2.0.0 \ variants \ STM32F1xx I have just found the ST7735 and the bluepill F...
- Thu Jul 01, 2021 7:05 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
You just have to copy the pin definitions inside the file, inside this definition https://lh3.googleusercontent.com/pw/AM-JKLWOcr7kOaSvacA4QBI4iWkNRdK_DOLomL_rKdkEbG9cdVvzf51Sf03TygrFQRYkREgng8_lRW39zJJtSRhH2Q3sk_kaqB-YoJg3r60YdJb7LOwyROvgi5KswrlGn3bkOckCQ5zPVShruKItFJY59urAiw=w1421-h936-no?authuse...
- Thu Jul 01, 2021 4:19 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
I did a little exercise with the Nucleo F767ZI board, I copied all the pin definitions from the STM 1.9.0 core (PeripheralPins.c) and substituted it in the pin definitions from the STM 2.0.0 core (PeripheralPins.c), the NHD screen FT813 of 3.5 " now is answered without problems en el kernel 2....
- Thu Jul 01, 2021 4:01 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
this would suggest a 'comms' issue with the lcd, would you be able to check if there is some sort of a 'reset pin' way to reset the lcd like i've encountered with ili9341 spi lcd? if there is you may want to wire up that pin and pull reset low for a while prior letting the rest of the lcd init code...
- Thu Jul 01, 2021 3:50 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
while you are debugging, did it 'freeze' anywhere? i've a little suggestion place Serial.println("before calling xxyy"); style codes to trace execution for the various tft.method() calls, you could interleave that in your sketch. you can run the sketch with the various Serial.println() in...
- Thu Jul 01, 2021 2:35 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
I have no more clue for your issue. Only debug can help on this as I do not have this board. I finally got my command line debug working through st link. https://gist.github.com/ht93/93f4ed26672716577eef238e053403e3 is the debug log of my code (2.0.0 core, display not working). However it only runs...
- Wed Jun 30, 2021 6:25 pm
- Forum: General discussion
- Topic: Black Pill with adafruit ST7789
- Replies: 63
- Views: 26732
Re: Black Pill with adafruit ST7789
Well, I've tested with a Nucleo F411RE as I don't have the black pill F411CE but quite the same. The main differences btw the 2 versions of the core are how the variants are defined. No link with SPI, I guess. As you stated I saw several user claim about issue with the Weact F411CE, the only thing ...