Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software IRQs missing from RP2350 SVD #1898

Open
pta2002 opened this issue Sep 2, 2024 · 2 comments
Open

Software IRQs missing from RP2350 SVD #1898

pta2002 opened this issue Sep 2, 2024 · 2 comments
Assignees
Milestone

Comments

@pta2002
Copy link

pta2002 commented Sep 2, 2024

According to the RP235x datasheet, there are 6 spare IRQs which can be used for software interrupts:

IRQ Interrupt Source
46 SPAREIRQ_IRQ_0
47 SPAREIRQ_IRQ_1
48 SPAREIRQ_IRQ_2
49 SPAREIRQ_IRQ_3
50 SPAREIRQ_IRQ_4
51 SPAREIRQ_IRQ_5

However, these are not defined in the SVD, meaning things like the rp235x-pac rust crate don't expose them. (see also: rp-rs/rp235x-pac#4)

@lurch
Copy link
Contributor

lurch commented Sep 2, 2024

ping @matiasilva
(IIRC there's also some "spare" IRQs on RP2040 which can be used for software interrupts? Ah yes, RP2040 datasheet says "The core can still be forced to enter the relevant interrupt handler by writing bits 26 to 31 in the NVIC ISPR register")

@pta2002
Copy link
Author

pta2002 commented Sep 2, 2024

ping @matiasilva (IIRC there's also some "spare" IRQs on RP2040 which can be used for software interrupts? Ah yes, RP2040 datasheet says "The core can still be forced to enter the relevant interrupt handler by writing bits 26 to 31 in the NVIC ISPR register")

Yes, as far as I can tell those are also not on the RP2040 SVD, but they are also not named on the datasheet there.

@kilograham kilograham added this to the 2.0.1 milestone Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants