2023-02-09 09:34 AM
I'm working on a project using a STM32H747XIHx dual core processor. I believe I have the latest STM32CubeIDE and STM32CubeMX tools. How do I configure CubeMX to generate GPIO initialization code for my I/O signals?
Solved! Go to Solution.
2023-02-09 10:38 AM
I haven't used the dual core parts yet, but the answers to questions like this tend to start with "make sure you have the GPIO mapped/assigned to the correct CPU". If the pin is not mapped, or mapped to the other CPU (say M7 core), then the M4 code won't init that pin.
2023-02-09 10:38 AM
I haven't used the dual core parts yet, but the answers to questions like this tend to start with "make sure you have the GPIO mapped/assigned to the correct CPU". If the pin is not mapped, or mapped to the other CPU (say M7 core), then the M4 code won't init that pin.
2023-02-09 11:28 AM
Thanks, Bob. I didn't think about checking the other core, but there's no initialization there either. Now that you mention it, though, I don't remember seeing anything in CubeMX that allowed me to specify which core a particular GPIO was assigned to. Various other peripherals, yes, but individual GPIO pins not assigned to a particular peripheral, no.
2023-02-09 11:35 AM
I may have figured it out. Each GPIO has a Core Context Assignment. I had all of mine set as "Free". I'm changing them to "M7" to see what I get.
2023-02-09 11:45 AM
That is the answer, Bob. Again, thank you very much.