New Software for debugging Hardware Communication Issues over UART, SPI, I2C, CAN

Elmue

Well-known member
Do you have any communication issues of your Teensy with other chips?

If you have an oscilloscope that can connect to your computer over USB or that can store CSV files on a USB stick, then there is a new open-source software for you which converts your oscilloscope into a logic analyzer: Oszi Waveform Analyzer.

OsziWaveformAnalyzer.png


1.) Capture the traffic over UART, SPI, I2C or CAN bus on your oscilloscope either as analog or as digital channels.
2.) Transfer the capture over USB or as CSV file to the computer.
3.) Now you can study the channel(s) of the capture in Oszi Waveform Analyzer. A tooltip shows details of the signal.
4.) Use the A/D Converter to convert analog channels into digital.
5.) Right click into a channel and in the menu select the decoder for you signal: UART, SPI, I2C or CAN Bus

RightClickMenu.png


SPI Mode 0 Communication.png


Here you see the decoded bidirectional SPI traffic of a Teensy 3.2 board communicating with a Philips PN532 RFID + NFC transmitter chip
in my open source project Secure RFID Doorlock that opens a door with an RFID card using strong encryption.

If you have to decode UART, I2C or SPI data of specific chips and show the meaning of this data, you can write your own Post-Decoder.

Here an example of the post decoder for the above PN532 communication:

PostDecoderPn532Spi.png


You see that the post decoder analyzes the binary bytes and shows details about the RFID card that has been detected by the PN532 chip.

The CAN Bus decoder (CAN classic + CAN FD) allows to analyze problems on the CAN bus.
It has a fully implemented error detection: Sample Point Timing errors, Stuff Bit Errors, Parity Bit Errors, CRC Errors.

CanBusRaster.png


Oszi Wavefore Analzyer can also split the bidirectional half-duplex UART traffic on a single data line into 2 separate Rx and Tx channels.
I show this at the example of a pinpad communicating with a chipcard.

Oszi Wavefore Analzyer has much more features than this.
You find the full description and the download here:
 
Back
Top