Other Parts Discussed in Thread: CC1352P
I was trying to set/clear DIO19 pin using the following code: but it has no effect on the pin status.
GPIO_init();
GPIO_setConfig(19, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_HIGH);
GPIO_write(19, 1);
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I was trying to set/clear DIO19 pin using the following code: but it has no effect on the pin status.
GPIO_init();
GPIO_setConfig(19, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_HIGH);
GPIO_write(19, 1);
Hi,
I used the driverlibrary APIs to verify the hardware. It is working as expected.
I left the DIO_19 in default configuration after device reset.
see code below:
//
// Set GPIO as output
//
IOCPinTypeGpioOutput(IOID_19);
GPIO_writeDio(IOID_19, 1);
Regards,
With LaunchPad projects and board files (CC1352P_2_LAUNCHXL.c), IOID_19 is assigned to the CC1352P_2_LAUNCHXL_UART0_CTS so make sure that UART, if enabled, is not interfering with this pin functionality.
Regards,
Ryan