2392114_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2392114_en-US

2392114_en-US

PWM Capture can't work in frdm_mcxw72 board

Hi,

I tried to practice the pwm capture sample in  frdm_mcxw72 board, but unfortunately, the print message in serial tool only show " capture cycle err -134" . I'm sure there is the 1Khz, 50% duty cycle pwm signal inject into the PTA21 pins in frdm_mcxw72 board.

i imported the whole project files from the demo case,  there is no change that i only added the overlay file,   below is the overlay files setting.

anliu114036_0-1783501416708.png

can you help check the reason why there is no correct print information. thanks in advance!



Re: PWM Capture can't work in frdm_mcxw72 board

Hello,


Hope you are doing well. Could you please clarify what Zephyr repo are you using?

Also, are you starting from any of the examples? Did you modify something?


Best Regards,

Ricardo

Re: PWM Capture can't work in frdm_mcxw72 board

Hi Ricardo,

The repo version is V4.4.1.0,  below is the my steps 

1. Import the capture example application from the repo

anliu114036_0-1783644698775.png


 2. Add the  DTS overlay file in the board folder, the content of the overlay file  posted in first message.

3. build and flash into the frdm_mcxw72 board in my hand,  the print message is 

"capture cycle err" ,  it looks the board state is ok because i didn't inject the pwm signal , but the print message is the same after the pwm signal injected into PTA21 pins.
 
 
Re: PWM Capture can't work in frdm_mcxw72 board

Hello,


Could you please clarify what repository are you using?

Are you using Upstream or Downstream?

Also, is the example working on your side without modifications?


Best Regards,

Ricardo

Re: PWM Capture can't work in frdm_mcxw72 board

Hi Ricardo

here is the repo version 

anliu114036_0-1783902527295.png

i only update the overlay file,  it will be  can't build successfully if there is no this file.


Best regards!

Re: PWM Capture can't work in frdm_mcxw72 board

Hello,


Could you please clarify if you are using Upstream or Downstream?


Best Regards,

Ricardo

Re: PWM Capture can't work in frdm_mcxw72 board

Hi Ricardo,

Sorry, i didn't very understand  what's the "Upstream" or "Downstream" here . i guess it should be the downstream. or can you change another description?

タグ(1)
評価なし
バージョン履歴
最終更新日:
2 週間前
更新者: