cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 GPIO control by both M4 and M7

R_DSP
Associate II

Hello,

I have a GPIO pin that is owned and used by the M4, i.e. Pin Context Assignment.  But on power-up, I'd like the M7 to do some work with it, toggle the state, before it starts the M4.  Is it possible for the M7 to programmatically take ownership of the GPIO pin, then transfer it back to the M4 just before it starts the M4?

Regards,

Robert 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Yes, both cores can access it at any time without any other setup. The context assignment in CubeMX only configures which core initializes the pin.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Guru

Yes, both cores can access it at any time without any other setup. The context assignment in CubeMX only configures which core initializes the pin.

If you feel a post has answered your question, please click "Accept as Solution".
R_DSP
Associate II

Great, thanks for the quick reply.

Robert