Hi,
I have tested several example projects from ezdsp5535_v1 and works except the switch test project on ezDSP5535 USB. First of all, the gel echoes seem correct:
C55xx: GEL Output:
StartUp()
C55xx: GEL Output:
OnTargetConnect()
C55xx: GEL Output:
OnReset()
C55xx: GEL Output: Reset Peripherals is complete.
C55xx: GEL Output: Configuring PLL (100 MHz).
C55xx: GEL Output: PLL Init Done.
C55xx: GEL Output: Target Connection Complete.
C55xx: GEL Output:
OnPreFileLoaded()
C55xx: GEL Output: Reset Peripherals is complete.
C55xx: GEL Output: Configuring PLL (100 MHz).
C55xx: GEL Output: PLL Init Done.
C55xx: GEL Output:
OnRestart()
C55xx: GEL Output: Reset Peripherals is complete.
C55xx: GEL Output:
OnRestart()
C55xx: GEL Output: Reset Peripherals is complete.
When run it with debugger, it outputs:
Testing Switches...
Press SW1 or SW2 to toggle LEDs.
Press both to toggle LEDs DS3 & DS4 and end test.
Testing Switches...
Press SW1 or SW2 to toggle LEDs.
Press both to toggle LEDs DS3 & DS4 and end test.
It stops at while line below:
Uint16 EZDSP5535_SAR_getKey(void)
{
CSL_Status status;
Uint16 val;
/* Check whether the ADC data is available or not */
while(CSL_SAR_DATA_AVAILABLE != SAR_getStatus(SarHandle,&status));
no matter how to press the keys.
I have attached the zip project, hoping someone can test it for me.
Thanks,
The CSL library has been modified with csl_general.h for 5535.