对于 AFE7900,有一个名为 adcRampTestPattern()的函数可在 ADC 上发送斜坡信号。 但是、我想在 ADC 上发送一个自定义模式。 是否有任何方法可以做到这一点?
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.
尊敬的 Mubahsira:
可 运行以下行将 ADC 配置为 ALT 0/1模式。 要更改模式、可以更改写入寄存器0x109-0x10B 的值。 例如、要启用斜坡模式、您可以写入0x2而不是0x4。
device.writeReg(0x16,0x3) #Open both ADC_JESD pages device.writeReg(0x109,0x4) #RxA/RxC device.writeReg(0x10A,0x4) #RxB/RxD device.writeReg(0x10B,0x4) #Fb1/Fb2 device.writeReg(0x16,0x0) #Close both ADC_JESD pages
此致、
大卫·查帕罗