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.
数字电源模块函数ADCDRV_4ch_CLA,可以直接把ADC采样值转换为float。
现在VpfcOut 不是通过AD采样,而是通过输入捕捉功能进行转换的,我可以通过什么方法VpfcOut 变量导入CLA做PFC运算。
ADCDRV_4ch_CLA,里
VpfcOut 是一个float 点数,VpfcOut = VpfcOut 的AD值除以4096,
怎么把Vdc变量转化成VpfcOut ?
例如Vdc= 380V.
2806x中的CLA已经能够支持CAP的寄存器,可以直接编写程序在CLA中获取CAP中的数据进行转换。
2803X的CLA还不支持CAP,那只能够通过CPU读取然后给到CLA进行使用。