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.

dac8760输出电流为什么在8~12ma之间,请问哪里出了问题?

Other Parts Discussed in Thread: DAC8760

dac8760我想把电流设置在4~20ma,但是输出电流在8~12ma之间,始终找不出问题,请问哪里出了问题?

代码如下


dac8760_Write(W_ADDR_NOP,0x0000);
dac8760_Write(W_ADDR_CTRL,(1<<12)|V_0_5);
TicksDelayMs( 1, NULL );//
dac8760_Write(W_ADDR_CONFIG,(1<<8)|I_4_20); 
TicksDelayMs( 1, NULL );//
dac8760_Write(W_ADDR_GAIN,0x0000);
dac8760_Write(W_ADDR_ZERO,0x0000);
while(1)
{
dac8760_Write(W_ADDR_DATA,0xffff);
IWDT_Clr();
TicksDelayMs( 1000, NULL );//

}

硬件如图