SENT (SAE J2716) implementation on STM32L4xx
Hello,
I am looking for an existing implementation of the SAE J2716 SENT (Single Edge Nibble Transmission) protocol for an STM32L4xx device.
My goal is to interface with sensors that use the SENT protocol and decode the incoming data stream on the MCU.
At the moment, my idea is to use:
- A timer channel configured in Input Capture mode to measure pulse widths.
- DMA to transfer captured timer values with minimal CPU overhead.
- Some form of interrupt or callback to process a complete 32-bit SENT message (24-bit payload + CRC + Status nibble).
Since this requires coordinating several hardware peripherals (timer, input capture, DMA, interrupts, and frame decoding), I would like to know whether ST already provides any of the following:
- Application notes related to SENT reception.
- Example projects demonstrating SENT decoding.
- STM32Cube examples, Middleware, libraries, or reusable classes implementing the SENT protocol.
If anyone has experience implementing SENT on STM32L4 devices, I would appreciate any help.
Thank you in advance.
