list of interrupt numbers

jsmith56x
Posts: 13
Joined: Sun Oct 13, 2024 2:51 pm

list of interrupt numbers

Postby jsmith56x » Thu Oct 31, 2024 9:14 am

Hi,

I'm looking a complete list of interrupt numbers? Is there available?
I'm looking for example interrupt number for crosscore interrupt on ESP32C3.

MicroController
Posts: 1725
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: list of interrupt numbers

Postby MicroController » Thu Oct 31, 2024 10:24 am

jsmith56x wrote:
Thu Oct 31, 2024 9:14 am
I'm looking for example interrupt number for crosscore interrupt on ESP32C3.
This is not the interrupt you're looking for.
The C3 is single-core :)

jsmith56x
Posts: 13
Joined: Sun Oct 13, 2024 2:51 pm

Re: list of interrupt numbers

Postby jsmith56x » Thu Oct 31, 2024 10:28 am

Single core however it is called (I have tested on eval board)

MicroController
Posts: 1725
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: list of interrupt numbers

Postby MicroController » Thu Oct 31, 2024 11:23 am

Ok.
The C3 CPU has 31 interrupt vectors, plus one for exceptions. Which of those 31 vectors is used for which interrupt can be configured via the interrupt matrix.
The interrupt controller and the interrupt matrix are documented in the TRM.

However, unless you have a very special use case, there shouldn't be a need for you to care about interrupt numbers at all; the IDF and its drivers take care of that for you.

Can you explain what you're trying to do, i.e. why you want to deal with interrupt setup at this low level?

jsmith56x
Posts: 13
Joined: Sun Oct 13, 2024 2:51 pm

Re: list of interrupt numbers

Postby jsmith56x » Thu Oct 31, 2024 12:25 pm

I'm working on a simulator

Who is online

Users browsing this forum: Google [Bot] and 326 guests