High priority interrupts

mculibrk
Posts: 22
Joined: Mon Feb 09, 2015 3:35 am

High priority interrupts

Postby mculibrk » Mon Apr 27, 2015 2:39 am

I noticed the ESP core should have support for high priority interrupts (from the .h files describing the CPU found in the RTOS SDK).

I would like to know how can the high priority interrupts be configured?
I would like to make the SPI interrupt a high priority one, so it could have it's own interrupt vector (not using the current "shared handler") to avoid the rather high >1uS latency of the ETS_INT_ATTACH() functions.

Any hint/comment would be greatly appreciated.

Regards,
MCulibrk

dkaufmann
Posts: 11
Joined: Mon Sep 26, 2016 10:02 pm

Re: High priority interrupts

Postby dkaufmann » Tue Nov 22, 2016 7:47 pm

Hi,

i am also looking for a solution to have a faster GPIO interrupt. Entering and reading and input with the standard API functions takes >2.5us which is way too slow (at 160MHz this is around 400 cycles!!). Could you find a solution?

A high priority GPIO interrupt would be nice. Or do you think the GPIO_INPUT_GET function is too slow?

Thank you for any help

roc2
Posts: 12
Joined: Tue Oct 25, 2016 3:57 pm

Re: High priority interrupts

Postby roc2 » Thu Dec 15, 2016 3:02 pm

:D hi, is this question solved, and how to solve it?

roc2
Posts: 12
Joined: Tue Oct 25, 2016 3:57 pm

Re: High priority interrupts

Postby roc2 » Thu Dec 15, 2016 3:04 pm

dkaufmann wrote:Hi,

i am also looking for a solution to have a faster GPIO interrupt. Entering and reading and input with the standard API functions takes >2.5us which is way too slow (at 160MHz this is around 400 cycles!!). Could you find a solution?

A high priority GPIO interrupt would be nice. Or do you think the GPIO_INPUT_GET function is too slow?

Thank you for any help


Hi,is your problem solved and how to solve this question??

Who is online

Users browsing this forum: No registered users and 65 guests