Skip to main content
Associate III
November 3, 2022
Solved

Unable get interrupts to Cortex A7_1 in STM32MP157

  • November 3, 2022
  • 2 replies
  • 1258 views

hello

We are using STM32MP157A-dk1 evaluation board. To this we are writing bare metal code in SEGGER Embedded Studio.

Actually, We have enabled group and set enable registers for respected SGI and PPI interrupts in GICC and GICD registers. By this we are able to generate SGI and PPI interrupts for cortex A_0 but unable to generate for cortex A_1. what might be the issue ?

regards

srikanth

This topic has been closed for replies.
Best answer by PatrickF

Hi @Srikanth​ 

Don't know if it help, but please note that, inside the GIC, there is a single 'Distributor', i.e. GICD registers which is are shared with both cores.

But each core has its own 'CPU interface', i.e. each core see their own GICC registers, so you cannot configure core1 interrupts from core0 (don't know if it is what you are trying to do).

Only core1 could enable its own interrupts inside GICC.

Regards.

2 replies

Erwan SZYMANSKI
Technical Moderator
November 3, 2022

Hello @Srikanth​,

GICC and GICD registers configuration is not an easy task, and a little error in this last one can bring some usage troubles.

Could you please share a complete dump of your GICC and GICD registers that can help us to understand what is going wrong ?

Kind regards,

Erwan.

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.
Srikanth1Author
Associate III
November 6, 2022

Thank you for reply @Erwan SZYMANSKI​ 

Now we are getting all interrupts in both cores.

PatrickF
PatrickFBest answer
Technical Moderator
November 4, 2022

Hi @Srikanth​ 

Don't know if it help, but please note that, inside the GIC, there is a single 'Distributor', i.e. GICD registers which is are shared with both cores.

But each core has its own 'CPU interface', i.e. each core see their own GICC registers, so you cannot configure core1 interrupts from core0 (don't know if it is what you are trying to do).

Only core1 could enable its own interrupts inside GICC.

Regards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Srikanth1Author
Associate III
November 6, 2022

Thank you for reply @PatrickF​ 

Now we are getting all interrupts in both cores and also one core to another core.

PatrickF
Technical Moderator
November 8, 2022

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent