Do anybody meet this:8147 lost hwi?
I use edma to copy data,but sometime cann't get edma complete interrupt to release semphore,so dsp will blocked.
In which situation can 8147 lost hwi?
somebody help me ,thank you
I don't think it is a good idea to use semaphores inside a HWI.
Hi,
Semaphores can be used in HWI, you can only post a semaphore in HWI, you cannot pend on semaphore on HWI since it may sleep, and which in turn can create a deasdlock of the system.
Regards,
Hardik Shah
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
I think so.
but I cann't understand HWI just be losted
Does it sometimes work ?
yes , it happened occasionally, and work normal most time
Can you post the code for you EDMA HWI ?
Are you using a loop to check the IPR flags before you exit the HWI routine ?
At what rate are the EDMA HWI occurring ?