Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG, Z-STACK
Tool/software:
Based on the onoff_light_LP_EM_CC2340R5_freertos_ticlang example of the simplelink_lowpower_f3_sdk_9_12_00_19 SDK ,Configure the UART2 port in the SYScfg and After initializing the UART2 port, it was found that the SDK could not start normally.
const char echoPrompt[] = "Echoing characters:\r\n";
UART2_Handle uart;
UART2_Params uartParams;
uint32_t status = UART2_STATUS_SUCCESS;
size_t bytesWritten = 0;
/* Create a UART where the default read and write mode is BLOCKING */
UART2_Params_init(&uartParams);
uartParams.baudRate = 115200;
uart = UART2_open(CONFIG_UART2_0, &uartParams);
UART2_write(uart, echoPrompt, sizeof(echoPrompt), &bytesWritten);
After calling the UART2_open interface, the system stops running.







