Question regarding PIC 18 series performance verses MSP430F149:
Currently I'm using a TI MSP430F149 running at 12Mhz (overclocked) in a prototype. For various reasons I'm considering using a PIC 18Fxxx, but want to know before I bother porting the code/building hardware if the PIC running at a 10MHz instruction clock will give me similar performance to the MSP430 at 12Mhz. Here are some details of my application.
- Application mixed C and assembly source
- 2 A/D channels sample rate 25kHz
- only other I/O is a single output pin
- Software algorithm contains a Least Squares Fit on 8 A/D samples (several 8x8 multiplies)
- Otherwise the software involves mainly counting samples and stepping through simple state machines based on the data
-MSP430 at 12Mhz takes 38uSec to process both data channels between
40uSec samplesThe PIC A/D seems more than adequate and the 18 series part have the hardware multiplier that I need. My uncertainty is that although the PIC has the Harvard Architecture and other features that allow all instructions to be single cycle is it really more speed efficient than a part like the MSP430 which has single cycle register to register instructions, but variable clocks per instruction on RAM and peripheral accesses depend on addressing mode etc.
My question has more to do with PIC performance in general rather than a specific device comparison.