Actually, I might have found en explanation that makes some sense. The assumptions I make are that for some reason the other end is treating bit order incorrectly (LSb first), and that the data has been shifted by one bit (by e.g. incorrect clock polarity).Hannu wrote: ↑Mon 2023-02-06 13:27 Your transmission has very little sense.
Code: Select all
0001 0010 0011 0100 0x1234 Should be 0010 0100 0001 0110 0x2416 Really is
Here's the reasoning. First let's quote Hannu:
Code: Select all
0001 0010 0011 0100 0x1234 Should be
0010 0100 0001 0110 0x2416 Really is
Code: Select all
0100 1000 | 0010 1100
Now, if we assume that both bytes are intepreted by the other end as LSb first and not MSb first, we have to reverse the order of bits for both bytes (e.g. 0000 0001 becomes 1000 0000):
Code: Select all
0001 0010 | 0011 0100 0x1234
Kind regards,
- Henrik