Logic

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m (Created page with 'This page has useful information for use with the Saleae Logic software ==SPI Export== When you export SPI data, it comes in very unhelpful two line format... The following will…')
 

Latest revision as of 21:57, 15 November 2011

This page has useful information for use with the Saleae Logic software

[edit] SPI Export

When you export SPI data, it comes in very unhelpful two line format... The following will de-munge the data:

cat spi.csv | awk -F , 'BEGIN{prev=0;print "Time,MOSI,MISO"}{if ($2 == "MISO Data") {printf "%s,%s,%s\n", $1, prev, $3} else {prev = $3}}' > spi.done.csv
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox