This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RingIO + messageQ + SysBios HWI

Other Parts Discussed in Thread: OMAPL138

Hi everybody,

I'm using omapl138 and I'm struggling with the following issue while developnig a DSP application.

I'd like to have 2 syslink objects : ringIO and messageQ and ADC/DAC processing at the same time. From the syslink examples I'm able to create DSP application which uses only syslink objects - no issues here and that works fine. Then I'd like to add ADC data processing, so I have HWI+SWI handlers to do this. But with this I'm not able to link to DSP from ARM side ( I'm using ARM-side application from the examples to do this ).

My system looks as follows :

1. HWI thread

2. SWI thread

3. MessageQ task

4. RingIO task

I create these objects dynamically via Task/Swi/Hwi_create() api. Inside the ISR handler of HWI I call Hwi_disable for the first time to let the tasks run - but no success, my ARM-side application is not able to sync with DSP.

If I comment out HWI thread, my ARM-side application works fine. So the problem deals with HWI interrupts and syslink tasks...

Can anybody help me ? What is the right way to have HWI + syslink in one system ?

Is there any way to stop HWI, let the tasks run for a while to sync with ARM and then let the HWI run further?

BR,

Dmitry