10-bit serial at 100 kHz

kevinevans
Posts: 7
Joined: Thu Aug 25, 2022 10:34 pm

10-bit serial at 100 kHz

Postby kevinevans » Tue Jun 27, 2023 10:47 pm

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.

MicroController
Posts: 1696
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: 10-bit serial at 100 kHz

Postby MicroController » Tue Jun 27, 2023 10:55 pm

Maybe look into the RMT peripheral...

kevinevans
Posts: 7
Joined: Thu Aug 25, 2022 10:34 pm

Re: 10-bit serial at 100 kHz

Postby kevinevans » Wed Jun 28, 2023 6:54 pm

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. :)

Who is online

Users browsing this forum: Google [Bot] and 80 guests