How can I change the target clock?

Hi

I am using the ChipWhisperer-lite and the UFO base board with XMEGA/STM32F3 target.
I want to change the clock frequency of the target board, So I tried changing the clock like this:

“scope.clock.clkgen_freq = 3.2e6”

The above command works normally without any errors.
However, when performing serial communication with the target, I can’t receive any response.
(The ack packet cannot be confirmed either.)

How can I change the clock and make the target work normally?

Thanks.

The UART baud rate is tied to the clock, so you need to scale it accordingly; see this thread:

1 Like