Problem with Pic18F4431

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

Problem with Pic18F4431

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 dont think this is enough to do anything useful with an RTOS.

Problem with Pic18F4431

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