已设计了PGA900的硬件电路,但在PGA900EVM还不太会用,该如何配置?
大爱威少:
回复 Hawk Tong:
谢谢你的回答
电路是按照经典应用电路来设计的,现在想用PGA900EVM将芯片配置成0~10V电压输出
在按照官方手册 Programmer Tips上面的说明,总是写不进去。8.2.3.2.1 Programmer Tips8.2.3.2.1.1 Resetting the Microprocessor and Enable Digital InterfaceThe following bits have to be configured to reset the M0 microprocessor and to enable digital interface:1. Set IF_SEL bit in MICRO_INTERFACE_CONTROL register to 1.2. Set MICRO_RESET bit in MICRO_INTERFACE_CONTROL register to 1.8.2.3.2.1.2 Turning on Accurate Reference Buffer (REFCAP Voltage)The following bits have to be configured to turn ON the accurate reference buffer:1. Set SD bit in ALPWR register to 0.2. Set ADC_EN_VREF bit in ALPWR register to 1.By turning on the accurate reference buffer, the reference voltage can be measured on REFCAP pin. Further, thecapacitor on REFCAP pin is connected to the reference buffer.8.2.3.2.1.3 Turning on DAC and DAC GAINThe following bits have to be configured to turn ON DAC and DAC GAIN:1. Set SD bit in ALPWR register to 0.2. Set ADC_EN_VREF bit in ALPWR register to 1.3. Set DAC_ENABLE in DAC_CTRL_STATUS to 1.4. Set 4_20_MA_EN bit in OP_STAGE_CTRL for voltage output or current output mode.5. Set DACCAP_EN bit in OP_STAGE_CTRL to connect or disconnect external capacitor at DAC output.6. Set DAC_RATIOMETRIC bit in DAC_CONFIG register for ratiometric or absolute voltage output mode.7. Set TEST_MUX_DAC_EN in AMUX_CTRL to 1.
Hawk Tong:
回复 大爱威少:
提醒一句,PGA900输出级的运放不是rail-rail输出的,因此不可以做到真正的0-10V。根据以前测试经验,0.05-10V比较靠谱。