Hi Community,
I am working with the AD4004, I feel the need to ask the Analog Device technical team directly since I don't know if I am doing something wrong or if I am simply overlooking something. I am following the documentation presented, there any noticeable difference in the functionality for revision C compared to revision F?
1). When implementing the SPI using STM32 when restarting the AD4004 and using the read command 0x5400 I get the default value or reset of the register map equivalent to 0xE1, only when resetting, but if I read it again this value changes, so I tried to configure it using the configuration command 0x14, appending the configuration data it remains 0x14E1 I do not get 0xE1 again what could be going wrong? Are the commands correct?.


2). One of the reading tests that is being performed uses a potentiometer to vary the input voltage to perform the conversion, data is entered from 0v to 3.3v, for example I give it 0.6v and it reads 0x0006, but not every time I read the data because on certain occasions it reads 0x0014, is it correct to read the result of the conversion using the write command 0x14 followed by the configuration value command sending 0x14E1?

This still happens, but when reaching a voltage greater than 1.5v it adds an additional value in the cases a 0x80 sharing the additional 0x0014 in some readings, but it still reads the voltage delivering 2.1v and reading 0x8015 where 0x0015 refers to 21, but this should not be the case because it must be 16 bits.

3). The above was also tested taking into account the incompatible readings as mentioned in, but it must also be 16 bits, so reading and writing were also tested, obtaining in the same way the problem that it does not deliver the 0x00E1 in its configuration even if that value is configured again through 0x14E1.

I would like to know if I am doing something wrong, and if the writing and reading procedure is well planned, because I feel that when writing the configuration is not being applied, and when reading there should not be much mystery, I am attentive to any information, thank you very much.






