I’m trying to figure out if it’s feasible to use the onboard timers on the BBB to launch an interrupt. I have a function that requires precise timing and I’d like to use an interrupt to do it. Of course to trigger the interrupt I’d need to use one of the timers on the processor. I need to know if this is possible and what I need to do in order to enable the timer and set it up for interrupt generation.
Any help that gets me going down the right path would be helpful. To start, I’d really just like to get a timer configured, but I don’t know if I need to enable drivers, create a device tree overlay, or anything. Thank you in advance.
I think the drivers are loaded by the kernel, so I need to enable the timers with a device tree overlay. I’m trying to enable timer4 for my purpose and I’m trying to mimic one of the sample device tree overlays I see into my device tree overlay, but doing so causes the boot to fail