Hi, I have an iMX6-Solo dev board running Linux 3.10.17.
I'm looking to generate a pulse wave with the EPIT timer and the event output pin. The EPIT has a load register so you can choose an overall time and a compare register so you can choose another point within this time. But it seems you can only generate an event (pin state change) on the compare matching the count, not at the zero/reload point. If you want to have an interrupt at the reload point you have to set the compare to the reload value. So what's the point of having both these registers? Am I missing something?
Currently it looks like I have to swap reload values and output mode on every interrupt to get a pulse wave. Is this what is expected?
The GPT has a 1 clock length pulse option but it is being used as the Linux system timer.