Part Number: DLP4710EVM-LC
Hello TI,
I modified Cypress SDK and tried to follow the procedures as described in some of threads of this forum (set GPIO 5 to 1 and wait for GPIO 6 to turn 1......).
However, when I set GPIO 5 to 1, I did not get GPIO 6 to turn 1. I then set GPIO 5 to 1 and read the value back, the value is still 0?? There is no error message shown.
CY_HANDLE s_Handle;
uint8_t Value=0;
CySetGpioValue(s_Handle, 5, 1);
if (rStatus != CY_SUCCESS) {
printf ("CY:Error in setting GPIO 5 to 1 : Error NO:<%d> \n", rStatus);
}
printf("Succeed in setting GPIO 5 to 1 \n");
CyGetGpioValue(s_Handle, 5, Value);
printf ("GPIO value?:<%d> \n", Value);
Succeed in setting GPIO 5 to 1
GPIO value?:<0>
I also ported and built DLPC-API in my Linux PC, the procedures in DLP347x_dual_sample.c are are still the same (set GPIO 5=1, wait GPIO6=1, set GPIO9=1), but when I run the code, it's timeout, I think it is also wait for GPIO 6 to go high.
Can anyone give me a hand?
Thanks!
Derlin
However