Can I program a timer interrupt on the Jetson Xavier using Python?

I am working on receiving data from a sensor and I want to read this data through a timer interrupt, I have read the Nvidia TRM in section 8 of Timers, however, I don’t know if it is possible to do this with python.

Hi,

Do you mean this document?

https://developer.nvidia.com/embedded/downloads#?search=Xavier%20Series%20SoC%20Technical%20Reference%20Manual

8.1.2.5 Timers
The Cortex-R5 does not have any integrated timers. Timers for the AON Cluster are provided by a separate timer block in the AON Cluster.

Since the document says there is no timer in Cortex-R5, would you mind telling us that which function you want to use?
Do you want to get the system time with Python?

Thanks.

Hi AastaLLL,

Thanks for your answering.

What I want to do is set up a timer interrupt on the Jetson Xavier. I am new to this and have read about the registers in section 8.4.4. However, as I understand it, manipulating these registers directly might not be feasible. What I am looking for is a way to configure these registers using Python for a specific application I am developing on the Xavier.

Hi,

Thanks for the expansion.

Please find below the topic for more info:

If the PWM works for your use case, there is a Python-based library for it.

Thanks.

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