2025-08-07 7:57 AM - last edited on 2025-08-07 8:13 AM by Andrew Neil
Hi everyone,
I am working on a project with the STM32H755ZI-Q (Nucleo H755ZI-Q) board, and I am following this tutorial for Inter-Processor Communication (IPC) using OpenAMP: Link to tutorial.
The setup involves two processors (M4 and M7). Here's the LED behavior that I have implemented:
LED1 (PB0) is assigned to M4.
LED2 (PE1) and LED3 (PB14) are assigned to M7.
When M7 sends a message to M4, M4 replies, and LED1 turns ON.
If M7 receives the expected message, LED2 turns ON; otherwise, LED3 should turn ON.
Everything seems to work fine when LED2 is assigned to M7 (PB14), as it turns ON as expected. However, when I swap the assignments and move LED2 to LED3 (PB14), LED3 doesn’t turn on, despite the message being received and processed correctly.
I have tried putting LED3 in a while loop in the main function and toggling it manually with:
HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_14);
but still, LED3 (PB14) does not turn ON.
Has anyone encountered a similar issue or can suggest where the problem might lie?
Any help would be greatly appreciated!
Thanks in advance!
2025-08-07 8:38 AM
Ensure it is assigned a core context and is being initialized as a GPIO output.
If in doubt, look at the GPIOB register and ensure MODER bits are as expected.
2025-08-07 8:57 AM
Hi @TDK,
Thanks for the reminder! Those are things I always keep in mind when working with GPIO initialization and configuration.
2025-08-07 9:01 AM
Hello,
Share code, ioc file, if you can.
Use a voltmeter to check PB14 output on CN8. Q3 transistor or LD3 LED might be non working.
2025-08-07 9:23 AM
Hi @Mike_ST ,
I’ve tested my LEDs with the Blinky code, and everything is working fine. Here’s the code I’m using: