ESP device selection help, SENT interface
Posted: Tue Sep 14, 2021 12:31 pm
Hi everyone!
This is my first topic on this forum
I've been working with ESP8266 and ESP32 for some years(as a hobby only), but now is the first time I'm working on a real project with an Espressif device.
Our goal is to implement an SENT (Single Edge Nibble Transmission) protocol receiver and transmitter using an ESP device, SENT protocol is a single direction communication interface used on automotive sensors. Its data is coded in pulse length, the smallest time frame is 3usec(referred as tick).
The start frame is 56 ticks and each nibble is 12+nible value tick, value 0 is 12 ticks, value 1 is 13 ticks and 15 is 27 ticks.
So, I'm here to find help choosing the right device to handle this protocol, I've already implemented this protocol on another MCU using timer capture and interrupt but ESP doesn't have those, except on MCPWM only on ESP32, the RMT interface seems very promising but I've never worked with this peripheral and don't know if it's able to handle such protocol.
The device will act as an interface gateway, it must receive a SENT frame, decode and transmit this frame with the shortest time possible(between receive and transmit).
ESP32-C3 is the best option for us, based on price, availability and size/packing, but it lacks MCPWM.
I'll start working on RMT using and ESP32 dev board, but hope that someone can light my way. I'm unable to find an ESP32-C3 dev board, so I'm relying on Espressif answering this topic.
Cheers!
This is my first topic on this forum
I've been working with ESP8266 and ESP32 for some years(as a hobby only), but now is the first time I'm working on a real project with an Espressif device.
Our goal is to implement an SENT (Single Edge Nibble Transmission) protocol receiver and transmitter using an ESP device, SENT protocol is a single direction communication interface used on automotive sensors. Its data is coded in pulse length, the smallest time frame is 3usec(referred as tick).
The start frame is 56 ticks and each nibble is 12+nible value tick, value 0 is 12 ticks, value 1 is 13 ticks and 15 is 27 ticks.
So, I'm here to find help choosing the right device to handle this protocol, I've already implemented this protocol on another MCU using timer capture and interrupt but ESP doesn't have those, except on MCPWM only on ESP32, the RMT interface seems very promising but I've never worked with this peripheral and don't know if it's able to handle such protocol.
The device will act as an interface gateway, it must receive a SENT frame, decode and transmit this frame with the shortest time possible(between receive and transmit).
ESP32-C3 is the best option for us, based on price, availability and size/packing, but it lacks MCPWM.
I'll start working on RMT using and ESP32 dev board, but hope that someone can light my way. I'm unable to find an ESP32-C3 dev board, so I'm relying on Espressif answering this topic.
Cheers!