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.

[参考译文] ADC128D818:模式2操作错误

Guru**** 2380860 points
Other Parts Discussed in Thread: ADC128D818
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/1458299/adc128d818-mode-2-operation-error

器件型号:ADC128D818

工具与软件:

您好!

我的客户遇到 ADC128D818在模式2下无法工作的问题。

使用以下代码进行控制时、内部/外部基准都正常运行在模式1中。

但是、在模式2中、内部/外部基准都返回0。

-------------------------------------------------------

HAL_VAL_SENSOR0_EN (1);//加电

HAL_DELAY (100);//等待上电(100ms)

tmp_drv_adc_write (0x00、0x80);//重置器件
tmp_drv_adc_write (0x07、0x01);//连续转换
//tmp_drv_adc_write (0x0B、0x03);//设置外部基准、模式1
tmp_drv_adc_write (0x0B、0x05);//设置外部基准、mode2
//tmp_drv_adc_write (0x0B、0x04);//设置内部基准、mode2
//tmp_drv_adc_write (0x0B、0x02);//设置内部基准、模式1
tmp_drv_adc_write (0x00、0x01);//开始

tmp_drv_adc_read (0x20);

tmp_drv_adc_read (0x21);

--------------------------------------------------------------------------------

请告知此问题的原因和解决方案

谢谢你。

JH

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 JH:

    遗憾的是、仅根据提供的代码片段进行评估对我来说有点困难。 您是否能够提供示波器或逻辑分析仪捕捉? 这可确保将任何潜在问题与控制软件隔离开来。

    此致、
    Joel

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    最好提供逻辑分析仪捕获并将其导出为文件。 如果您将其另存为.zip、您应该能够将其附加在此处

    此致、
    Joel