Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: SYSCONFIG, CC3220SF, OPA4342
Tool/software: Code Composer Studio
I'm trying to integrate some hardware pins 21 through 26 on the +5v side. The small test hardware is just a quick pin setup with some LED's and one test switch.
Right now, I'm just trying to enabled one of the LEDs through code and aws_iot.syscfg window.
I enabeld one like the following screenshot.
I see the generated code and I'm using the code, must like the standard LED on/off code base. That code for the Red LED is working fine, but I can't seem to find the issue why the LED (from an external board soldered up) isn't working.
And in my code, I'm calling two functions and it doesn't appear to light up.
GPIO_write(CONFIG_GPIO_LED_0, CONFIG_GPIO_LED_ON);
GPIO_write(CONFIG_GPIO_FM_LFT_DN, CONFIG_GPIO_LED_ON);
But the standard (CONFIG_GPIO_LED_0 - on board) LED is working fine.
Is there something I'm missing that needs to be configured?
I'm even setting the following, but I'm not sure if it's even required, but I did notice the CONFIG_GPIO_LED_0 is configured the same way in some of the sample code.
GPIO_setConfig(CONFIG_GPIO_FM_LFT_DN, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_LOW);
I'm mostly using the publish / subscribe example application along with the out of box sampleAny application integrated together. I'm also using the AWS IoT plugin codebase as well.
Any help would greatly be appreciated as I'm really stuck on this one, and somewhat new to TI hardware.
