Difference between revisions of "Protocol decoders"

From sigrok
Jump to navigation Jump to search
Line 323: Line 323:
|-
|-
!Protocol
!Protocol
!Category
!Input ID(s)
!Input ID(s)
!Output ID(s)
!Output ID(s)
Line 328: Line 329:
!Description
!Description
!Comments
!Comments
|-
| colspan="6" | '''SPI flash chips'''


|-
|-
| Macronix MX25Lxx05D
| Macronix MX25Lxx05D
| SPI flash
| logic, spi
| logic, spi
| mx25lxx05d
| mx25lxx05d
Line 339: Line 338:
| SPI-attached serial EEPROM. Datasheet: [http://www.macronix.com/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/3F21BAC2E121E17848257639003A3146/$File/MX25L1605D-3205D-6405D-1.5.pdf].
| SPI-attached serial EEPROM. Datasheet: [http://www.macronix.com/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/3F21BAC2E121E17848257639003A3146/$File/MX25L1605D-3205D-6405D-1.5.pdf].
| Partly working.
| Partly working.
|-
| colspan="6" | '''Displays'''


|-
|-
| SA8807A
| SA8807A
| Displays
| spi
| spi
|
|
Line 352: Line 349:
|-
|-
| EA eDIPTFT43-A
| EA eDIPTFT43-A
| Displays
| i2c
| i2c
|
|
Line 357: Line 355:
| I2C-attached LCD. Datasheet: [http://www.lcd-module.de/pdf/grafik/ediptft43-a.pdf EA eDIPTFT43-A].
| I2C-attached LCD. Datasheet: [http://www.lcd-module.de/pdf/grafik/ediptft43-a.pdf EA eDIPTFT43-A].
|
|
|-
| colspan="6" | '''ADCs'''


|-
|-
| Analog Devices AD7291
| Analog Devices AD7291
| ADC
| i2c
| i2c
|
|
Line 370: Line 366:
|-
|-
| Analog Devices ADS1258
| Analog Devices ADS1258
| ADC
| spi
| spi
|  
|  
Line 377: Line 374:
|-
|-
| Microchip MCP3901
| Microchip MCP3901
| ADC
| spi
| spi
|
|
Line 382: Line 380:
| Can be controlled via a parallel protocol, or SPI, or I2C.
| Can be controlled via a parallel protocol, or SPI, or I2C.
|
|
|-
| colspan="6" | '''Temperature sensors'''


|-
|-
| Melexis MLX90614
| Melexis MLX90614
| Sensors
| i2c
| i2c
|  
|  
Line 393: Line 389:
|  
|  
| Partly working.
| Partly working.
|-
| colspan="6" | '''Other sensors'''
|-
|-
| MEMSIC MXC6225XU
| MEMSIC MXC6225XU
| Sensors
| i2c
| i2c
|  
|  
Line 404: Line 397:
| Digital Thermal Orientation Sensor (DTOS)
| Digital Thermal Orientation Sensor (DTOS)
| Partly working.
| Partly working.
|-
| colspan="6" | '''RTCs'''


|-
|-
| Epson RTC-8564 JE/NB
| Epson RTC-8564 JE/NB
| RTC
| i2c
| i2c
|
|
Line 415: Line 406:
|  
|  
| Partly working.
| Partly working.
|-
| colspan="6" | '''Bluetooth modules'''


|-
|-
| Panasonic PAN1321
| Panasonic PAN1321
| Bluetooth
| uart
| uart
| pan1321
| pan1321
Line 426: Line 415:
| Panasonic PAN1321 Bluetooth module protocol.
| Panasonic PAN1321 Bluetooth module protocol.
|  
|  
|-
| colspan="6" | '''Embedded'''


|-
|-
| JTAG / STM32
| JTAG / STM32
| Flash/debug
| jtag
| jtag
| jtag_stm32
| jtag_stm32
Line 437: Line 424:
| ST STM32-specific JTAG protocol details.
| ST STM32-specific JTAG protocol details.
| Work in progress.
| Work in progress.
|-
|-
| JTAG / TMPA9xx
| JTAG / TMPA9xx
| Flash/debug
| jtag
| jtag
| jtag_tmpa9xx
| jtag_tmpa9xx
Line 445: Line 432:
| Toshiba TMPA9xx specific JTAG protocol details.
| Toshiba TMPA9xx specific JTAG protocol details.
|  
|  
|-
| colspan="6" | '''USB'''


|-
|-
| USB / HID
| USB / HID
| USB
| usb
| usb
| usb_hid
| usb_hid
Line 459: Line 444:
|-
|-
| USB / USBTMC
| USB / USBTMC
| USB
| usb
| usb
| usb_usbtmc
| usb_usbtmc
Line 464: Line 450:
|  
|  
|  
|  
|-
| colspan="6" | '''Other'''


|-
|-
| Wii Nunchuk
| Wii Nunchuk
| Other
| i2c
| i2c
| nunchuk
| nunchuk
Line 477: Line 461:
|-
|-
| DDC
| DDC
| Other
| i2c
| i2c
| ddc
| ddc
Line 484: Line 469:
|-
|-
| I2C Demultiplexer
| I2C Demultiplexer
| Other
| i2c
| i2c
| i2c (one or more)
| i2c (one or more)
Line 491: Line 477:
|-
|-
| I2C Filter
| I2C Filter
| Other
| i2c
| i2c
| i2c
| i2c
Line 498: Line 485:
|-
|-
| EDID
| EDID
| Other
| i2c
| i2c
| edid
| edid

Revision as of 18:28, 23 June 2012

This is a list of supported protocol decoders (PDs) and decoders which we might want to write in the future (or users might want to contribute).

See Protocol decoder API for details on how the decoders work in sigrok.

Low-level protocol decoders

Protocol decoders that only require raw probes/signals as input (and don't require any already decoded data from other PDs).

Protocol Category Output ID(s) Status Description Comments
SPI Embedded spi 80% Serial Peripheral Interface (SPI) protocol. Mostly working.
I²C Embedded i2c 80% Inter-Integrated Circuit (I²C) protocol. Mostly working.
UART Embedded uart 80% Universal Asynchronous Receiver Transmitter (UART) protocol. Mostly working.
1-Wire Embedded 20% Work in progress (Iztok Jeras)
Microwire Embedded 0%
UNI/O Embedded 0%
CAN Automotive 0%
FlexRay Automotive 0% FlexRay is an automotive network communications protocol.
LIN Automotive 0% LIN (Local Interconnect Network) is an automotive bus standard.
JTAG Flash/debug jtag 80% Joint Test Action Group (IEEE 1149.1) Mostly working, though some details need to be fixed or improved.
SWD Flash/debug 0%
AVR ISP Flash/debug avr_isp 10% Atmel AVR In-system programming protocol. Work in progress (Uwe Hermann)
AVR PDI Flash/debug 0% Atmel Program and Debug Interface (PDI) protocol.
AVR TPI Flash/debug 0% Atmel Tiny Programming Interface (TPI) protocol.
USB (full-speed) PC usb 80% Universal Serial Bus (USB), full-speed, low-level protocol. Mostly working.
LPC PC lpc 40% Low-Pin-Count Work in progress, untested.
FWH PC 0%
ISA PC 0%
PCI PC 0%
SMBus PC 0%
IDE PC 0%
SCSI PC 0%
PS/2 PC 0%
HD Audio Audio 0%
I²S Audio i2s 90% I²S is a bus for connecting digital audio devices together. Needs more testing and documentation.
Nokia NRC17 IR 0%
Sony SIRC IR 0%
Philips RC-5 IR 0%
Philips RC-6 IR 0%
Philips RC-MM IR 0%
Philips RECS80 IR 0%
IrDA Misc 0%
DCF77 Misc dcf77 80% DCF77 time protocol Mostly working.
DALI Misc 0%
PWM Misc 0%
AT93C46 EEPROM 0% Atmel AT93C46 serial EEPROM protocol
HD44780 Displays 0% HD44780 character LCD protocol
7-segment display Displays 0%
Transition counter Other transitioncounter 90% Counts rising and falling edges in the signal. Mostly working.
GPIB Other gpib 0% General purpose interface bus (GPIB), a.k.a. IEEE-488.1.

... and many, many more.

Ideas:

  • Number of clock cycles / rising-edges / falling-edges / transitions / etc. (total or per-signal)
  • Min/Max/Avg distance between two events (rising edge, falling edge, signal lenths, etc.)
  • ...

High-level protocol decoders

Protocol decoders that do not (only) have raw signals/samples as input, but rather also data which was already decoded by one or more low-level PDs.

Protocol Category Input ID(s) Output ID(s) Status Description Comments
Macronix MX25Lxx05D SPI flash logic, spi mx25lxx05d 60% SPI-attached serial EEPROM. Datasheet: [1]. Partly working.
SA8807A Displays spi 0% SPI-attached LCD. Datasheet: Sames SA8807A.
EA eDIPTFT43-A Displays i2c 0% I2C-attached LCD. Datasheet: EA eDIPTFT43-A.
Analog Devices AD7291 ADC i2c 0% I2C-attached ADC. Datasheet: Analog Devices AD7291.
Analog Devices ADS1258 ADC spi 0% SPI-attached ADC.
Microchip MCP3901 ADC spi 0% Can be controlled via a parallel protocol, or SPI, or I2C.
Melexis MLX90614 Sensors i2c 30% Partly working.
MEMSIC MXC6225XU Sensors i2c 30% Digital Thermal Orientation Sensor (DTOS) Partly working.
Epson RTC-8564 JE/NB RTC i2c 40% Partly working.
Panasonic PAN1321 Bluetooth uart pan1321 70% Panasonic PAN1321 Bluetooth module protocol.
JTAG / STM32 Flash/debug jtag jtag_stm32 50% ST STM32-specific JTAG protocol details. Work in progress.
JTAG / TMPA9xx Flash/debug jtag jtag_tmpa9xx 0% Toshiba TMPA9xx specific JTAG protocol details.
USB / HID USB usb usb_hid 0%
USB / USBTMC USB usb usb_usbtmc 0%
Wii Nunchuk Other i2c nunchuk 40% Nintendo Wii Nunchuk I2C-based protocol. Work in progress.
DDC Other i2c ddc 70% Display Data Channel (DDC) protocol.
I2C Demultiplexer Other i2c i2c (one or more) 80%
I2C Filter Other i2c i2c 80%
EDID Other i2c edid 80%

... and many, many more.

Non-protocol data analysis decoders:

  • How many data bytes are in the data stream?
  • What's the min/max/avg data value?
  • ...