我现在切换通道的时候,数据更新出现了点问题,有时候明明切换到通道2了,但是读的数据却是通道1的,但是有时候又是正常的!
用的adc芯片是iic通讯接口的,18位的adc,我现在采样速率是15SPS。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我现在切换通道的时候,数据更新出现了点问题,有时候明明切换到通道2了,但是读的数据却是通道1的,但是有时候又是正常的!
用的adc芯片是iic通讯接口的,18位的adc,我现在采样速率是15SPS。
我问过其他同事,他们说需要在读之前 多加延迟,我按照更新数据的速率15SPS,应该是66ms。我定时器100ms 去读!
现在2路通道同时采样 ,切换的时候出现这种问题,有时候是可以的,有时候又不行!