Hi,
Is it possible to pin a interrupt routine to one of the two cores (or a ISR function pinned to one of the cores)?
The goal is to let some logic be done by one core (trapping external interrupts from eg. a pushbutton) and send a timestamp and some other data to the other core where it can be proccesed and output to eg. a serial monitor.
As for the "timestamp" is there a "arduino-alike" function of micros() or millis()?
Grtz,
Yves
Can i create a ISR or interrupt and let that be pinned to a core?
Re: Can i create a ISR or interrupt and let that be pinned to a core?
Allocating an external interrupt will always allocate it on the core that does the allocation.
https://esp-idf.readthedocs.io/en/lates ... alloc.html
https://esp-idf.readthedocs.io/en/lates ... alloc.html
Re: Can i create a ISR or interrupt and let that be pinned to a core?
Hi WiFive,
read the article, seems very interesting.
Just googled for a sort of hands on, but nothing came up
Grtz,
Yves
read the article, seems very interesting.
Can anyone point me to a example?WiFive wrote:Allocating an external interrupt will always allocate it on the core that does the allocation.
https://esp-idf.readthedocs.io/en/lates ... alloc.html
Just googled for a sort of hands on, but nothing came up
Grtz,
Yves
Re: Can i create a ISR or interrupt and let that be pinned to a core?
Bump - Has anyone got an example?YvesDS wrote:Hi WiFive,
read the article, seems very interesting.Can anyone point me to a example?WiFive wrote:Allocating an external interrupt will always allocate it on the core that does the allocation.
https://esp-idf.readthedocs.io/en/lates ... alloc.html
Just googled for a sort of hands on, but nothing came up
Grtz,
Yves
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Can i create a ISR or interrupt and let that be pinned to a core?
An example for what, exactly?
Who is online
Users browsing this forum: No registered users and 180 guests