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.

[参考译文] MSP430I2040:如何将电压、电流和其他比例因子以及校准值集成到我的项目中。

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1036105/msp430i2040-how-to-integrate-voltage-current-and-other-scaling-factors-and-calibrated-values-into-my-project

器件型号:MSP430I2040

您好!

我们一直在项目中使用 msp430I2040。 我能够使用 MSP430I2040S EVM 连接到 PC、并使用 EMDC GUI 读取电压、电流和能量值。  

然后、我根据我们的项目要求修改了 COM 端口上的协议、并测试了定制代码是否正常工作。

现在、我们位于其他地方的硬件团队正在为该定制项目提供定制硬件。 我们的定制软件尚未集成到定制硬件中。

当定制软件集成到定制硬件中时、我们将无法使用 EMDC GUI、因为协议已更改。

我们希望:

     -将自定义 h/w 的电压和电流调节因数放入自定义 h/w 的自定义 s/w 项目中;  

       您能解释一下如何执行上述操作吗? 我知道、我们需要修改后的 EMDC 项目中的 EM_UserConfig.c 值(具有修改后的 R1、R2电阻和自定义 h/w 的分流电阻值)进入我们的项目。 如果我们复制"g_emPhaseCalibration[EM_PHASE_LENGTH]"、 mPhaseConfiguration[EM_PHASE_LENG]、 EM_Algorith_Configuration emAlgorhmConfig、 EM_Meter_Configuration emMeterConfig、 EM_SW_Lib_Config_Handle gEmSWConfig、  EM_SW_Lib_Result_Handle 将 gEmSWResult 值添加到我们的项目中? 您能帮助澄清这一点吗?

      提前感谢。

此致、

Rajkumar