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.
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.