hello,
I am using CC2540 dongle.
I use HostTestApp for using UART.
I add below code in file hci_ext_app.c to enable UART and add preprocessor HAL_UART = TRUE.
halUARTCfg_t uart_config;
// configure UART
uart_config.configured = TRUE;
uart_config.baudRate = HAL_UART_BR_57600;
uart_config.flowControl = HAL_UART_FLOW_ON;
uart_config.flowControlThreshold = 11;
uart_config.rx.maxBufSize = 15;
uart_config.tx.maxBufSize = 15;
uart_config.idleTimeout = 15;
uart_config.intEnable = TRUE;
uart_config.callBackFunc = NULL;
HalUARTOpen(HAL_UART_PORT_1,&uart_config);
HalUARTWrite(HAL_UART_PORT_1,"HostTestApp",11);
After flashing program into device when I connect it to hyperterminal i does'nt get any data.
can anyone tell what is the wrong thing is done here for UART communication