2017-12-31 01:32 AM
I'm using the STM32F429 Discovery Board. Comparing to the Nucleos, most pins seem to be used by peripherals.
I disabled those peripherals I don't need (e.g., LCD, USART, ...) to free some pins, but I found some pins (e.g., PB13) are still used by some peripheral (i.e., they interfere with my logic), although they show as free in CubeMX.
Is there a list of pins that are reserved for the board itself even when all peripherals are disabled? I know about LEDs and button, but what about ST Link and others?
There is some official diagram of both pin headers which categorizes all pins into 'without conflict' and 'connected to other components' (
). I don't understand this list. Is this the answer to my question, or are they talking about conflicts between two or more peripherals (of which some are not shown in the diagram)?#pins2017-12-31 04:59 AM
Relatively few, there is a table in the User Manual list pins including Free ones.
2017-12-31 05:09 AM
No, I mean if you disable all peripherals, which ones are still not usable?
If you create a new project in CubeMX, the program will show some pins in green, not orange. I assume that the green pins are the ones that are used permanently, even if they belong to disabled peripherals?
2017-12-31 05:45 AM
Yes, if it comes to this board SDRAM and LCD consume huge number of pins. CubeMX marks these pins for the particular purpose so let's talk about the particular issue Lars is facing. So, what kind of functionality / pins is needed? The electrical issues require the ability to read the schematic...I prefer this way when going to assess if something conflicts with my stuff.
2017-12-31 06:31 AM
Look into the schematic to understand what is going on at the circuit level - 'pin connected to other component' may conflict with your hardware (also connected to the same pin)
2017-12-31 06:32 AM
Not sure how CubeMX manages things at a board level. A significant number of pins on the STM32F429I-DISCx boards are attached to external components (SDRAM, LCD, etc) which are going to physically interfere with other use cases.
Start as if you were just using the STM32F429ZIT6 part, it should provide ungated access.
2017-12-31 06:54 AM
As I've observed over many years the STM32F429I-DISCO has very limited expansion/experimentation options. The current pin usage makes ETHERNET or SDIO attachment impractical.
The NUCLEO-F429ZI would make for a much better breakout board, it has ETHERNET but lacks LCD/SDRAM
2017-12-31 07:03 AM
I've looked at the schematics, but it didn't help me. Yes, things are connected to things, but this I can see in CubeMX as well. What I don't know is if some of these pins are connected to some active components that cannot be deactivated at all, or to some components that interfere with the signal even when the peripheral is not in use.
So, can I use all of the LCD pins for other purposes if I'm not using the LCD at all? Can I use the USB_OTG_HS pins if I'm not using USB at all?
2017-12-31 07:04 AM
Clive, I've come specifically for the SDRAM.
2017-12-31 07:21 AM
The ILI9341 is connected to the LTDC: