I'm the process of investigating using one of the DM Timers on the Beaglebone Black to generate a signal for a specified period. I'm currently using TI's Linux SDK v.8.
I found this example code for setting up a DM Timer and having it generate an interrupt every 3 seconds.
Unfortunately I'm not seeing my IRQ handler being called after I install my module, and to confirm /proc/interrupts indicates that no interrupts have occurred.
Is there something else I need to do to use the DM Timer, since this example code was written for an older 2.6 kernel?
Also how can I specify the specific DM Timer I want? The function omap_dm_timer_request_by_id no longer functions since with SDK v.8 the device tree is now being used. I'm assuming I need to make some changes to my device tree, but I'm sure what changes to make.
Ideally I want to use DM Timer 4, to set the I/O for a fixed time of 100 to 400 microseconds, and to get an interrupt when this is complete.
Thanks,
Sean Moffatt