Skip to content

JonasAlaif/sigrok-infineon-swi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sigrok Decoder for Infineon SWI

Instructions

First install sigrok, either:

sudo apt-get install sigrok

or download PulseView directly

Next clone this directory:

git clone https://github.com/JonasAlaif/sigrok-infineon-swi.git
cd sigrok-infineon-swi/

Then to run you can use:

SIGROKDECODE_DIR=$(pwd)/decoders pulseview -i cap_*.sr

This will open all 4 cap_ files, each is unique. If you downloaded the PulseView AppImage then replace pulseview above. The SIGROKDECODE_DIR var is needed to add the custom decoder.

Inside PulseView click the add protocol decoder button (rightmost) and select SWI. This will add a new channel SWI, below DIN 0 (SWI) and DIN 4 (UART).

The captured DIN 0 (SWI) channel should now be decoded here. Zoom in with scroll to view at different levels. If you need to change the channel being decoded, click on SWI and select a different SWI channel.

Note; the captured trace has been included in this repo to save you having to convert it to a sigrok format. If you do not wish for this to be publicly available please let me know.

About

Primitive Sigrok SWI Decoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages