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.

DAC61416: 输出电平固定不变

Part Number: DAC61416

在使用dac过程中,出现以下问题:dac前八个通道的输出固定在400mV左右,后八个通道输出固定在1.6V左右,对DACn寄存器编程并不能改变输出电平。单独打开某个通道,输出也保持在400mV或1.6V不变。

代码如下:

b.send_dac(0,0,'03','0a84')#pwdn
b.send_dac(0,0,'04','3f00')#internal ref
b.send_dac(0,0,'0a','aaaa')#range
b.send_dac(0,0,'0b','aaaa')
b.send_dac(0,0,'0c','aaaa')
b.send_dac(0,0,'0d','aaaa')
b.send_dac(0,0,'09','0000')#pwdn
b.send_dac(0,0,'10','ffff')#set
b.send_dac(0,0,'11','ffff')
b.send_dac(0,0,'12','ffff')
b.send_dac(0,0,'13','ffff')