Other Parts Discussed in Thread: LAUNCHXL-CC2650, CC2650
Hi everyone,
I need to pullup a UART Rx pin (IOCFG8: PULL_CTL = 0x2).
But after calling UART_open() IOCFG8 is set: PULL_CTL = 0x3
What am I doing wrong?
Board_UART_RX | PIN_INPUT_EN | PIN_PULLUP,
//Init & Open UART
void UART_Init(void){
UART_Params_init(¶ms);
params.baudRate = 2400;
params.stopBits = UART_STOP_ONE;
params.parityType = UART_PAR_NONE;
params.writeDataMode = UART_DATA_BINARY;
params.readDataMode = UART_DATA_BINARY;
params.readMode = UART_MODE_CALLBACK;
params.readCallback = UART_ReadCB;
handle = UART_open(Board_UART, ¶ms); // Open the UART and do the read
}