- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I bought CYW943907AEVAL1F .
I want to configure WICED_GPIO_39 as GPIO using
wiced_result_t wiced_result = wiced_gpio_init ( PIN_CS_MESSAGE_FPGA, OUTPUT_PUSH_PULL );
But I get wiced_result = 7 (Unsupported function)
WICED_GPIO_39 is at J6:11 on EVAL and it is named as SPI_1_MISO
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
WICED_GPIO_39 is SPI_1_MISO as per platform.c and from platform.h you can find the CYW43907AEVAL1F pin definitions, there you'll find all the functions that this pin can support. As per that, it can only support SPI and not GPIO.
In the datasheet also, you'll find in the SPI section that -
"SPI0 mentioned in Table 10 is multiplexed with GPIOs and can therefore support a bit banging based software SPI driver. SPI1 is not multiplexed with GPIOs and cannot support a bit banging based software SPI driver".
So, you can initialize SPI0 pins as GPIO.
Thanks
Aditi