Sca Lab 2_1B Power Trace Gathering issue

Hi, I’m working on Lab 2.1B, the Exploration section. The amplitude of the power traces I’m capturing is extremely small. My setup consists of an STM32F051 target board on a CW308 UFO connected to a ChipWhisperer-Lite. I’ve attached my complete initialization code for both the ChipWhisperer-Lite and the target, and an image ofthe physical connection of everything.

Here is my device information from the output of scope

cwlite Device
sn         = 50203220343043543230323238303035
fw_version = 
    major = 0
    minor = 65
    debug = 0
gain = 
    mode = high
    gain = 30
    db   = 24.8359375
adc = 
    state          = True
    basic_mode     = rising_edge
    timeout        = 2
    offset         = 0
    presamples     = 0
    samples        = 3000
    decimate       = 1
    trig_count     = 1771909994
    fifo_fill_mode = normal
clock = 
    adc_src       = clkgen_x4
    adc_phase     = 0
    adc_freq      = 29538459
    adc_rate      = 29538459.0
    adc_locked    = True
    freq_ctr      = 0
    freq_ctr_src  = extclk
    clkgen_src    = system
    extclk_freq   = 10000000
    clkgen_mul    = 2
    clkgen_div    = 26
    clkgen_freq   = 7384615.384615385
    clkgen_locked = True
trigger = 
    triggers = tio4
    module   = basic
io = 
    tio1         = serial_rx
    tio2         = serial_tx
    tio3         = high_z
    tio4         = high_z
    pdid         = high_z
    pdic         = high_z
    nrst         = high_z
    glitch_hp    = False
    glitch_lp    = False
    extclk_src   = hs1
    hs2          = clkgen
    target_pwr   = True
    tio_states   = (1, 1, 0, 1)
    cdc_settings = [0, 0, 0, 0]
glitch = 
    clk_src     = target
    mmcm_locked = True
    width       = 10.15625
    width_fine  = 0
    offset      = 10.15625
    offset_fine = 0
    trigger_src = manual
    arm_timing  = after_scope
    ext_offset  = 0
    repeat      = 1
    output      = clock_xor

The Image of the connection

You haven’t connected the SMA cable. It goes between the port labeled “MEASURE” on the CW-lite and the connector near the top-right corner of the CW308.

Your power trace appears “square” because without the cable connected, all you are getting are 1-2 bits of noise.

1 Like