Problem with Pic18F4431

Posted by Nobody/Anonymous on February 27, 2005
I am having problems getting FreeRTOS to work with a Pic18F4431 - it works fine with various other processors
The problem is that T1_CCP1_T3_CCP2 does not get defined in timers.h
In fact all Timer3 #defines are #included out on all the xx31 (motor control) processors

can anyone suggest anything
Steve

RE: Problem with Pic18F4431

Posted by Richard on February 27, 2005
You can use any timer that is capable of producing the tick frequency you require. On the 4431 I think timer 5 is probably the easiest as this the closest to the original timer 3 implementation….

… however the Pic18F4431 only has 768 bytes of RAM. I don’t think this is enough to do anything useful with an RTOS.

RE: Problem with Pic18F4431

Posted by Nobody/Anonymous on February 27, 2005
Thanks Richard
Your right about the ram and it doesnt appear that any Pic with 3ph motor speed control kernal has any more.
I guess the speed control will have to be divorced from the rest of the control system