2024-01-31 08:36 AM - last edited on 2024-01-31 08:47 AM by SofLit
Good afternoon,
I am developing an hardware with microcontroller in Object.
I'm using the LQFP208 package because in my opinion it's easier to solder/remove in my lab.
For my application I need the support for:
when I try to create the IOC file I have some problems with the FMC setting for the SDRAM.
All the peripherals end with the green check instead I have a warning on the FMC and so I don't understand whether or not I can use this processor with these requirements.
Anyone could help me?
Thanks in advance
Alfredo
Solved! Go to Solution.
2024-02-01 02:36 AM - edited 2024-02-01 02:37 AM
No, The warning is not the same.
In the first warning: it points out a conflict between ETH and SDRAM but in the second one it's showing a conflict between two SDRAM banks which is from point of view not correct. Moreover the second SDRAM is not enabled so no reason to show a warning on something that was disabled.
So you can use Bank2 for SDRAM in your case.
I've already raised the behavior of CubeMx on ticket number 172341.
2024-01-31 08:41 AM - edited 2024-01-31 09:08 AM
Hello,
Normally you can use this device for this list of peripherals. What is the warning showing on the FMC? is it something related to shared GPIOs between the peripherals you're using (conflicting IOs)? If it's the case you need to juggle with the IOs selection to fit your application requirements.
2024-01-31 09:47 AM
There's also Data Sheets and Pencils,
SDRAM with large bus widths will eat pins
RGB via LTDC can eat upward of 16 or 24 pins, plus a couple of control pins.
2024-02-01 12:48 AM
Good morning,
thanks for your soon reply!
I recently started working with the STM32 and I'm reading a lot of datasheets. Many times it's not exactly easy to change microcontroller.
It is the first time I develop a board with STM32 microcontroller.
My design it is based on MB1381 Board.
I try to explain better what I see.
At the moment these are the peripherals I try to enable. Beside this LTDC controller too.
I click each one peripherals and enable with following parameter:
Then I see the pins correctly mapped on Microcontroller.
Subsequently I try to enable:
The peripherals is checked green but the pins are not automatically configurated.
Why the application does not default pins mapping?
I have to load each pin one by one?
For now I left without LTDC pins not configurated.
Then I try to configurate the FMC.
I enable the SDRAM1 with the parameters in picture.
Instantly some peripherals report a warning.
The default pins for FMC are mapped.
Following the warning I read
At this point I change Ethernet to RMII
The warning disappared but in FMC remain.
Partly disabled conflict with:
what exactly does it mean?
Thanks in advance
Alfredo
2024-02-01 12:58 AM
Hello,
Thank your for the sharing.
Is that possible to share your ioc file?
2024-02-01 01:10 AM
2024-02-01 01:53 AM - edited 2024-02-01 02:19 AM
Indeed you have a GPIO conflict on PC5: FMC_SDCKE0 with ETH_RMII_RXD1
and also on PC4: FMC_SDNE0 with ETH_RMII_RXD0
So Select SDCKE1+SDNE1 (to use BANK2) instead of SDCKE0+SDNE0 (BANK1)
2024-02-01 02:25 AM
Using SDCKE0+SDNE0 the port mapping are:
On this pins there are not Ethernet connections.
In any case using SDCKE1+SDNE1 the port mapping are:
On this pins there are not Ethernet connections
The problem remains...
2024-02-01 02:36 AM - edited 2024-02-01 02:37 AM
No, The warning is not the same.
In the first warning: it points out a conflict between ETH and SDRAM but in the second one it's showing a conflict between two SDRAM banks which is from point of view not correct. Moreover the second SDRAM is not enabled so no reason to show a warning on something that was disabled.
So you can use Bank2 for SDRAM in your case.
I've already raised the behavior of CubeMx on ticket number 172341.
2024-02-01 03:01 AM
Ok.
I put SDCKE1+SDNE1.
In any way:
Regards LTDC my previous Questions was:
Why the application does not default pins mapping?
I have to load each pin one by one?
Thanks
Alfredo