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.

DAC8771和STM32F103RC实现SPI通信

Other Parts Discussed in Thread: DAC8771

使用DA8771芯片时候 第一步:0x03的第5位写一打开DAC通道A:DACDAC8771_WRITE_CMD(0x03 ,opench); 第二步:0x02的第4位写一使用内部参考电压DAC8771_WRITE_CMD(0x02,ref); 第三步:0x06的第1位写1使用BUCK--BOOST(应为在VPOS和VNREG没有接电源,使用内部电源)DAC8771_WRITE_CMD(0x06 ,buck); 第4步:0x04的【0:3】写入3使用范围0-10V的电压输出模式DAC8771_WRITE_CMD(0x04,range);第五步:0x07的第【1;0】写入3使用正臂和负臂 ,【5:2】写入2 负臂输出电压-9V ,【9:6】写入3正臂输出+9V,DAC8771_WRITE_CMD( 0x07,Pos); 第6步:0x04的第12位写入1开启DAC输出。第7步:0x05写入数据0-65535发现输出的电压值一直保持不变是3.3V左右