Skip to content

Rp2040 Systick Interrupt #15

Answered by terjeio
ncalbrecht asked this question in Q&A
Discussion options

You must be logged in to vote

I can't see where the interrupt handler is registered.

Can't remember where it is found now but it is likely defined as a weak symbol in the vector table definition. By just adding it to driver.c the weak definition is overridden.

Additionally, if I understood the datasheet correctly, the RP2040 doesn't even have a Systick interrupt.

AFAIK all (or almost all?) ARM processors has a systick timer, usually reserved for OS use. I regard grblHAL as an OS (when not running under a RTOS) so I claim the systick timer and the corresponding interrupt. And the RP2040 definitely has one (or two - I believe one for each core), although somewhat hidden away.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ncalbrecht
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants