Does any one use the AD5592r sequence conversion mode (or so called the burst mode)? I am experiencing some issues when use the sequence conversion mode. In general, it works fine but once a while, the AD5592r will send two consecutive channel 1 ADC value out.
for example:
The following is the correct ADC values with the correct channel inex.
But once a while the first channel ADC will be sent twice miss the last channel ADC value
The failure rate is around 0.5%. There is no pattern. it is purely random.
I will appreciate if any one has any answer or solution.
Marc
Hi,
Let us know the device schematic and all the device configurations done.
Hi vsethia
I have the same problem, but the error rate is as high as 3%.
I use EVAL-ADICUP3029 and EVAL-AD5592R-PMDZ, and the connection method is shown in the figure below.
The code used is the following link:https://github.com/analogdevicesinc/EVAL-ADICUP3029/tree/master/projects/ADuCM3029_demo_ad5592r_ad5593r
Modified only aio_dio_pdmz.c (as attached file)My aim is that when I enter "ais a" in the computer serial port it will perform the following actions:1. Set I/O 7 to BUSY signal2. Set I/O 0 - I/O 6 as ADC pin3. Execute Multichannel ADC Conversion Sequence, No Repeat (According to Figure 44 of the datasheet)If the first channel appears twice, the error rate is reported in the serial port
Please share the entire command sequence.
When you execute the ADC conversion sequence, is there any wait time before executing?
The following is the entire SPI command sequence after I powered on the boardSPI clock rate is 1MHz
After the boot init program is completed,when I enter "ais a" in the computer serial port it will perform the following actions: 1. Set I/O 7 to BUSY signal2. Set I/O 0-I/O 6 as ADC pinSPI commands are as follows:
Then it will run an infinite loop, repeatedly reading the ADC value
The picture below is an abnormal situation. The data of channel 1 should appear in the highlighted yellow box, but instead the data of channel 0 appears. The probability of this abnormality is about 3%(I have waited for the BUSY signal to be pulled to high level before performing ADC reading)
If you want to run the ADC sequencer in infinite loop, set the REP bit to 1.