Search found 3 matches

by __nemo__
Fri Jul 01, 2016 10:56 am
Forum: General Support
Topic: Thread wake up from IRQ latency
Replies: 5
Views: 2857

Re: Thread wake up from IRQ latency

It seems impossible to have 32MHz SYSCLK and keep 48MHz for USB and 24MHz for MCU =(.
So the only way is to initiate transfer within ISR via CMSIS?
by __nemo__
Fri Jul 01, 2016 2:21 am
Forum: General Support
Topic: Thread wake up from IRQ latency
Replies: 5
Views: 2857

Re: Thread wake up from IRQ latency

Yes, I am measuring using a GPIO with a logic analyzer. I cannot use clock frequency other than 24MHz because it will screw up MCO frequency.

So, assuming the TX notifier pin up as zero time starting point

tx notifier up - 0us
IRQ beginning - 2.7
IRQ after calling resume - 4.5
thread wake up - 10 ...
by __nemo__
Wed Jun 29, 2016 11:54 pm
Forum: General Support
Topic: Thread wake up from IRQ latency
Replies: 5
Views: 2857

Thread wake up from IRQ latency

Hi,

I have custom SPI slave device (CPLD) which notifies me about new data through external interrupt. The problem is that I have very limited time interval to react and begin the transfer (about 5us).

I tried to resume suspended thread from external interrupt callback (EXT driver) as shown in the ...