Hello,
I am using a Mistral EVM with PG1.x version of the DM814x on a debugger. My system is running properly until I try using the "wfi" instruction.
The "wfi" instruction does put the ARM to sleep and the next incoming interrupt will wake it up at the beginning of operation. But within two minutes or so, the "wfi" will put the ARM CPU to sleep but the next interrupt cannot wake it up. When I stop the debugger, the PC is always at the address after the "wfi".
I am handling the following interrupts, GP0P23 at 2K Hz, TI UART0, TIMER2 and 3PGSWRINT0.
I checked the errata but there is nothing regarding this issue.
I have successfully implemented the OMAP-L138 version of "wfi" on that CPU and the only difference between that CPU and DM814x is the use of "wfi" instruction instead of a cp15 register.
Any idea on why this isn't working?
Thanks,
Victor