STM32F103C8 & TFT (ili9325)

Working libraries, libraries being ported and related hardware
Post Reply
stm32user
Posts: 3
Joined: Wed Nov 25, 2015 3:30 pm

STM32F103C8 & TFT (ili9325)

Post by stm32user » Thu Nov 26, 2015 1:07 pm

Image
Stm32f103c8 Mini Board

Image
ili9325 2.4'' TFT (arduino uno compotible)

HI
How do I program with these two products arduino ide

thanks!
Last edited by stm32user on Fri Nov 27, 2015 8:50 pm, edited 1 time in total.

madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

Re: STM32F103C8 & TFT (ili9325)

Post by madias » Thu Nov 26, 2015 11:41 pm

I'm sure you can use the UTFT library for the ili9325, please search the forum for a STM32duino port of UTFT.
But you have to put your hands on the lib (I assume it's 8-bit parallel driven).

stm32user
Posts: 3
Joined: Wed Nov 25, 2015 3:30 pm

Re: STM32F103C8 & TFT (ili9325)

Post by stm32user » Fri Nov 27, 2015 2:03 pm

Hi

Stm32F103C Board Pin -> TFT pin wiring diagram

Image

This connection type is correct

It also does not display a pin LCD_CD
LCD_RS same with LCD CD?
I think there's a problem

zmemw16
Posts: 1405
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: STM32F103C8 & TFT (ili9325)

Post by zmemw16 » Fri Nov 27, 2015 5:35 pm

swap the column headers?

look at an 8080 type interface for the control pins and use

stephen

stm32user
Posts: 3
Joined: Wed Nov 25, 2015 3:30 pm

Re: STM32F103C8 & TFT (ili9325)

Post by stm32user » Fri Nov 27, 2015 7:06 pm

Can someone please link me how I wrote and which could use the library

User avatar
iwalpola
Posts: 24
Joined: Tue Jun 21, 2016 1:08 pm
Location: Silchar, India
Contact:

Re: STM32F103C8 & TFT (ili9325)

Post by iwalpola » Tue Jun 21, 2016 1:24 pm

Correction:
Working library: https://github.com/iwalpola/Adafruit_ILI9341_8bit_STM/
JoaoLopes's library supports ILI9341, and this one probably is an ILI9341. I checked the SPFD5408 datasheet, and Joao's library definitely isn't for SPFD5408. I wonder why he named it so.

I'm in this exact same situation. Are you sure that the TFT driver IC is ILI9325?
I have seen working Arduino Uno libraries for this shield from several sources, including https://github.com/JoaoLopesF/SPFD5408. And they say that the IC is "SPFD5408".

Joao Lopes's library above uses a modified version of the Adafruit TFT library for the hardware layer. The Adafruit TFT library was originally for controlling ILIxxxx series of IC, but this guy modified it for the 8 bit interface of SPFD508.

Now, I've seen working code examples for STM32 for the ILIxxxx on Andy's Workshop blog http://andybrown.me.uk/2012/01/01/stm32 ... ft-driver/. So I'm tracking where Joao changed the Adafruit library to try and figure out how to modify an STM32 driver for this TFT.
Last edited by iwalpola on Sun Jul 03, 2016 3:33 am, edited 1 time in total.

User avatar
iwalpola
Posts: 24
Joined: Tue Jun 21, 2016 1:08 pm
Location: Silchar, India
Contact:

Re: STM32F103C8 & TFT (ili9325)

Post by iwalpola » Tue Jun 21, 2016 2:18 pm

Correction: The SPFD408 is compatible with ILI9341, and also in Joao's library, there are some changes in pin_magic.h as well.
Okay, I did a git diff on the SPFD5408 library and the Adafruit TFTLCD (for ILI9325 in 8 bit mode) library. Only one thing has been changed, and that is the readID function (it reads a register to identify the chip) which isn't a big change at all. So I think an STM32 8 bit interface library for ILI9325 should work for the SPFD5408 as well. I'll look for one or modify andy's workshop code.
Last edited by iwalpola on Sun Jun 26, 2016 4:28 pm, edited 1 time in total.

User avatar
martinayotte
Posts: 1219
Joined: Mon Apr 27, 2015 1:45 pm

Re: STM32F103C8 & TFT (ili9325)

Post by martinayotte » Tue Jun 21, 2016 2:38 pm

I have an 3.5" LCD from MCUFriend which looks almost the same as the one above, and I used some parallel 8bits code which use ILI9327 commands.

User avatar
RogerClark
Posts: 6877
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: STM32F103C8 & TFT (ili9325)

Post by RogerClark » Tue Jun 21, 2016 11:00 pm

does anywhere on ebay or aliexpress sell these at reasonable prices ?

User avatar
ahull
Posts: 1596
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: STM32F103C8 & TFT (ili9325)

Post by ahull » Wed Jun 22, 2016 12:34 pm

RogerClark wrote:does anywhere on ebay or aliexpress sell these at reasonable prices ?
Depends what you call reasonable, and how accurately you define "these"... :D

http://www.ebay.co.uk/itm/2-4-inch-TFT- ... Sw6btXTQzU

http://www.ebay.co.uk/itm/New-3-5-Inch- ... SwcvdXPDXn
- Andy Hull -

Post Reply