采用的是controlSUITE\device_support\F2837xS\v180\F2837xS_examples_Cpu1\buffdac_enable 里面的程序,给DAC的寄存器DACVALS寄存器写固定值,在寄存器DACVALA寄存器能看到,但是DAC的输出看不到值,能不能给指点一下,问题出在哪里,谢谢!
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.
采用的是controlSUITE\device_support\F2837xS\v180\F2837xS_examples_Cpu1\buffdac_enable 里面的程序,给DAC的寄存器DACVALS寄存器写固定值,在寄存器DACVALA寄存器能看到,但是DAC的输出看不到值,能不能给指点一下,问题出在哪里,谢谢!
您好
请把例程中的REFERENCE从原来的REFERENCE_VDAC该到下面的定义再试就可以了。记得侧对管脚,我们的例程中用的是DACOUTA/ADCINA0 (HSEC Pin 9)。
//specify configuration
#define REFERENCE REFERENCE_VREF
;