|
|
@@ -82,11 +82,14 @@ static u32 app_report_task(void *p) {
|
|
|
return 200;
|
|
|
}
|
|
|
can_report_power(0x45);
|
|
|
- can_report_dq_current(0x45);
|
|
|
can_report_foc_status(0x45);
|
|
|
- can_report_phase_voltage(0x45);
|
|
|
- can_report_mpta_values(0x45);
|
|
|
- can_report_phase_current(0x45);
|
|
|
+ can_report_dq_voltage(0X45);
|
|
|
+ if (motor.controller.b_mtpa_calibrate) {
|
|
|
+ can_report_mpta_values(0x45);
|
|
|
+ }else {
|
|
|
+ can_report_dq_current(0x45);
|
|
|
+ }
|
|
|
+
|
|
|
if (mot_params_rs_ested()) {
|
|
|
can_report_mot_params_ested(mot_params_get_est_rs(), R_TYPE);
|
|
|
}
|