Part Number: CC2652R7
Hi,
I'm using the UART2 driver for serial communication with another device, and it seems I need a pull up on the RX line. Otherwise, I get a pulsing from that device, which results in receiving 0x81 nonstop between valid communications.
I've seen this related question:
... but it doesn't seem to work. When I call GPIO_setConfigAndMux (like in UART2CC26X2_initIO) with GPIO_CFG_IN_PU, before then calling UART2_open, the UART2_open seems to override the pin's configuration. When I UART2_open, and then immediately call GPIO_setConfigAndMux again, the UART reads no longer work. I've also tried (after UART2_open) calling GPIO_getConfig and then GPIO_setConfig with config | GPIO_CFG_PULL_UP_INTERNAL. None of these work as expected. Is there some additional trick, or is this functionality not supported?
Thanks,
Eric