We are developing an application that uses a position sensor with a quadrature encoder output. Our goal is to configure the Quadrature Decoder peripheral of the S32K142 microcontroller, specifically the PTC7 (Phase A) and PTC6 (Phase B) pins of the FMT1 module, to accurately sense the position of a motor shaft.
We have been searching through forums and online resources for information on how to configure Processor Expert and use the HAL functions from NXP to access the values calculated by the microcontroller. However, we haven’t found clear documentation or specific examples for this peripheral.
Could someone provide us with a concrete example of how to configure the Quadrature Decoder on the S32K142 using Processor Expert? We also need guidance on how to properly configure Processor Expert for this application.
Any help in the form of examples, reference projects, or guides would be greatly appreciated.
Thank you in advance for your support!
Best regards,