cancel
Showing results for 
Search instead for 
Did you mean: 

Hi there, does anyone know whether stm32F303re has FSMS? If yes, how could I enable it so that I would be able to interface a TFT LCD LGDP display?

jsmit.2
Associate II

I currently have a TFT LGDP display and I can't figure out how to hook it up with my stmf303 re.

14 REPLIES 14
turboscrew
Senior III

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.

Perhaps look at design of STM32303E-EVAL board

https://www.st.com/en/evaluation-tools/stm32303e-eval.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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.

Oops. It looks like you don't have it. The pin count is too small.

The bigger packages have it (100-pin , 144-pin).

S.Ma
Principal

Reference manual states: (p168 / RM0316)

Only the STM32F303xD/E and STM32F398xE devices include the FSMC.

turboscrew
Senior III

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.

Is there other way of interfacing this TFT LCD LGDP4524 with stm32 board? Maybe via SPI?

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I think, SPI is the way to go. Those nanosecond-range timings are quite hard to do in bit banging.