I bought CY8CKIT-049-42XX to use it's USB to serial bridge (CY7C65211). I need the chip to communicate with SPI device and the SPI API works as expected.
I'm struggling to drive the GPIOs of the chip/board! I tried everything: tried all GPIO numbers, tried to use SCB0 and SCB1 and always the function CySetGpioValue returns error code 6 (CY_ERROR_REQUEST_FAILED).
How the GPIOs should be used? Please give me working example!?
Solved! Go to Solution.
Yes, it seems to change the port configuration (input or output) only in Configuration Utility
Otherwise you will get an error CY_ERROR_REQUEST_FAILED - I just checked it.
Unfortunately my example is on LabVIEW.