Other Parts Discussed in Thread: CC2642R
Tool/software: TI C/C++ Compiler
I would like to trigger a GPIO pin on my CC26x2 LaunchPad. However, it seems like I am unable to do so. I am specifically looking at triggering the Analog pin DIO23. Ideally, I would like to supply 3.3V from the pin, but for now, I would just like to trigger the pin with any voltage.
Here is what I am doing:
GPIO_init(); GPIO_setConfig(Board_DIO23_ANALOG, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_LOW); GPIO_write(Board_DIO23_ANALOG, Board_GPIO_LED_ON);
This code worked with triggering an on board LED. I measured the voltage on that pin and was able to detect 1.8V. However, when I run this with DIO32, it remains at 0. Am I doing something wrong here?