[STM32GENERIC] FSMC - SRAM

Discussions about the STM32generic core
stevestrong
Posts: 1821
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: [STM32GENERIC] FSMC - SRAM

Post by stevestrong » Tue Jul 11, 2017 5:58 pm

My version is available from: https://github.com/stevstrong/Arduino_STM32/
For general development information for libmaple F4 check this post: http://www.stm32duino.com/viewtopic.php?f=39&t=1976

You could make easily an adapter board for any LCD board, using an additional strip-board and some connectors.

User avatar
Zingg_JM
Posts: 40
Joined: Tue Jan 17, 2017 10:46 am

Re: [STM32GENERIC] FSMC - SRAM

Post by Zingg_JM » Tue Jul 11, 2017 6:03 pm

direct links to my FSMC TFT code:

"//github.com/ZinggJM/GxTFT/blob/master/GxIO/STM32GENERIC/GxIO_STM32F4_FSMC/GxIO_STM32F4_FSMC.cpp"
https://github.com/ZinggJM/GxTFT/blob/m ... 4_FSMC.cpp
"//github.com/ZinggJM/GxTFT/blob/master/GxIO/STM32DUINO/GxIO_STM32F4_FSMC/GxIO_STM32F4_FSMC.cpp"
https://github.com/ZinggJM/GxTFT/blob/m ... 4_FSMC.cpp

"//github.com/ZinggJM/GxTFT/blob/master/GxIO/STM32GENERIC/GxIO_STM32F1_FSMC/GxIO_STM32F1_FSMC.cpp"
https://github.com/ZinggJM/GxTFT/blob/m ... 1_FSMC.cpp
"//github.com/ZinggJM/GxTFT/blob/master/GxIO/STM32DUINO/GxIO_STM32F1_FSMC/GxIO_STM32F1_FSMC.cpp"
https://github.com/ZinggJM/GxTFT/blob/m ... 1_FSMC.cpp

may not be relevant, but shows the low level access I use.
I like clickable and valid links that point to relevant information

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

Re: [STM32GENERIC] FSMC - SRAM

Post by zmemw16 » Tue Jul 11, 2017 7:33 pm

they don't; a lot of boards have 32, 34, 40, even 50w connectors.
each of those is a standard for someone, they are made intending to fit something, just not necessarily your something. :)

the cz_mini series of blue boards come in about 3 maybe 4 versions, with sd/without, with db9/without, with/without display connector, mainly header(mostly for me) or socket(1 i think).

what i have found is that some displays i purchased awhile back, thinking they're ok for the blue cz; and that subsequently i could never spot a compatible board to use them on, match up brilliantly with the black ze.
i had to physically offer up one to the other, with a flip to point the pins into the socket and a rotate to line up pin one; then i could 'see' the control connection names actually matched, then i looked up the rest to check.

i found the idea of an aliexpress store expressly advertising a compatible display within the details of black board itself, quite refreshingly smart.
even better when you find the black ve/ze/zgt are not so subtly different, header v socket, 32 way v 34 way, fsmc a10 / a18; ne1 v ne4 and the rest ??
it wouldn't surprise me if it was actually the chips pin connections driving those changes though.

the silk screening is also annoying, typically the board will have the PAnn - PGnn pin names and the displays will have the fsmc designations, RD, RS, WR, NWE, DB0..DB15
if you look at the black zg schematic, they have both listed in the DISP section. only time i've seen that (thinking go check the ve/ze scematics)

of course, then there can be NE1 .. NE4, and sram, lcd etc modes, and all the other permutations make
'templates' / 'standardising' them something of a nightmare, actually just figuring out what connects to what also seems to be one as well.

stephen

User avatar
Zingg_JM
Posts: 40
Joined: Tue Jan 17, 2017 10:46 am

Re: [STM32GENERIC] FSMC - SRAM

Post by Zingg_JM » Wed Jul 12, 2017 4:05 am

stevestrong wrote:
Tue Jul 11, 2017 5:58 pm
My version is available from: https://github.com/stevstrong/Arduino_STM32/
For general development information for libmaple F4 check this post: http://www.stm32duino.com/viewtopic.php?f=39&t=1976

You could make easily an adapter board for any LCD board, using an additional strip-board and some connectors.
Thank you. Combined with the content of danieleff's link I found the info I was looking for:

https://github.com/stevstrong/Arduino_S ... ple/fsmc.h
https://github.com/stevstrong/Arduino_S ... ple/fsmc.c
I like clickable and valid links that point to relevant information

Post Reply