Unable get interrupts to Cortex A7_1 in STM32MP157
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-03 5:51 AM
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
Solved! Go to Solution.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-04 8:50 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-03 7:11 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-04 8:50 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-06 12:59 AM
Thank you for reply @Erwan SZYMANSKI​
Now we are getting all interrupts in both cores.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-06 12:59 AM
Thank you for reply @PatrickF​
Now we are getting all interrupts in both cores and also one core to another core.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-08 2:31 AM
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'
