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.
工具与软件:
你(们)好、
我将把一个电机控制工程从 C2000迁移到 MSPM0G。 我发现 FULL_SCALE_CURRENT_BASE 的定义值与注释不匹配。 以 DRV8323为例、 3.3/2*(0.007*5)= 0.0578、而非11.785。
/*! @brief Full scale readable current used as current base value, calculated using (FULL Scale Voltage(3.3)/2*(Rsense(7mOhm) * CSA Gain(5)) */ #define FULL_SCALE_CURRENT_BASE 11.785
以 DRV8316为例、3.3/2 * 0.15 = 0.248、不是11。
/*! @brief Full scale readable current used as current base value, calculated using (FULL Scale Voltage(3.3)/2* CSA Gain(0.15(v/A))) */ #define FULL_SCALE_CURRENT_BASE 11
根据调优指南、CURRENT_BASE = VREF/2/ GAIN (V/A)。
对于 DRV8328:3.3/2 /(0.007*5)=47.143 -->仍然不匹配
对于 DRV8316:3.3/2/0.15=11--> 匹配
应修复这些拼写错误。