Skip to main content
Graduate
November 3, 2022
Solved

Unable get interrupts to Cortex A7_1 in STM32MP157

  • November 3, 2022
  • 2 replies
  • 1257 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

    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.

    Srikanth1Author
    Graduate
    November 6, 2022

    Thank you for reply @Erwan SZYMANSKI​ 

    Now we are getting all interrupts in both cores.

    PatrickFAnswer
    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.

    Srikanth1Author
    Graduate
    November 6, 2022

    Thank you for reply @PatrickF​ 

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

    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'