Part Number: EVMK2H
I have imported a test project UART_BasicExample_K2H_c66xTestProject to test UART connectivity that works fine for a baud rate of 115200. Is it possible to change the baudrate and possibly other attributes of UART? I found this comment in the UART_v0.h library.
/* For KS2, the UART module frequency depends on the SoC/UART input
clock which is a board configuration rather than a SoC configuration.
The initial frequency value is set to the the SoC input clock,
the UART module frequency is calculated in UART_init_v0() */
In the test project, I tried to set the baudrate but it did not come to effect. Example
UART_Params uartParams; uartParams.baudRate = 9600; /* Initialize the default configuration params. */ UART_Params_init(&uartParams);
or wherever UART_HwAttrs instance is called, such as
UART_HwAttrs uart_cfg; uart_cfg.frequency = 9600; UART_socGetInitCfg(UART_INSTANCE, &uart_cfg);
Can it be changed on this development board?