Usage of diag functions in the etpu_resolver.h file of the MCSPTR2AK396_PMSM_FOC_3Sh_SwRes project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Usage of diag functions in the etpu_resolver.h file of the MCSPTR2AK396_PMSM_FOC_3Sh_SwRes project

209 次查看
jianxiong_yuan
Contributor I

jianxiong_yuan_0-1753750800739.png

1. How to use the DIAG interface as shown in the figure?
2. And what is the usage of the variable chan_num_diag in the structure resolver_instance_m1 during the initialization of the function fs_etpu_resolver_init?

3. Is this channel an output interface?

4. Does it output the internal errors of ETPU?

5. How should I use it?

Note: I have not used the configuration functions of RTD and MCAL. All codes are written manually.

0 项奖励
回复
1 回复

155 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Thank you for your interest in our products and for contributing to our community.

For more details about eTPU RDC function implementation please refer to eTPURDCCUG - eTPU RDC and RDC Checker User Guide.

On the other hand, you could refer to EV-INVERTERGEN3, which use the S32K3 eTPU software AUTOSAR 4.7 Version 2.0.0 Code Drop 04.

I hope this information is helpful.

0 项奖励
回复