-
Not sure I can really help, don't know about AVR specifics, but it looks like your ADC0() task is polling the ADC. If this task is not the lowest priority task then no tasks of lower priority will ever run. It would be best to make it event driven so it only runs when there is an adc reading to process.
2009-11-16 09:15:14 UTC by davedoors
-
Just a quick announcement to say FreeRTOS V6.0.1 is now available - only the Cortex M3 ports have changed since V6.0.0.
See http://www.freertos.org/History.txt for a change history.
Regards.
2009-11-15 21:57:34 UTC by richardbarry
-
richardbarry committed revision 936 to the FreeRTOS Real Time Kernel SVN repository, changing 1 files.
2009-11-15 21:51:23 UTC by richardbarry
-
richardbarry committed revision 935 to the FreeRTOS Real Time Kernel SVN repository, changing 671 files.
2009-11-15 21:47:15 UTC by richardbarry
-
richardbarry made 2 file-release changes.
2009-11-15 21:46:01 UTC by richardbarry
-
richardbarry made 2 file-release changes.
2009-11-15 21:45:01 UTC by richardbarry
-
richardbarry made 1 file-release changes.
2009-11-15 21:44:02 UTC by richardbarry
-
richardbarry made 2 file-release changes.
2009-11-15 21:39:01 UTC by richardbarry
-
richardbarry made 1 file-release changes.
2009-11-15 21:38:01 UTC by richardbarry
-
Hello,
I have strange problems with those four. I have my PWM on timer3, when I initialize it all readings queued by ADC reading functions go wrong. My PWM initialization:
void initPwm (){
TCNT3 = 0;
OCR3A = 0;
OCR3B = 0;
TCCR3A = _BV(COM3A1)| _BV(COM3B1)| _BV(WGM31)|_BV(WGM30);
TCCR3B = _BV(CS30);
}
Next one of my ADC readings tasks(chanell...
2009-11-15 18:47:30 UTC by misiekg