MPC5777c, eTPU: input pins configuration

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

MPC5777c, eTPU: input pins configuration

跳至解决方案
966 次查看
cedric_toncanie
Contributor I

Hi,

On MPC5777  we configures eTPU B channel 0-1 as inputs (PCR147 -148) with PA = Primary function and IBE set to 1.

SIU PCR 147 Configuration Register:

pastedImage_2.png

Despite state changes on eTPU inputs pins, we still see 0 inside CSCR.IPS. Like there was no activity on the pins.

eTPU B CSCR Register:

pastedImage_1.png

We are able to play on the output pins. Our ETPU source code is running perfectly on MPC5644A.

ETPU B Configuration Register:

pastedImage_3.png

ETPU B Time Base Configuration Register:

pastedImage_4.png

Do you have any suggestions about maybe a missing SIU/ETPU configuration ?

Best Regards,

Cedric

标记 (2)
1 解答
782 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

This is probably caused by IGF filter, which is placed between pad and some eTPU channels.
See chapter 39.1.3 “IGF interaction with other modules” of the device RM for more info. By default the IGF is in configuration mode (MCR[FGEN]=0) and the filter output is kept at logic '0' state. You can enable the filter by setting FGEN bit. By default, bypass mode is selected so enabling the IGF should be enough to see transitions on the eTPU channel.

From Table 39-3 you can see IGF_1 channels 17-31 are mapped to ETPUB0-14.

BR, Petr

在原帖中查看解决方案

2 回复数
782 次查看
cedric_toncanie
Contributor I

Thank you Petr. It solved my issue. 

0 项奖励
783 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

This is probably caused by IGF filter, which is placed between pad and some eTPU channels.
See chapter 39.1.3 “IGF interaction with other modules” of the device RM for more info. By default the IGF is in configuration mode (MCR[FGEN]=0) and the filter output is kept at logic '0' state. You can enable the filter by setting FGEN bit. By default, bypass mode is selected so enabling the IGF should be enough to see transitions on the eTPU channel.

From Table 39-3 you can see IGF_1 channels 17-31 are mapped to ETPUB0-14.

BR, Petr