微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > TI模拟硬件电路设计 > ADS1248关于寄存器读写问题请教

ADS1248关于寄存器读写问题请教

时间:10-02 整理:3721RD 点击:

我在ADS1248手册的53页看到这样的一句话,It is not possible to use the full-duplex nature of the SPI interface when reading out the register data

请问难道我想读ADS1248寄存器写入的值,我还必须改变我的SPI工作模式?我目前使用的SPI是全双工方式,我想读被写入到寄存器中的值就必须得换SPI工作方式?另外我在手册上也没有看到说使用哪种方式可以读寄存器的值。 请大神指教

RREG—Read from registers.
This command outputs the data from up to 16 registers, starting with the register address specified as part of the instruction. The number of registers read is one plus the second byte. If the count exceeds the remaining registers, the addresses wrap back to the beginning.
First Command Byte: 0010 rrrr, where rrrr is the address of the first register to read.
Second Command Byte: 0000 nnnn, where nnnn is the number of bytes to read –1.
It is not possible to use the full-duplex nature of the SPI interface when reading out the register data. For example, a SYNC command cannot be issued when reading out the VBIAS and MUX1 data, as shown in Figure 80. Any command sent during the readout of the register data is ignored. Thus, it is advisable to send NOP through the DIN when reading out the register data.

后面还详细讲到了 NOP 的数据

这段话我昨天仔细看了一下 ,现在明白了,谢谢啦

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top