2016-10-30 01:45 AM
Hi
Im working with stm32f429 and i want to have 2 MT48LC16 SDRAM for my TFT_LCD and yet cause of some conflicts, i can only use 1 FMC SDRAM on cube. is it possible to do this? if yes how must i determine the address and DQML and DQMH pins on the 2 SDRAM?2016-10-31 11:01 AM
Hello,
You can start from an FMC_SDRAM working example under STM32CubeF4:\STM32Cube_FW_F4_V1.13.0\Projects\STM32F429I-Discovery\Examples\FMCRefer to the datasheet and reference manual related to your device, they will be your support about DQML and DQMH pins.Regards2016-11-01 12:52 AM
Hi
thank you for your response but the examples for the discovery kit is about how to read or write form ONE SDRAM, but my question is how can i have 2 SDRAMs instead of one and yet only use one FMC clk and chip enable ...best regardsMariya2016-11-03 05:43 AM
Hello Trinity,
In such a case I highly recommend to use the STM32CubeMX tool, which checks the used pins for you etc. to avoid some conflicts between already used pins.In case of the SDRAMs, there are some lines which are common (shared) for both memories (data, address etc.) and lines which are unique for each memory (write eneable for instance). But as said, STM32CubeMX will help you with this. :)Just one more remark, as you are going to use two memories connected in parallel, pay attention to your layout and make sure the memories are properly terminated etc. While one memory will be active (the latter will stay in high impedance state), the signal will still be transmitted to both devices. This can lead to reflections on the lines due to improper terminations etc. On the internet you will find a lot of application notes from TI, Analog devices, NXP how to design high speed circuits etc.I hope my answer helps you to move forward.Have a nice day,Renegade