Page 1 of 1

10-bit serial at 100 kHz

Posted: Tue Jun 27, 2023 10:47 pm
by kevinevans
I have a device that has a very non-standard serial interface. It uses something like 10-bit serial at 100 kHz.

On my logic analyzer, it looks like:

Image

Is it possible to configure the UART to read this data format?

I'm currently trying to bitbang a solution, but I'm running into timing problems and would be much better if I could configure the UART to handle this instead.

Re: 10-bit serial at 100 kHz

Posted: Tue Jun 27, 2023 10:55 pm
by MicroController
Maybe look into the RMT peripheral...

Re: 10-bit serial at 100 kHz

Posted: Wed Jun 28, 2023 6:54 pm
by kevinevans
MicroController wrote:
Tue Jun 27, 2023 10:55 pm
Maybe look into the RMT peripheral...
Good call! I tried using the RMT peripheral today and creating a custom tx encoder and it works well.

Just need to figure out rx decoding. :)