cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing EXTI interrupt between A7 and M4 cores.

OskarM
Associate

Hi,

is there any way to share an external interrupt, coming from two separate GPIOs, between M4 and A7 cores in stm32mp15x family? 

thanks

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @OskarM ,

 

Sorry can you please add further contex and detail about your question ? 

Thanks

Olivier 

Olivier GALLIEN
In order 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.

Olivier,

the general context is that we almost used out all GPIOs and we have a conflict between M4 and A7 cores on one EXTI "signal". In cores like M4 and any other, simpler cores, when both GPIOs are on the same core, you could just read the current state of both GPIO lines in the interrupt routine and decide which GPIO triggered the acutal EXTI interrupt, provided that we have some knowledge (control) on the external trigger duration etc. It's not perfect, but it's possible to do. Now, when the same situation happens on two, separate cores, each core would have to be triggered on the same EXTI interrupt, maybe use HSEM to protect EXTI registers from clearing the INT flag or...? Quite complicated I guess. 

b.r.