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.

[参考译文] ADS7830:ADS7830IPWR

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

https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/1327249/ads7830-ads7830ipwr

器件型号:ADS7830

我尝试从 ADS7830读取 ADC 值时、这些值在0-255之间波动、即使通道未连接任何器件。

我只使用数据表中提供的基准电路。 我的 STM32代码是:

uint8_t tmp_adc_read (uint8_t Reg_Addr)
{
//HAL_I2C_IsDeviceReady (&hi2c1、0x90、3、10);
/*缓冲区初始化
*正在 buf0中加载所需数据的地址
*/
tmp_i2c_buf[0]= Reg_Addr;
/*//传输所需数据的地址*/
HAL_I2C_HIFO Master_Transmit (&hi2c1、(0x48<<1)、TMP_i2c_buf、1、20);
/*以 buf1格式接收数据*/
HAL_I2C_HIFO Master_Receive (&hi2c1、0x91、&tmp_i2c_buf[1]、1、20);
返回(tmp_i2c_buf[1]);

且  Reg_Addr = 0x8C;我已尝试过0X84、0X88、0X80  

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

    Vijaya、您好!

    欢迎来到我们的 e2e 论坛!  您能否提供 SCL/SDA 线路的原理图详细信息和屏幕截图?