Hello Everyone ,
I am new bie in pocket beagle board with am335x , i want to access ARM timer , i dont find any example code of that
i need snippet code which contain how timer will configure , enable . and use timer.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Everyone ,
I am new bie in pocket beagle board with am335x , i want to access ARM timer , i dont find any example code of that
i need snippet code which contain how timer will configure , enable . and use timer.
Hello Prial,
What are you trying to do with the timer?
If you are just trying to get the Linux system time, there are plenty of ways to do that. That is not a question about TI software though, it's a generic Linux question (which we cannot support on the TI forums). Please search online, there are plenty of resources out there like https://stackoverflow.com/questions/11992937/how-to-get-the-most-exact-clock-in-linux-user-space-application .
Regards,
Nick
Hello Nick ,
i want to enable and use pocket beagle board ARM timer to send interrupt to the PRU
There should be plenty of resources on how to set a timer to go off from Linux userspace elsewhere online. No need to do any configuration in the Linux devicetree, or mess around with the hardware timers.
Regards,
Nick