AnsweredAssumed Answered

Input Capture Feature of iMX6Dual

Question asked by Bob Kang on Jan 26, 2016
Latest reply on Feb 25, 2016 by Victor Linnik


I'm a freshman for using iMX6, in my current company,we use iMX6Dual with Vxworks 7 for the development.Now I need to driver a rotatory knob of which 2 input capture pins need to be used.

Through data sheet, I know there are GPT_CAPTURE1 and GPT_CAPTURE2 signals for the feature input capture.


Does anyone can help me on this? For example, how to set the corresponding contents in DTS file, how to configure these GPT_CAPTURE1 and GPT_CAPTURE2 signal to the actual pin?and how to write some example interruption codes? Thanks a lot!