文章目录
- 1 特性介绍
- 2 原理图
- 3 Detailed Description `详细描述`
-
- 3.1 Overview
- 3.2 ADC Transfer Function `ADC传输功能`
- 3.3 ADC Offset Calibration `ADC偏移校准`
- 3.4 I2C Address Selector `I2C地址选择器`
- 3.5 Programmable Averaging Filter `可编程平均滤波器`
- 3.6 CRC on Data Interface`数据接口上的CRC`
- 3.7 General-Purpose I/Os (GPIOs) `通用GPIO配置`
- 3.8 Oscillator and Timing Control `振荡器和定时控制`
- 3.9 Output Data Format `输出数据帧格式`
- 3.10 Configuring the Device for High-Speed I2C Mode `配置高速模式`
- 3.11 Manual Mode `手动模式`
- 3.12 Auto-Sequence Mode `自动顺序模式`
- 3. 13 Autonomous Mode `自主模式`
- 3.14 Programming `编程`
- 3.15 Reading Registers `读寄存器方式`
- 3.16 Writing Registers `写寄存器`
- 4 ADS7138 Registers `7138寄存器列表`
-
- 4.1 SYSTEM_STATUS Register 0x0 `系统状态寄存器`
- 4.2 GENERAL_CFG Register (Address = 0x1) `通用配置寄存器`
- 4.3 DATA_CFG Register (Address = 0x2) `数据配置寄存器`
- 4.4 OSR_CFG Register (Address = 0x3) `采样频率设置`
- 4.5 OPMODE_CFG Register (Address = 0x4) `转换模式配置寄存器`
- 4.6 PIN_CFG Register (Address = 0x5) `PIN 配置寄存器`
- 4.7 GPIO_CFG Register (Address = 0x7) `GPIO 配置寄存器`
- 4.8 GPO_DRIVE_CFG Register (Address = 0x9)`GPO_DRIVE 配置寄存器`
- 4.9 GPO_OUTPUT_VALUE Register (Address = 0xB)
- 4.10 GPI_VALUE Register (Address = 0xD)
- 4.11 ZCD_BLANKING_CFG Register (Address = 0xF)
- 4.12 SEQUENCE_CFG Register (Address = 0x10)
- 4.13 CHANNEL_SEL Register (Address = 0x11)`通道设置寄存器`
- 4.14 AUTO_SEQ_CH_SEL Register (Address = 0x12)`自动顺序模式通道设置`
- 4.16 ALERT_MAP Register (Address = 0x16) `ALERT_MAP 告警寄存器`
- 4.17 ALERT_PIN_CFG Register (Address = 0x17)
- 4.18 EVENT_FLAG Register (Address = 0x18)
- 4.19 EVENT_HIGH_FLAG Register (Address = 0x1A)
- 4.20 EVENT_LOW_FLAG Register (Address = 0x1C)
- 4.21 EVENT_RGN Register (Address = 0x1E)
- 4.22 HYSTERESIS_CH0 Register (Address = 0x20) `CH0 滞后寄存器`
- 4.23 HIGH_TH_CH0 Register (Address = 0x21)
- 4.24 EVENT_COUNT_CH0 Register (Address = 0x22)
- 4.25 LOW_TH_CH0 Register (Address = 0x23)
- 4.26 MAX_CH_LSB Register (Address = 0x60)
- 4.27 MIN_CHX_LSB/MSB Register (Address = 0x80)
- 4.28 RECENT_CHX_MSB/LSB Register (Address = 0xA0)
- 4.29 GPOX_TRIG_EVENT_SEL Register (Address = 0xC3)
- 5 代码
1 特性介绍
2 原理图
I2C地址为 : 0x14,具体参考下表。