2397803_en-US

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

2397803_en-US

2397803_en-US

etpu crank-reading signal-mpc5775e

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:

  • The external signal is present and can be read correctly as a GPIO.
  • The CRANK function is assigned to Engine A, Channel 0.
  • The pin is configured for TCRCLK.
  • TBCR.AM is enabled.
  • The CRANK channel is initialized successfully and has high priority.

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.

Re: etpu crank-reading signal-mpc5775e

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.

petervlna_0-1784790408527.png

petervlna_1-1784790443110.png

Best regards,

Peter



标记 (1)
无评分
版本历史
最后更新:
昨天
更新人: