This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I change the clock frequency on-the-fly given a UART command?

Hi everyone

I am trying to understand if it 's possible to change the clock frequency on-the-fly, by giving a certain command to the uC via UART.

I started from the ble_app_uart example (I am working with nrf52832, SD 132). I think that the function that I should handle is the following one:

ret_code_t nrf_drv_uart_rx(uint8_t * p_data, uint8_t length)

since it is described as the function for receiving data over UART

Has someone some ideas?

Thank you for your help!