Author Topic: PIC32 vs Cortex M4/M7 DSP performance  (Read 3203 times)

0 Members and 1 Guest are viewing this topic.

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
PIC32 vs Cortex M4/M7 DSP performance
« on: May 23, 2019, 06:08:42 pm »
Are there any benchmarks for DSP performance of the Microchip PIC32 series vs Cortex M4 / M7 series.
I found a link http://www.joshianlindsay.com/index.php?id=158 however it seems to compare the PIC32MZ @ 200Mhz with the Cortex M4 running at 48Mhz, so I'm not sure how valid that comparison really is?
For Cortex M4/M7 I'm mostly leaning towards the STM32F4 /F7.

Regards,
 

Online JPortici

  • Super Contributor
  • ***
  • Posts: 3812
  • Country: it
Re: PIC32 vs Cortex M4/M7 DSP performance
« Reply #1 on: May 23, 2019, 08:02:44 pm »
Yeah... pic32mz is to be compared against cortex M7 (double precision fpu, simd, more complex bus matrix and dma than m4)

Another interesting condenter (architecture, bus, dma, peripherals) if you don't need a FPU is the newer dsPIC33C
« Last Edit: May 23, 2019, 08:06:37 pm by JPortici »
 
The following users thanked this post: ZeroResistance

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: PIC32 vs Cortex M4/M7 DSP performance
« Reply #2 on: May 23, 2019, 09:10:50 pm »
Yeah... pic32mz is to be compared against cortex M7 (double precision fpu, simd, more complex bus matrix and dma than m4)

Another interesting condenter (architecture, bus, dma, peripherals) if you don't need a FPU is the newer dsPIC33C

Would the DSP instructions be similar on the pic32MZ and the cortex M7?

The dsPIC33C looks interesting ... however still 16 bit though.
I need to run DSP ops on biopontential data that is streaming in, and most of the biopotential frontends from TI / Analog Devices etc. have 24bit adc's.

 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: sm
Re: PIC32 vs Cortex M4/M7 DSP performance
« Reply #3 on: May 24, 2019, 02:54:02 am »
The performance comparison is usually done in DMIPS/MHz. The FPU in both supports only a few floating point operations. Afaik in practical real life M4/PIC32MZ M7/PIC32MZEF perf is the same, the MIPS vs ARM architecture choice is more-less matter of taste..
« Last Edit: May 24, 2019, 02:59:27 am by imo »
Readers discretion is advised..
 
The following users thanked this post: ZeroResistance

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: PIC32 vs Cortex M4/M7 DSP performance
« Reply #4 on: May 27, 2019, 07:47:30 am »
Another interesting condenter (architecture, bus, dma, peripherals) if you don't need a FPU is the newer dsPIC33C

Would it make sense in going for the dsPIC33CK / CH series when the data size you are  dealing with is primarily 24bits wide. I mean the dsPIC may have to do 2 fetches to get he data from memory, correct?
 

Online JPortici

  • Super Contributor
  • ***
  • Posts: 3812
  • Country: it
Re: PIC32 vs Cortex M4/M7 DSP performance
« Reply #5 on: May 27, 2019, 12:01:55 pm »
you did not specify that you had to deal with 24bit sensors, that changes some things.
The dsPIC is a 16 bit architecture, which means that yes, load and stores of 32 bit will have to happen in two cycles... but any operation on 32bit will use more instructions.
Also, you can't use the DSP because the operands are 16 bit.
 
The following users thanked this post: ZeroResistance


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf