|
Re: Parallel Processor
Your problem isn't the speed of the processor, but the structure of your program. Have you read the Programming reference manual?
Default_Routine will only be called every 26ms. Process_Data_From_Local_IO will be called every program loop, which will be much more often (the PIC is actually quite fast). You can also use a timer to call your routine at a fixed rate, such as 100hz.
Even then, the PWMs won't be updated unless you use the fast PWMs.
Definetly read through ALL the documentation, and if you still have questions, ask. The PIC should be more then fast enough for what you want to do. Even if it wasn't, a coprocessor wouldn't help at all the way your program is written now.
|