Hello,
I'm looking for some hints howto decode Differential Manchester (alternative) since encoding is easy using any MPU/CPU described for example here:
https://ipfs.io/ipfs/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco/wiki/Differential_Manchester_encoding.html"Differential Manchester encoding Scheme is a line code in which data and clock signals are combined to form a single 2-level self-synchronizing data stream. It is a differential encoding, using the presence or absence of transitions to indicate logical value. It is not necessary to know the polarity of the sent signal since the information is not kept in the actual values of the voltage but in their change: in other words it does not matter whether a logical 1 or 0 is received, but only whether the polarity is the same or different from the previous value; this makes synchronization easier."I'm working on some kind of customized Differential Manchester protocol with CRC bits automatically expanded to byte as two additional bits with additional optional encryption at clock between 10kHz-100kHz since not too much data needed to exchange using 1 wire aka I2C with additional pull up to VCC.
There are many examples howto encode Differential Manchester, but not too many hints howto decode on MPU/CPU
I've marked in yellow in attached image Differential Manchester (alternative) which I'd like to encode (easy) and decode in software or maybe using USI hardware on AVR MPU with digital I/O pin externally pull up to Vcc,
so similar like in I2C, MPU pin in state output low or input high impedance via pull up to VCC logic one.
Thanks in advance for any ideas