Re: imxrt interrupt locking

2023-05-16 Thread Nathan Hartman
On Thu, May 4, 2023 at 8:08 AM Jernej Turnsek wrote: > > Hi, > thanks. Will take a look. > > On Thu, May 4, 2023 at 1:25 PM Nathan Hartman > wrote: (snip) > > I found it in the old wiki: > > > > > > https://cwiki.apache.org/confluence/display/NUTTX/High+Performance%2C+Zero+Latency+Interrupts > >

Re: imxrt interrupt locking

2023-05-04 Thread Jernej Turnsek
Hi, thanks. Will take a look. On Thu, May 4, 2023 at 1:25 PM Nathan Hartman wrote: > On Thu, May 4, 2023 at 7:11 AM Nathan Hartman > wrote: > > > On Thu, May 4, 2023 at 5:46 AM Jernej Turnsek > > wrote: > > > >> I am developing a driver which is processing peripheral interrupts every > >> 6.4

Re: imxrt interrupt locking

2023-05-04 Thread Nathan Hartman
On Thu, May 4, 2023 at 7:11 AM Nathan Hartman wrote: > On Thu, May 4, 2023 at 5:46 AM Jernej Turnsek > wrote: > >> I am developing a driver which is processing peripheral interrupts every >> 6.4 microseconds and every 16th interrupt calling notify function from HP >> work queue. But scheduling w

Re: imxrt interrupt locking

2023-05-04 Thread Nathan Hartman
On Thu, May 4, 2023 at 5:46 AM Jernej Turnsek wrote: > I am developing a driver which is processing peripheral interrupts every > 6.4 microseconds and every 16th interrupt calling notify function from HP > work queue. But scheduling workqueue does lock interrupts (through critical > section) up t

imxrt interrupt locking

2023-05-04 Thread Jernej Turnsek
I am developing a driver which is processing peripheral interrupts every 6.4 microseconds and every 16th interrupt calling notify function from HP work queue. But scheduling workqueue does lock interrupts (through critical section) up to 20us sometimes, causing my peripheral missing interrupts. The