Skip to content

enp6s0/sent-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAE J2716 (SENT) decoder for Sigrok

A feature-incomplete SAE J2716 (SENT / Single Edge Nibble Transmission) decoder for Sigrok, with support for SPC (Short PWM Code).

Example image of the decoder in action

Created as part of my vehicle-hacking project since I can't seem to find good, open-source decoders that could decode SENT signals that also includes SPC pulses.

Note that this project is considered a work-in-progress, and the code is not tested against different types of SENT captures just yet, so it may or may not work for you - use with caution!

Pull requests are welcome for everything from bugfixes to additional features :)

CRC methods?

The decoder implement several CRC calculation methods:

  • J2716 Recommended: recommended method (with zero padding) per SAE J2716 (APR2016) - CRC over data nibbles only
  • J2716 Legacy: legacy method (no zero padding) per SAE J2716 (APR2016) - CRC over data nibbles only
  • Infineon: method per Infineon TLE4998 user manual - CRC over data and status nibbles

TODO

  • Actually decode SPC pulses, right now the decoder just skips over it
  • SENT pause pulse handling (don't have the traces/devices that does this to test yet)
  • A more robust method of separating SENT frames rather than just time interval...
  • Comprehensive testing of decoder against different SENT traces (especially those without SPC)

Installing me

On Ubuntu Linux: place (or symlink to) the entire decoder directory in /usr/share/libsigrokdecode/decoders/.

License

MIT - see license.md for more details.

About

SAE J2716 (SENT) decoder for Sigrok

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages