请问用一片bq76pl536怎样进行电压测量,有没有检测电压的完整程序,急求,谢谢!!?
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.
第一步,bq76pl536地址分配:需要MCU通过SPI向536发命令,算法流程图在数据手册里有,在TI官网的536例程http://www.ti.com/tool/bq76pl536evm-3-sw里地址分配的代码;
第二步,MCU向536发送命令启动536的ADC转换,即写ADC_CONTROL寄存器和ADC_CONVERT寄存器;
第三步,536的ADC转换结束后,MCU向536发送命令读取536寄存器的值,即可得到测量的电压值、温度值。电压的寄存器是VCELLn。
完整的536参考程序请到TI官网http://www.ti.com/tool/bq76pl536evm-3-sw下载。
我也想要个例程
15738395@qq.com
谢谢chris wang
你好,给我分享一个,谢谢了!2304916323@qq.com
可以给我分享一个你的BQ76pl36的例程吗 谢谢
952562875@qq.com