Search found 109 matches

by david.prentice
Thu Aug 31, 2017 1:08 pm
Forum: Libary request
Topic: ili9225
Replies: 3
Views: 113

Re: ili9225

No, the ILI9225 is very different to the ILI9341. It is closer to the ILI9325 i.e. registers with 16-bit data. I think that the current Release of MCUFRIEND_kbv supports the ILI9225 in parallel mode. The Beta certainly does. I have an unpublished ILI9225_kbv which uses SPI interface. Please post a l...
by david.prentice
Tue Aug 29, 2017 9:45 pm
Forum: Hardware
Topic: anyone know if this lcd is ili9341 ?
Replies: 6
Views: 92

Re: anyone know if this lcd is ili9341 ?

this is the beastie from aliexpress keli store https://www.aliexpress.com/store/623118?spm=2114.10010108.0.0.4b24ae2bDGPvlj this is the beastie https://www.aliexpress.com/item-img/Free-Shipping-1pcs-lot-3-2-TFT-LCD-Module-Display-Touch-Screen-Panel-PCB-Adapter-Blue/2035710780.html?spm=2114.10010108...
by david.prentice
Sat Aug 12, 2017 10:36 pm
Forum: Hardware
Topic: A look inside the DS3231 RTC
Replies: 9
Views: 281

Re: A look inside the DS3231 RTC

Surely you can synchronise a clock to a GPS signal over a time period. And get an accurate time with averaging. There is no need to wait for a year. You can measure any phase difference between the DS3231 pulse output and the synchronised "accurate" clock. A 1 second error in 365 days is 0.03 ppm. Y...
by david.prentice
Mon Jul 24, 2017 1:07 pm
Forum: Libraries & Hardware
Topic: STM32F103C8 & TFT (ili9325)
Replies: 193
Views: 15286

Re: STM32F103C8 & TFT (ili9325)

If you want the fastest rendering of a BMP from SD card: 1. pre-process the BMP files into RAW data e.g. like UTFT utility. 2. set a rectangular window with the correct dimensions. 3. read the raw pixel data from SD with a DMA version of SD.h library. 4. blit the pixel data to the screen. e.g. with ...
by david.prentice
Sat Jul 22, 2017 2:22 pm
Forum: Libraries & Hardware
Topic: Use STM32F103C8 with TFT 320QVT 9341
Replies: 20
Views: 1097

Re: Use STM32F103C8 with TFT 320QVT 9341

My apologies. I was replying to empirejrz with a Discovery-F303 I should have replied to vincent47 with a F401RE. Both posters asked about the TFT 320QVT_9341 The same comment applies. Is there a Core for F401RE ? If there is an "official" Core, I will post a SPECIAL. If your questions do not apply ...
by david.prentice
Sat Jul 22, 2017 12:06 pm
Forum: Libraries & Hardware
Topic: Use STM32F103C8 with TFT 320QVT 9341
Replies: 20
Views: 1097

Re: Use STM32F103C8 with TFT 320QVT 9341

As far as I know, the TFT320QVT_9341 is only 16-bit. If you can configure for 8-bit life would be a lot easier. There is nothing very complicated with driving an ILI9341. There will be several libraries. The problem comes with "choosing" the wiring. I suggest that you just use whatever wiring the ex...
by david.prentice
Fri Jul 21, 2017 9:38 pm
Forum: Libraries & Hardware
Topic: STM32F103C8 & TFT (ili9325)
Replies: 193
Views: 15286

Re: STM32F103C8 & TFT (ili9325)

You have a regular Uno Shield. Plug it into a Uno. Install MCUFRIEND_kbv with the Library Manager. Run the examples. You will see what "SOFTWARE SCROLL" does on the Uno. The YELLOW text moves across the screen. There should not be any BLUE at all. I am sure that Steve's library will work just fine o...
by david.prentice
Fri Jul 21, 2017 3:38 pm
Forum: Libraries & Hardware
Topic: STM32F103C8 & TFT (ili9325)
Replies: 193
Views: 15286

Re: STM32F103C8 & TFT (ili9325)

I installed Steve's library and modified for my GPIO usage. Steve's library only works with the Maple Core. Not with the ST Core. Anyway, Steve's library code for pushColors() and setWindow() looks absolutely fine. Here is a test sketch to prove it (tested on a BluePill): #include <Adafruit_GFX.h> /...
by david.prentice
Thu Jul 20, 2017 11:11 pm
Forum: Libraries & Hardware
Topic: STM32F103C8 & TFT (ili9325)
Replies: 193
Views: 15286

Re: STM32F103C8 & TFT (ili9325)

Adafruit_TFTLCD_STM is not installed with the Core. And is not available from the Library Manager. Post a link to the actual library you are using. And either say which example you are using or attach your actual showBMP sketch. The regular Adafruit graphicstest sketch does not test the pushColors()...
by david.prentice
Thu Jul 20, 2017 7:59 pm
Forum: Libraries & Hardware
Topic: STM32F103C8 & TFT (ili9325)
Replies: 193
Views: 15286

Re: STM32F103C8 & TFT (ili9325)

I would start with a bit of honesty. i.e. do you have a 240x320 ILI9325 or a 240x400 ILI9326. Your photo does look like a 240x320. You did say the ID was reported as 0x9325 on a Uno. But your earlier message showed LCD_readreg.ino with reg(0) returning 0x9326 on the STM32. It is very straightforward...