2019-06-01 04:21 AM
I currently have a TFT LGDP display and I can't figure out how to hook it up with my stmf303 re.
2019-06-01 02:43 PM
Datasheet says it has FSMC (I guess you meant that).
I don't know what kind of LCD you are talking about, but for 16-bit parallel interface, NOR flash interface is usually used, if the timing (especially hold time) allows.
If not, then NAND flash interface. I think, CubeMX doesn't support that kind of (mis)use, but you can configure a NOR/NAND flash interface in CubeMX, and in the code, reconfigure the pins not needed for the LCD interface for something else (like address pins and latch strobes). You also need one GPIO for selecting between register and data.
2019-06-01 05:43 PM
Perhaps look at design of STM32303E-EVAL board
https://www.st.com/en/evaluation-tools/stm32303e-eval.html
2019-06-01 10:08 PM
It's about OpenSmart 2.0inch TFT LCD LGDP 4524, here is the link -> https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjt7uvXgcriAhUN6aQKHS-zBJwQjhx6BAgBEAM&url=https%3A%2F%2Fwww.amazon.com%2FTouch-Screen-Breakout-Board-Arduino%2Fdp%2FB07KF2SJK3&psig=AOvVaw2VNYpoXvehdQq6ENW2FJW6&ust=1559537928203118 .
Yes I read in datasheet that this mcu has FMC, but either it is deactivated or something else, because I didn't see FSMC as a option in CubeMX to set it up. Other way is just to use arduino like libraries, sincerely I don't like to deal with arduino stuff.
2019-06-02 02:02 AM
Oops. It looks like you don't have it. The pin count is too small.
The bigger packages have it (100-pin , 144-pin).
2019-06-02 02:07 AM
Reference manual states: (p168 / RM0316)
Only the STM32F303xD/E and STM32F398xE devices include the FSMC.
2019-06-02 02:21 AM
There's also inconsistent use of 'FSMC' and 'FMC' in the data sheet.
The table "Table 2. STM32F303xD/E family device features and peripheral counts" shows that STM32F303Rx doesn't have it, but STM32F303Vx and STM32F303Zx do.
2019-06-02 05:26 AM
Is there other way of interfacing this TFT LCD LGDP4524 with stm32 board? Maybe via SPI?
2019-06-02 08:47 AM
Review the manual describing the interfacing methods
https://www.displayfuture.com/Display/datasheet/controller/LGDP4524.pdf
and the manual for whatever carrier board you have it mounted too.
One could presumably just create a bus using GPIO pins and bit-bang the bus protocol.
Can you get access to strap the IM pins to select an SPI interface option?
2019-06-02 09:12 AM
I think, SPI is the way to go. Those nanosecond-range timings are quite hard to do in bit banging.