I am using the Web HVAC demo to develope an application. In this application I am reading pulses using the DMA Input Capture function. The problem is the following:
When HVAC task is commented I can read the pulses properly but when HVAC task is not commented the interrupts from DMA Timers are never triggered.
I know the problem is not RAM, then, I dont know what could be happening. Any ideas?
Tnx
I am sorry, this is my first project with an OS and I am not familiar with asigning priorities, is there a section of the MQXRM or MQXUG that deals with priority asigning? , I mean, are there rules to follow or is it just a matter of feeling??
Hi Jaime,
Sounds like you might need to play around with the priority levels of your tasks.
I've seen that is priorities are not correct, a task can end up blocked.
Regards,
David
It may also be that you are out of processing speed. If your input capture compare is to fast, its possible that it will not get time to service the input before the next input is triggered. We run a siren of an 8 bit processor while decoding a receiver and have had this problem.
As was said above, try setting your input capture to a very high priority, otherwise, you may be left with no other option other than to either slow down your input capture rat, which is often not even possible. Maybe you will need a dedicated 8 bit processor externally to process high speed data...
Just some idea's....