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.

GEL slider interferes with McASP operation? OMAP-L138 CCSv3.3

Hi,

I've been trying to use GEL sliders with CCSv3.3 (and CCSv4) and the L138 eXperimenter board.

I have successfully (trivially) modified the led_dip example so as to switch an LED on and off using a GEL slider.

However, with the audio test example moving the GEL slider halts the program where it is polling the XRDY bit in McASP SRCTL11.

This can be demonstrated quite simply. The only modification to the example program is to add a variable declaration

short slider_var;

then create a GEL slider that alters the value of slider_var.

The program runs ok up until the GEL slider is moved. Then the program hangs. Halt the program and apparently it's stuck at the line

while (!CHKBIT(MCASP->SRCTL11, XRDY)) {}

The modified value of slider_var has apparently been picked up by the program (hover cursor over variable name in program listing to see its value).

I'm guessing that moving the GEL slider is interrupting the program and that the McASP operation is not happy about a (lengthy) interruption.

Is this a lost cause? Or should McASP be used in a somehow more robust manner?

I didn't encounter the same problem using GEL sliders concurrently with McBSP operation on a C6713 and CCSv3.1.

  • Donald said:
    I'm guessing that moving the GEL slider is interrupting the program and that the McASP operation is not happy about a (lengthy) interruption.

    Yes, moving the GEL slider would halt CCS so that it can write the new value to slider_var, then resume execution. But I don't know what impact that would have on the McASP. One thing you may want to try is see if you get the same behavior on CCS 3.1/3.3 with the same application and same target.

    Thanks

    ki