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.

[参考译文] UCD3138:有关 UCD3138全桥硬开关开发板固件中的 void init_prebias (void)函数的问题

Guru**** 2473260 points
Other Parts Discussed in Thread: UCD3138

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/685655/ucd3138-questions-about-the-void-init_prebias-void-function-in-ucd3138-full-bridge-hard-switch-development-board-firmware

器件型号:UCD3138


大家好、我正在学习 UCD3138全桥硬开关开发板固件、我不了解 void init_prebias (void)函数
void init_prebias (void)


FeCtrl0Regs.PREBIASCTRL0.bit.PRE_BIAS_EN=0;//0 =未启动预偏置(默认)
FeCtrl0Regs.PREBIASCTRL0.bit.PRE_BIAS_LIMIT = 10;//10个用于声明预偏置的采样完成;设置在将 PRBIAS_STATUS 置为有效之前、误差 ADC 值保持在范围内的可接受采样数

FeCtrl0Regs.PREBIASCTRL0.bit.PRE_BIAS_POL=0;//0 = Error equals Vref-Vin (默认)
FeCtrl0Regs.PREBIASCTRL0.bit.PRE_BIAS_RANGE =10;//设置零误差点周围的可接受范围。

FeCtrl0Regs.PREBIASCTRL1.bit.MAX_DAC_ADJ =0xFFF;//配置最大 DAC 设定点调整步长  
FeCtrl0Regs.PREBIASCTRL1.bit.Samples_per_ADJ =10;//配置预偏置 DAC 设定点调整之间的 EADC 样本数  

我可以使用 UCD3138数字电源控制器技术参考手册来指导每条语句的含义、但我不了解该函数的工作原理以及寄存器设置的原因。

TRM 中没有详细介绍。 UCD3138预偏置功能是否存在应用案例?
谢谢你

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    您的问题已转发给相应的工程师。