Trying to harness the #fediverse #electronics #hobbyist #brain ...

I've got a busted consumer product here that has 2 #Holtek #microcontrollers in it. Either one would be sufficient to run this product (a brushless-motor tower fan), but #MCUs are cheap, so why not throw a second one in if it saves a few centimeters of wire?

I'm trying to determine if there's a #standard #serial #physical #layer in use here to communicate from one #MCU to the other. It's one-way communication.

[...]

@cazabon I don't know that protocol. For single wire I only know 1-wire as standard and I've used a custom single-wire UART that is really simple.
Take a look at Sigrok protocol decoders (https://sigrok.org/wiki/Protocol_decoders). BTW, a dirty cheap Saeleae clone logic analyzer such as the one from WeAct Studio is a great addition.
It will probably be a good candidate for PIO peripheral on RP2040 or just bit-banging. But it's difficult to estimate development time.
Protocol decoders - sigrok

@jovijuan

Thanks, I'll have a look at sigrok. A logic analyzer is overkill for this use case -- I can literally read a whole frame of data off the 'scope screen faster than I can write it down -- but it looks useful for other projects.

I was assuming the PIO route would be the way to go if I had to do it from scratch. Was just hoping I wouldn't have to 😀