Hi
I am using RTX kernel in ARM LPC 2148 microcontroller, in which i am in need to use ADC. In a task ADC cannot be worked properly it gives only initial value but it can't update the readed values. If any one familiar with RTX means or known how to rectify this issue means reply me.
Thanks in advance
K.Ganesh
The ADC doesn't care if you use RTX or not.
So is your ADC code correct?
And your assumptions about how to start a conversion and when the conversion result is available?
So an obvious first test, surely, would be to see if your code works in the absence of RTX...
Hi Andrew Neil thanks for your response, i already check it with outside of RTX. Its working perfectly and updating its values periodically.
In my case i am using ADC for voltage updation am using this function inside a task here only iam facing the updation issue.
The code you posted in http://www.keil.com/forum/56957/ doesn't contain any information about exactly what you are doing.
Zero code showing what you do with the ADC. And zero code that shows exactly how you hand over readings from the ADC to the other task.