The problem with cipher reading data from FIFO
Hello all.
I use ST25R3911B-DISCO and dynamic tag ST25dv04k
When reading data from FIFO come bytes with a redundant cipher.
Suppose the code is presented as custom manchester code:
- 10 - 0, (two bits in recived bytes - bit result)
- 01 - 1,
- 00 - 0,
- 11 - 1.
After that, you need to perform a cyclic shift to the right by 3.
It all works with the exception of some bytes.
For example: in fact (in tag buffer) - 0xAA. Recived 0x3333, after decryption - 0xAA. All ok
But it happens: in fact - 0xCC. Recived 0xb3b4, after decryption - 0xCA.
Where can I read more about this cipher?
Or what am I doing wrong?
