Hello guys, I’m attempting to voltage glitch an STM8L target on a custom UFO308 board.
I’m supplying power and a 16MHz clock to the target from the CW, the target is using a 8x divider and running at 2MHz. I’m using a GPIO pin from the board to trigger the injection of a voltage glitch.
However I’m running into an issue, the glitch is delayed by about ~340ns from the trigger. I have no idea why this is happening, shouldn’t the injection delay with offset=1 and ext_offset=0 be in the order of a few nanoseconds?
Here’s the trigger waveform:
And here are the settings used to generate the glitch:
cw1200 Device sn = 44203120503043393030342035313033 fw_version = major = 1 minor = 30 debug = 0 gain = mode = high gain = 32 db = 26.125 adc = state = False basic_mode = high timeout = 0.1 offset = 0 presamples = 0 samples = 1000 decimate = 1 trig_count = 3653 fifo_fill_mode = normal stream_mode = False clock = adc_src = clkgen_x1 adc_phase = 0 adc_freq = 15999996 adc_rate = 15999996.0 adc_locked = True freq_ctr = 16000007 freq_ctr_src = clkgen clkgen_src = system extclk_freq = 10000000 clkgen_mul = 2 clkgen_div = 12 clkgen_freq = 16000000.0 clkgen_locked = True trigger = triggers = tio1 module = basic aux_out = True io = tio1 = high_z tio2 = high_z tio3 = high_z tio4 = gpio_low pdid = high_z pdic = high_z nrst = high_z glitch_hp = False glitch_lp = True extclk_src = hs1 hs2 = clkgen target_pwr = True tio_states = (0, 0, 0, 0) cdc_settings = array('B', [0, 0]) glitch = clk_src = clkgen width = 26.171875 width_fine = 0 offset = 1.171875 offset_fine = 0 trigger_src = ext_single arm_timing = before_scope ext_offset = 0 repeat = 2 output = glitch_only SAD = threshold = 0 reference =  decode_IO = trigger_pattern = None rx_baud = 38360.23667279412 decode_type = USART