Need help to program Husky/CW308_LPC55S6X

If I scale the baud rate according to the new clock, then capture times out for all clocks except the default 7.37 MHz.

CLOCK = scope.clock.clkgen_freq

BAUD = target.baud

NEWCLOCK = 14.74e6

scope.clock.clkgen_freq = NEWCLOCK

target.baud = BAUD * NEWCLOCK / CLOCK

scope.clock.reset_dcms()

According to the datasheet, the max input frequency on the clock in pin is 25MHz. If you want to reach 150MHz, you’ll need to setup the PLL inside the target. I’m guessing you’ll need to make an account with NXP to gain access to the documentation for the NXP library used for this target, but you could try taking a look at the clock setup code we have to get started: chipwhisperer-fw-extra/lpc55s6x/lpc55s6x_hal.c at main · newaetech/chipwhisperer-fw-extra · GitHub.

Thank you very much for all the help.

I will look into NXP documentations.