Other Parts Discussed in Thread: CC3220S, OPA4342
Tool/software: TI-RTOS
Hello everyone,
I am having some trouble configuring the adc input pins to function as gpio pins using the CC3220S launchpad. I can't get pin 57 to pin 60 corresponding to GPIO02 - GPIO05 to work as outputs. I wouldn't ask but I don't seem to have any pins left to use. I am using the SimpleLink MCU SDK Driver API Reference, link: http://dev.ti.com/tirex/content/simplelink_cc32xx_sdk_2_30_00_05/docs/tidrivers/doxygen/html/index.html. I configured for instance gpio04 (pin59) in: CC3220S_LAUNCHXL.c as:
GPIOCC32XX_GPIO_04 | GPIO_CFG_OUT_STD | GPIO_CFG_OUT_STR_HIGH | GPIO_CFG_OUT_LOW,
Configured as well in: CC3220S_LAUNCHXL.h, 'CC3220S_LAUNCHXL_GPIOName' enum as 'CC3220s_GPIO_CHIP_SELECT3'. Trying to use it with:
GPIO_write(Board_GPIO_CHIP_SELECT3, 1); GPIO_write(Board_GPIO_CHIP_SELECT3, 0);
This aprouch worked fine for the other pins I used, what am I doing wrong in this instance? Any help would be greatly apriciated. Also don't be afraid to tell me if I was unclear in my question anywhere.
Thank you very much for your help,
Nick