As of August 2020 the site you are on ( is deprecated, and content is now at

CW303 XMEGA Target/Communication

From ChipWhisperer Wiki
< CW303 XMEGA Target
Revision as of 06:57, 19 April 2018 by Fheubach (Talk | contribs) (Python scripting)

Jump to: navigation, search

Setting up Communication

Sets up the ability for communication with the target using the ChipWhisperer scope.

Using GUI Scripts

Within the python console run the following scripts in order:


Python scripting

Execute these lines of code within a python console or script:

import chipwhisperer as cw

scope = cw.scope()
target =

scope.gain.gain = 45
scope.adc.samples = 25000
scope.adc.offset = 0
scope.adc.basic_mode = "rising_edge"
scope.clock.clkgen_freq = 7370000
scope.clock.adc_src = "clkgen_x4"
scope.trigger.triggers = "tio4" = "serial_rx" = "serial_tx" = "clkgen"