Hello,
I'm using AD7771 with a microcontroller: the device already works correctly in SPI mode, but in order to achieve required sample rate, I have to switch using Data Output Interface. The data is received by a microcontroller using software GPIO bit-banging since no dedicated peripheral was compatible with this interface. It makes decoding the data more complex.
Do you have and can share with an example of a bit stream with valid CRC, so I can write unit tests for reception and decoding to validate if CRC errors come from invalid bit-bang data reception algorithm, timing issues, etc?
I've seen the CRC calculator app for AD777x, but this is not what I need because I have to verify the algorithm using raw data that would be received on DOUTx lanes.
The example of what I'm looking for is a couple of real samples received from AD777x, like this:
DOUT0: 0x__DEADBE 0x__EFDEAD DOUT1: 0x__111111 0x__111111 DOUT2: 0x__FFFFFF 0x__FFFFFF DOUT3: 0x__000000 0x__000000
Preferably the samples should come from real AD7771 setup, containing correct Ch. numbers and valid CRC. One of the channels should be made disabled, as this will force the predictable 0x000000 value, which should result in predictable CRC value too.
Looking forward to reply.
Best