Working with GPIO | Jetson AGX XAVIER

I need to work on the gpio pins in the jetson AGX Xavier.
I need to make the GPIO pin as a interrupt and need to trigger it and to do a simple task after it get triggered.
How we can work on it?
Will you please guide on this?

Thanks in advance

Hi swedhar10,

Are you using the devkit or custom board for AGX Xavier?
What’s you Jetpack version in use?

You should choose a GPIO as interrupt usage first and write a driver to do the interrupt handling and also adding a node in device tree for your driver.

Hi Kevin,
I am using devkit, jetpack version 5.1.1.
Do you have any resources, how to write driver and the interrupt thing?
Please guide me on this.
Thanks in advance.

Please check GPIO Signals | GPIO Support | RidgeRun Developer - RidgeRun Developer Connection

You could refer to the following thread about the setup and test with GPIO interrupt.
LIC interrupts and GPIO controllers - #5 by antti.keranen

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.