My team and I are working on a commercial CAN-adapter using the ESP32S3. Since some of our customers are using this adapter to reflash ECUs, we sometimes have strong timing requirements, e.g. 350µs between every consecutive CAN frame.
Now I wonder whether I could do that based on your driver. Did you do some measurements to check the timing stability? Do you think there would be a (straightforward) way to add such timing constraints on the driver level (I think this is the best place, I don't think application level is the right way)?
My team and I are working on a commercial CAN-adapter using the ESP32S3. Since some of our customers are using this adapter to reflash ECUs, we sometimes have strong timing requirements, e.g. 350µs between every consecutive CAN frame.
I tried to hack this into the default ESP IDF TWAI driver, but didn't succeed. Even without my changes though, the default driver has very unstable timing.
Now I wonder whether I could do that based on your driver. Did you do some measurements to check the timing stability? Do you think there would be a (straightforward) way to add such timing constraints on the driver level (I think this is the best place, I don't think application level is the right way)?