Showing results for 
Search instead for 
Did you mean: 

Hi, I'm using a STM32F429Idiscovery board. Is it possible a way to disable the LCD and the DRAM, so that some of the PIN utilized by such devices become free and can be utilized instead for some of the timers functionalities that are mapped on these pins?

Associate III

Open STM32CubeMX

Either of these

  • [Access to Board selector], choose the Discovery Board, Delete the features and add the desired features on desired pins
  • [Access to MCXU Selector], choose the MCU on the board, define only the pins+features you want to use (And the desired Programmer Pins SWD/JTAG) , you can look at above project to see how to define pins. This method is closer to when you make your own board.


  • Setup these as desired (or as per a demo or tutorial for your chosen STM32, Highly recommend doing a few tutorials)
    • Clock Configuration
    • Project Manager...
  • Generate Code, then open project in STM32CubeIDE


Couldn't you just use a NUCLEO board, or find a WaveShare one

The STM32F429I-DISCO has been a cul-de-sac design from the outset.

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

If you keep the chipselect pins high, all other pins (maybe except dedicated output such as interrupt pin, if the LCD has such) can be considered as free.


Another proposal when using STM32CubeMX with Board Selector: go to Pinout tab and click on "Clear Pinouts":


To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

but as the LCD is ON, for instance, also if I change the features of the PINs, when I'm doing the connections the pins are always connected with the LCD pins and the outside. I was wondering if this can create interference. The answer of @Community member​ seems satisfatory, as I'm going to disable the chip via the chipset. Or are you suggesting that is enough to delete the features and add the new features?

Anyway, thanks for your answers

@Community member​ is suggesting just to disable/add the features on the desidered pin. I think that your answer is more correct ( disable the chips select) but what do you think of simply disabling the PIN (I think that there should be some interference, but I'm not sure).

Thanks in any way for your answer.

By setting the pins on STM32 which are connected to the chipselects, to GPIO Out and high, you make sure that data lines of the LCD controller and the SDRAM will never turn to output, potentially conflicting with the pins on STM32 to which these data lines are connected.

Address lines should be OK, they are input only.

A closer examination of SDRAM and LCD controller datasheet might reveal further details.


Associate III

thanks for your useful answer