已回答假定已回答

ad5755,没有电压输出

johnson925 在 2015-5-26 詢問的問題
最後回覆由zcheng於2018-1-22提供

ad5755的通道A电压输出一直为0,回读状态寄存器,为0x1800,D12位“1”,说明通道A的DC-DC转换器无法调节至期望的15V。

回读各个寄存器,数据都正确,VboostA输出为5V。

 

请教,该问题是怎么回事,硬件问题还是软件问题,如何解决呢?

 

看到之前有帖子“https://ezchina.analog.com/message/17402#17402”,说是DC-DC晶振的问题,请问该怎么检测?@@@

 

 

//硬件复位  

    ad5755_RESET_0 = 1;

    delay(10);

    ad5755_RESET_0 = 0;

    delay(10);

    ad5755_RESET_0 = 1;

  

    SPI_data_rev[0] = 0;

    SPI_data_rev[1] = 0;

    SPI_data_rev[2] = 0;

    SPI_data_rev[3] = 0;

//编程寄存器  

    SPI_data = 0x5c6005;   //DC-DC控制寄存器,0b0101_1100__0110_0000_0000_0101;

    SPI1_Send_Rev_Byte_3(SPI_data);

    SPI_data = 0x5c2200;   //主控制寄存器;poc=0,电压未使能,输出为POC硬件值;无状态回读;无看门狗;

    SPI1_Send_Rev_Byte_3(SPI_data);

    SPI_data = 0x5c4191;   //DAC A控制寄存器,0b0101_1100__0100_0001_1111_0001;外部RSET电阻; 输出0~10V

    SPI1_Send_Rev_Byte_3(SPI_data);

 

    SPI_data = 0x48ffff;   //DAC A增益寄存器,0b0100_1000__0xffff

    SPI1_Send_Rev_Byte_3(SPI_data);

    SPI_data = 0x50ffff;   //DAC A失调寄存器,0b0101_0000__0xffff

    SPI1_Send_Rev_Byte_3(SPI_data);

    SPI_data = 0x585a54;   //DAC A清零代码寄存器,0b0101_1000__0101_1010_0101_1010

    SPI1_Send_Rev_Byte_3(SPI_data);

    SPI_data = 0x5c002b;   //DAC A压摆率控制寄存器,0b0101_1100__0000_0000_0010_1011

    SPI1_Send_Rev_Byte_3(SPI_data);

    SPI_data = 0x5c9000;   //软件寄存器,映射D11为’1‘

    SPI1_Send_Rev_Byte_3(SPI_data);

 

    SPI_data = 0x40000f;   //DAC A数据寄存器,0b0100_0000__0x0000

    SPI1_Send_Rev_Byte_3(SPI_data);

 

    delay(200);

    SPI_data = 0x5c41d1;   //DAC A控制寄存器,0b0101_1100__0100_0001_1111_0001; 输出使能0~10V

    SPI1_Send_Rev_Byte_3(SPI_data);

附件

結果