Replies: 4 comments 3 replies
-
A bit more info like which chip, esp-hal version, compiler version etc would be helpful. Are you running in release mode also btw? |
Beta Was this translation helpful? Give feedback.
-
I see some other / general problems with rapidly changing the baud rate (see #2743) |
Beta Was this translation helpful? Give feedback.
-
Testing ongoing, it seems the default value for I expected the TX FIFO to bounce the bytes right out. I can achieve that now by setting |
Beta Was this translation helpful? Give feedback.
-
Regarding software break - inverting the level of the TX line does a nice job. Accomplished this by using the PAC to set |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with a use case that requires changing the baud rate, sending an 0x00, and changing the baud rate back, in effect creating a software break for LIN Bus.
But on the oscilloscope there is a 250-300ms gap between the 0x00 and the 0x55.
I even went into
esp-hal/src/uart.rs
and commented the other operations to exclude them as taking up the time:Any ideas what takes so long? Or a better way to generate software break for LIN
Beta Was this translation helpful? Give feedback.
All reactions