GPT Capture inputs on the i.MX8XQuadPlus

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

GPT Capture inputs on the i.MX8XQuadPlus

767件の閲覧回数
nlbutts
Contributor III

I would like to use the capture capability of the i.MX8X GPT interfaces. Reading through the i.MX Linux Reference Manual it doesn't appear there is support for a frequency/capture input capability. 

https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf

I also looked through the driver code and found timer-imx-gpt.c. This appears to match the register interface for the GPT timers (at least the V2 section). But I don't see anything in there with respect to using the capture registers. 

I then came across this:

https://patchwork.kernel.org/project/linux-media/patch/1465944574-15745-28-git-send-email-steve_long...

It appears to add capture support to the GPT driver. Has anyone else implemented GPT capture inputs?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

604件の閲覧回数
lidy
Contributor I
Hi nlbutts How to finally solve this problem??
0 件の賞賛
返信

759件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Nicholas

 

for GPT capture example one can look at ../driver_examples/gpt/capture/gpt_capture.c

M4 SDK_MEK-MIMX8QX available on https://mcuxpresso.nxp.com/en/welcome

 

Best regards
igor

0 件の賞賛
返信