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.