Tool/software:
Hi Team,
When we are doing a BCI test, insert interference to the AD sample side, we found the SPI read back from ADC is not correct. At this stage, we only started to configure the ADC, so only write and read the register 01h, 02h, 03h. We assume the DRDY shouldn't be ready at this stage.
One of the risks we have found is the CS pin tied to GND, might disturb the SPI.
Here is the comparison table between OK part and fail part. We write with SPI and then read back the registers.
OK part | Fail part | ||
STATUS register | 1 | 0x00 0x00 0x00(MCU sent to ADC) -> 0x05 0x0F 0x00 (ADC sent to MCU) |
0x00 0x00 0x00 -> 0x00 0x00 0x00 |
Clock register | 2.1 | 0x61 0x80 0x00 0x0F 0x16 0x00 -> 0x05 0x0F 0x00 0xFF 0x9E 0x78 | 0x61 0x80 0x00 0x0F 0x16 0x00 -> 0x00 0x00 0x00 0xE1 0x39 0x00 |
2.2 | 0xA1 0x80 0x00 -> 0x41 0x80 0x00 | 0xA1 0x80 0x00 -> 0x00 0x00 0x00 | |
2.3 | 0x00 0x00 0x00-> 0x0F 0x16 0x00 | 0x00 0x00 0x00 -> 0x00 0x00 0x00 | |
Mode register | 3.1 | 0x61 0x00 0x00 0x05 0x10 0x00 -> 0x05 0x0F 0x00 0xFF 0x9E 0x7B | 0x61 0x00 0x00 0x05 0x10 0x00 -> 0x00 0x00 0x00 0xE1 0x39 0x00 |
3.2 | 0x61 0x00 0x00 0x05 0x10 0x00 -> 0x1C 0x27 0x20 0x00 0x00 0x00 |
There are numbers of devices show this kind of failure, we don't think it is a single failure It should be relate to some interference on SPI or digital error inside the ADC.
Could you please share some insight on this case and advise how should we investigate next step?
Thanks
Best,
Frank