MPC5748G input

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

MPC5748G input

跳至解决方案
3,454 次查看
joãopaulo
Contributor III

Hello,

I have an devkit-mpc5748g and I'd like to read active wheel speed sensor that uses hall sensor.
Which input should I use to read such signal considering it is an high speed square wave and I need to know the signal frequency to know the speed of the wheel.

Thanks in advance

Regards

João 

标签 (1)
标记 (2)
1 解答
3,372 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

use eMIOS channel configured for Input Period Measurement (IPM) or  Single Action Input Capture (SAIC) Modes.

Read more about those mode from device reference Manual.

You can also find some eMIOS examples within S32 design Studio.

BR, Petr

在原帖中查看解决方案

3 回复数
3,373 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

use eMIOS channel configured for Input Period Measurement (IPM) or  Single Action Input Capture (SAIC) Modes.

Read more about those mode from device reference Manual.

You can also find some eMIOS examples within S32 design Studio.

BR, Petr

3,372 次查看
joãopaulo
Contributor III

Hello,

As far as I understood is possible to use IPM mode in any GPIO.

It's not a special feature of a group of pins, correct?  

Is there an input or driver for quadrature sensor?

Thanks,

Regards

João 

0 项奖励
回复
3,372 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

eMIOS IPM mode can be used on eMIOS channels Type G and Type H.

See Table 35-3. eMIOS channel configuration of the RM to know which channel it is.

Then check I/O Signal table to know on whcih pin the eMIOS channel is available.

MPC5748G does not offer quad decoder.

BR, Petr