Good day everyone, I'm all new to stm32 and have previously only done smaller projects on arduiono boards, mostly using already-finished libraries.

Now I reached a point where my programmings skills lack, so instead of optimizing my code i started to look at maple mini and thought it would be excellent to also add a "nice" GUI to my project.

I ended up ordering a chinese 3.2" tft+touch+sd card combo, but what i didn't know or think of beforehand was to check the connectivity needed (i just read here and saw all the included libraries for the aforementioned display controller), but all of them are using SPI. So the display came in the mail and i became aware that it didn't have any SPI interface, (at least not for the display, only for the touch and sd card)

Are there any working options that is available to use with stm32duino? What would be my best chance of getting this to work? (i was initially thinking about going for a MEGA, but choose the maple mini clone as i was impressed with the various tft demos i've seen )

I've tried looking through "all" of the internet, but have only found small pointers, and none of the really targeted for stm32duino. (i found one post where someone had posted an utft version with support for stm32, which was based on some teensy port, but it was also done for SPI only, and i couldn't find any ILI9341 tft 'drivers' for parallel communication... well there was one for an ILI9481 but i'm not sure if that can be used in direct replacement.

I believe i have scratched through most of this forum (although I might've missed out in some hidden thread). I've also visited and examined your projects page as well (which i think was one of the factors that made me want to give the maple mini a 'go')

Either way, all the info i've found for ILI9341 are with SPI connectivity, which i guess my module lacks (post-sales service from chinese vendors leaves quite a bit to ask for imho). I saw there was an Adafruit library for AVR which had support for SPI and 8bit parallell for ILI9341, but i'm not yet comfortable in the low level details of the stm32 boards to port this).

Wifey's todo-list and 2 toddlers tends to kill of most of my time as well, so I was hoping that others more low-level-nerdy than me would've already taken a look at this.

Got tired of waiting for a reply from seller and tried pried the screen away from the pcb, and from the markings it seems to be an SSD1289, so now back to the drawing board to see what is possible with this new information...

i thought i'd posted my first reply, seems it got lost; below is precis of it

pics of back, any identication text, link to the seller/desciption would all be helpful
i suggested a google with ili9341 and pdf, substitute ssd1289 - returns shed loads of links

the chips mode is set by 4 pins same with ssd1289 and i suspect the silk screen might be a one size fits all types/models. as you've opened it you might be able to see what its set up for (avo/multimeter resistance pin to ground ) and go from there
next is assume spi and try to read from a register (id-code1/2/3) and see if it makes sense.
you might need to send some values to reset it first.
also the id registers vary from driver to driver:-)
my starting point is the using spi sketch, about to go that route for some of my displays

and it looks exactly like this one http://www.sainsmart.com/sainsmart-3-2- ... er-reviews but when looking at the back of the pcb my board uses a TSC2046 as a touch screen controller (but that is for later, first step is to actually being able to display something useful on the screen)

On the 'ribbon' that connected the display to the pcb it is written T32-1289 V21

I doubt that this display uses spi , of all the 40pins the pcb has, the ones that would point to spi are for the sd-card reader(SD_CLK, SD_DIN etc..) and touch (T_CS, T_CLK etc..) and i guess the DB0-15 and CS, REST, RD, WR, RS are for the actual display in parallel mode?

andreas_ferm wrote:
<...>
I doubt that this display uses spi , of all the 40pins the pcb has, the ones that would point to spi are for the sd-card reader(SD_CLK, SD_DIN etc..) and touch (T_CS, T_CLK etc..) and i guess the DB0-15 and CS, REST, RD, WR, RS are for the actual display in parallel mode?

ok, its raspberry, but the1rytttttttttttttttt the cat just exercised across the keyboard, she's peeved she got locked out and it rained.
anyway there's a circuit in there which might be of interest; 4040 & 3x 4094 to give a spi interface

TSC2046 is likely the TI version of xpt2046 and probably a drop-in replacement
stephen

Several chipset have been discussed here ...
But let say that I've recently ordered an LCD 8 bit Parallel : http://www.ebay.ca/itm/141647130960
I didn't found library compatible as is, but find pieces of code put together, so here is a part of my sketch using this LCD on my Netduio2Plus :