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#39固件中 void configure_ton_rise (void)函数的问题

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

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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/679517/ucd3138-questions-about-void-configure_ton_rise-void-function-in-ucd3138-s-firmware

器件型号:UCD3138

大家好、我正在学习 UCD3138全桥硬开关开发板的固件
我不理解 void configure_ton_rise (void)


void configure_ton_rise (void)

uint32节奏;
Tempo = PMBus_DCDC_CONFIG_ENMODE[0].Vout_cmd * PMBus_DCDC_CONFIG[0].PERIOD;
FeCtrl0Regs.DACSTEP.bit.DAC_STEP =速度/((uint32) PMBus_DCDC_CONFIG[0].TON_RISE *(uint32) 3885);


我只知道该函数用于配置 DAC 的步长、但我不知道如何获取(UINT32) 3885?

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

    您好!

    3885是一个数字、用于调整 DAC_STEP 以获得上升时间。 您可以使用存储器调试读回 DAC_STEP、TON_RISE、Vout_CMD 等的值。

    Regrds、

    肖恩

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    那么、计算出3885、还是尝试一下?