Hi,
I am trying to use the eTPU CRANK function on an MPC5775E using the CodeWarrior eTPU Function Set (AN4907).
According to AN4907, when the CRANK function is assigned to Channel 0, the input signal should be connected through TCRCLK. Therefore, I connected my external crank signal to the TCRCLK input (J122, pin 12) on the EVB. The pin is configured accordingly in the Pins Tool, and Angle Mode (TBCR.AM) is enabled.
However, the CRANK function never detects any input signal. The state always remains in SEEK (state = 0), the tooth counters remain zero, and no tooth periods are logged.
I have already verified the following:
Despite this, the eTPU does not seem to detect any input transitions.
Has anyone experienced a similar issue or knows if there is any additional configuration required for using TCRCLK as the CRANK input on the MPC5775E?
I have attached my project for reference.
Any help would be greatly appreciated.
Thank you.
Hello,
You have probably active IGF1.
I believe the transition detection is disabled by default, so no signal will pass through. The IGF bypass must be enabled in order for the signal to be processed.
Best regards,
Peter