This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil RTX Task, FIQ & SW IRQ Interraction

Hello,

Besides an RTX task polling, is there any glue that interconnects an FIQ with an RTX task?

Details below and thank you for your help,
Lonnie

Details
I have a peripheral driver (ARM Cortex) that is asynchronous and triggers an FIQ when it receives data. The FIQ analyzes the data (checks to see if it had received the correct closing sequence). Now, somehow I need to inform an RTX task that the complete set of data has been received.

Since FIQ cannot call RTX functions, how can I inform the task that there is data ready?
I can only think of polling.

Unless, there is some way to mate an RTX software interrupt to the peripheral?

Parents
  • Thank you for your response!

    I thought isr_evt_set() could not called from an FIQ interrupt.

    I tried it - with no success.
    I single stepped through the interrupt and interrupt calls the event.
    However, the RTX task that is waiting on the event never sees the event being signaled.

Reply
  • Thank you for your response!

    I thought isr_evt_set() could not called from an FIQ interrupt.

    I tried it - with no success.
    I single stepped through the interrupt and interrupt calls the event.
    However, the RTX task that is waiting on the event never sees the event being signaled.

Children