PWM capture in S32G linux bsp

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

PWM capture in S32G linux bsp

1,084 次查看
xiaochun
Contributor I

Hello NXP,

These days I try to use PWM capture function of S32G3. PWM output is OK. But PWM capture doesn't work.

root@ubuntu-s32g399ardb3:/sys/devices/platform/soc/402e4000.pwm/pwm/pwmchip6/pwm0# cat capture
cat: capture: Function not implemented

So, How can I use pwm capture in linux application? thanks!

 

0 项奖励
回复
4 回复数

1,065 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which BSP version are you using?

Please, let us know.

0 项奖励
回复

1,063 次查看
xiaochun
Contributor I

Hello Daniel-Aguirre,

The used BSP version is Linux BSP 33.0.

Thanks!

0 项奖励
回复

1,008 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

We do apologize for the delay.

We have the following update from our internal team:

"The PWM capture feature is not supported at this moment. I also didn't find any plan to implement this feature in S32G software offering schedule.

However, the S32G FlexTimer(FTM) support pin input capture (on rising edges, falling edges or both edges), customers could implement this feature through their own code."

Please, let us know.

0 项奖励
回复

1,051 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

It may seem that the driver being used might not have the capture function integrated into it.

Let us confirm this situation with our internal team.

Please, let us know.

0 项奖励
回复