Traces Format

Hi,

I have a ChipWhisperer since few days and I’m able to compile/ load / run my programs.
I’m also able to get the traces from the openADC through some Python scripting.
I get traces in double format from -1.0 and 1.0. But I’d like to get the raw data from the openADC which must be a signed byte (8 bit or maybe 16 bits ?). But I can’t figure out how to do that.
Is it possible to get this raw data?

Thanks, regards.

Hi CharlesG,

The data format is automatically converted to floating point pretty early on… it’s a 10-bit ADC value however. The easiest method of converting back would be to use this formula:

round(dataPoint * 1024 + 512)

This will give you the original ADC reading.

Regards,

  • Colin