STM32GENERIC, my arduino implementation

Discussions about the STM32generic core
acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: STM32GENERIC, my arduino implementation

Post by acronis » Wed Jun 14, 2017 1:32 am

Hello.
I tried this example.
He poured without errors but the screen is blank .
What could be the problem ?

danieleff
Posts: 336
Joined: Thu Sep 01, 2016 8:52 pm
Location: Hungary
Contact:

Re: STM32GENERIC, my arduino implementation

Post by danieleff » Wed Jun 14, 2017 4:06 am

acronis wrote:3.2 inch TFT LCD screen with resistive touch screens ILI9341 display module
especially for black Board STM32F407VET6
https://ru.aliexpress.com/item/3-2-inch ... Title=true
This is the first time I actually see a display with the matching connector to the board.

stevestrong has library for 16 bit parallel display https://github.com/stevstrong/Adafruit_ ... 6bit_STM32
I think you will need his version of the libmaple core: https://github.com/stevstrong/Arduino_S ... F4_variant

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: STM32GENERIC, my arduino implementation

Post by acronis » Wed Jun 14, 2017 4:30 am

Well. Thank you. I will try.

ChrisMicro
Posts: 308
Joined: Fri Mar 24, 2017 4:51 pm
Location: Germany

Re: STM32GENERIC, my arduino implementation

Post by ChrisMicro » Wed Jun 14, 2017 7:02 am

Sorry, arconis, I didn't see that the display has a parallel interface.
I'm very curious if it is working and if so, it would be very useful to add the working solution to the examples folder.

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

Re: STM32GENERIC, my arduino implementation

Post by zmemw16 » Thu Jun 15, 2017 5:40 pm

two^H^H^H^H5 questions
@acronis
did you get it working ?
could you share the TFTLCD h file?

steve
when you say generic f407v, which board are you thinking of ? Black F407VE schematic? it matches

i've got my Black F407VE with compatible display inserted, the led is going nicely clappers :) , display is blank :(
any suggestions ?
edit answered 2q's

stephen

User avatar
Pito
Posts: 1593
Joined: Sat Mar 26, 2016 3:26 pm
Location: Rapa Nui

Re: STM32GENERIC, my arduino implementation

Post by Pito » Thu Jun 15, 2017 5:55 pm

I got a similar display but with 40pins :(
I doubt it fits.. :P
@stephen - is your display the one from acronis link?
Pukao Hats Cleaning Services Ltd.

stevestrong
Posts: 1747
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: STM32GENERIC, my arduino implementation

Post by stevestrong » Thu Jun 15, 2017 7:16 pm

I am talking about the black f4vet6 board.
I also own a mini f4vet6 board, but did not test it yet.
I have transformed the ili9486 SPI diplay for 16 bit parallel access and used it with FSMC., see benchmark here:
http://www.stm32duino.com/viewtopic.php ... 150#p28314

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

Re: STM32GENERIC, my arduino implementation

Post by zmemw16 » Thu Jun 15, 2017 8:11 pm

they're 32 way, the display for the black f407 ve and ze boards is socketed, the zgt is a 34 way pin header
there's another difference in the pin outs,ve&ze vers zg boards, not quite sure how i missed that.

i was checking the f407ve schematic against the tftlcd_16bit library files as it was described as a generic f407, header file matches the black f407ve circuit.
curiously there are a couple pins that have an adjacent 'zet' annotation.

this setup requires stevstrong black_f4_variant repo installed
i've tried the graphic test, compiles and it has a flashing led, enable the actual graphics bits and the compile/link messages window turns really orange.
doesn't see the header files listed in pin_map.c
the ide also doesn't want to change the port, only one is /dev/ttyACM3, insists on reporting /dev/ttyACM0 is not there. even though i restarted it with an edited preferences.txt setting it.

headers / socket attached, this is graphic.xcf, compressed with gzip, split into 3 parts and renamed to .txt
i noted keypunch 's comment about 3 files max :D
re-assembly is left to the student :D
hdr-sktac.txt
(68.36 KiB) Downloaded 9 times
hdr-sktab.txt
(78 KiB) Downloaded 4 times
hdr-sktaa.txt
(78 KiB) Downloaded 6 times
stephen

acronis
Posts: 142
Joined: Thu Mar 02, 2017 12:32 pm

Re: STM32GENERIC, my arduino implementation

Post by acronis » Fri Jun 16, 2017 11:47 am

Hello. IDE 1.8.2 , you have the library installed stevestrong has the libraries for 16 bit parallel display and https://github.com/stevstrong/Adafruit_ ... 6bit_STM32 https://github.com/stevstrong/Arduino_S ... F4_variant . example Graphisctest. error


In file included from C:\Users\VIC\ Documents\Arduino\\libraries Adafruit_TFTLCD_16bit_STM32-master\examples\graphicstest\graphicstest.ino:7:0:

C:\Users\VIC\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32-master\src/Adafruit_TFTLCD_16bit_STM32.h in the void writeCommand function '(uint16_t)':

C:\Users\VIC\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32-master\src/Adafruit_TFTLCD_16bit_STM32.h:64:22: error: 'fsmcCommand' was not declared in this area

#define lcdCommand (*fsmcCommand)

^

C:\Users\Виктор\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32-master\src/Adafruit_TFTLCD_16bit_STM32.h:68:27 note: in expansion of macro 'lcdCommand'

#define writeCmd(d) { lcdCommand = d; } //(l&0x00FF); }

^

C:\Users\VIC\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32-master\src/Adafruit_TFTLCD_16bit_STM32.h:200:2 note: in expansion of macro writeCmd"

writeCmd ();

^

stevestrong
Posts: 1747
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: STM32GENERIC, my arduino implementation

Post by stevestrong » Fri Jun 16, 2017 12:49 pm

As this thread is dedicated for STM32GENRIC developed by Daniel, and my generic_f4 branch is based on libmaple core and not based on this, I would suggest to not put here issues related to my lib.

So please post issues related to 16 parallel display either here or make a new thread: viewforum.php?f=39.

Issues related in general to my branch, please post here: http://www.stm32duino.com/viewtopic.php?f=39&t=1976

Post Reply