Search found 163 matches

by david.prentice
Sat Mar 16, 2019 2:23 pm
Forum: Let us know a bit about you and your projects
Topic: Tft 2.4" con STM32F103C8T6
Replies: 7
Views: 25

Re: Tft 2.4" con STM32F103C8T6

It is a regular Mcufriend Shield. The photos in your link show an AMS1117-3.3 regulator. The link says SPFD5408 controller. I would not trust Ebay advertisers or your AliExpress link. Wait and see what arrives through the door. 99.9% of these boards should work with MCUFRIEND_kbv Arduino library. De...
by david.prentice
Sat Feb 09, 2019 7:01 pm
Forum: STM Core
Topic: How to compile ILI9496 Arduino-Sourcecode for STM32 with Arduino-IDE?
Replies: 9
Views: 1007

Re: How to compile ILI9496 Arduino-Sourcecode for STM32 with Arduino-IDE?

Well, it looks as if I replied to this thread in August 2018. I look at this Forum but generally only spot topics that fit on my screen. I have never seen a F303. I just assumed it was a F103 with logical GPIO registers. I have not studied the datasheet. Perhaps the GPIO performance is like the F4. ...
by david.prentice
Tue Nov 13, 2018 7:27 am
Forum: Libraries & Hardware
Topic: Is there any DMA based OLED library?
Replies: 7
Views: 694

Re: Is there any DMA based OLED library?

Yes, it would make a difference to blitting the Frame buffer. My point was that you would not notice in most apps. I have a running horse animation that steps through a set of 14 Frames in flash memory. It works fast enough as it is. It does not need 30 FPS. 128X64 monochrome is not really capable o...
by david.prentice
Fri Nov 09, 2018 7:39 am
Forum: Libraries & Hardware
Topic: Is there any DMA based OLED library?
Replies: 7
Views: 694

Re: Is there any DMA based OLED library?

There is little to be gained with DMA. Most libraries manipulate a SRAM buffer and then blit the whole 1024 bytes via SPI or I2C. This is 512us @ 16MHz SPI. Pretty insignificant for an animation. Yes, you can alter the blit-buffer routine in the library to use DMA. I doubt if you will notice any dif...
by david.prentice
Wed Oct 31, 2018 1:29 pm
Forum: Libraries & Hardware
Topic: [SOLVED] SMT32F103C + ILI9486 TFT not working!
Replies: 14
Views: 1422

Re: [SOLVED] SMT32F103C + ILI9486 TFT not working!

Well done.

The secret is generally to leave the PC and sit down with a nice cup of tea.

Then do one step at a time. Make notes with pencil and paper as you go.

David.
by david.prentice
Tue Oct 30, 2018 6:10 pm
Forum: Libraries & Hardware
Topic: [SOLVED] SMT32F103C + ILI9486 TFT not working!
Replies: 14
Views: 1422

Re: SMT32F103C + ILI9486 TFT not working!

The readreg sketch does not use any libraries at all. Only the built-in digitalWrite() and pinMode(). Your Original Post showed readreg working for PB5. Change the wiring to PB0 and the define to PB0. The readreg sketch should give you the same output as in the OP. It is wise to use the Library Mana...
by david.prentice
Tue Oct 30, 2018 6:55 am
Forum: Libraries & Hardware
Topic: [SOLVED] SMT32F103C + ILI9486 TFT not working!
Replies: 14
Views: 1422

Re: SMT32F103C + ILI9486 TFT not working!

Wire LCD_RD pin to PB0 on the BluePill Edit the LCD_RD define for PB0 in LCD_ID_readreg sketch. Run the sketch. You should see reg(0xd3) as xx 94 86 xx to confirm that your wires are all ok. Then run any library examples. They should all work. If you have altered anything, it is probably wise to sta...
by david.prentice
Mon Oct 29, 2018 7:47 am
Forum: Libraries & Hardware
Topic: [SOLVED] SMT32F103C + ILI9486 TFT not working!
Replies: 14
Views: 1422

Re: SMT32F103C + ILI9486 TFT not working!

You have done everything correctly in your Original Post. I will post the appropriate SPECIAL for you after I have taken my dog for his walk. You don't have to worry about coding anything yourself or level conversion. Just connect LCD_xxx signals to the Bluepill port pins and connect 3.3V, 5V, GND p...
by david.prentice
Wed Oct 24, 2018 6:43 am
Forum: General discussion
Topic: Black STM32F407VET6 board - dimensions
Replies: 8
Views: 655

Re: Black STM32F407VET6 board - dimensions

I do not have this board.

The perf board is an excellent idea. The headers are through-hole so you can view all the pins from the underneath of the board. Or simply measure the horizontal distance between the headers.

David.