Hello NXP:
I want to use gpt(General Purpose Timer) to capture external pulse for counting, I know the gpt1 is used by the kernel to generate the ticks for the OS, so I want to use gpt2, but when I access the base register of gpt2 in console by uart, then the OS hangs.
Can you help me? Thank you!
Hi riguang
one can check that it was enabled in dts file
gpt2 {
status = "okay";
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi igorpadykov :
I enable tpt2 in dts.
I think that there is no official driver in Linux 4.4.15 kernel which is download from NXP.