newaetech / chipwhisperer

ChipWhisperer - the complete open-source toolchain for side-channel power analysis and glitching attacks
http://chipwhisperer.com
Other
1.09k stars 280 forks source link

Husky sampling clock phase is not consistent. #490

Open jpcrypt opened 4 months ago

jpcrypt commented 4 months ago

The relative phase between the target clock and the ADC sampling clock phase is not always consistent when scope.clock.adc_mul is changed, or when the frequency of scope.clock.clkgen_src is changed.

Running scope.clock.pll.recal() and re-setting scope.clock.clkgen_src appears to resolve the problem but more testing is needed.