cancel
Showing results for 
Search instead for 
Did you mean: 

SPC58 performance

alexandrealmeida
Associate II

Hello,

I created a new project using default settings only to toggle an OUTPUT just to see the microcontroller performance.
I monitored that outpup with an oscilloscope and I get only 4.17MHz.

I am using a SPC58NH-DISP.

Is that an expected output frequency or I am missing something?

How much is the MIPS of SPC58NH microcontroller?

PS.: it was used clock default settings.

Best regards.

/* Inclusion of the main header files of all the imported components in the
   order specified in the application wizard. The file is generated
   automatically.*/
#include "components.h"

/*
 * Application entry point.
 */
int main(void) {

  /* Initialization of all the imported components in the order specified in
     the application wizard. The function is generated automatically.*/
  componentsInit();

  /* Uncomment the below routine to Enable Interrupts. */
  /* irqIsrEnable(); */
  
  /* Application main loop.*/
  for ( ; ; ) {
      pal_togglepad(PORT_LED1, LED1);
  }
}

 

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello Alexandre ,

Normally , this CPU is based on Triple z4 cores 200 MHz 

to calculate the MIPS , you should have : 

MIPS = (CPU Frequency in Hz) / (Number of clock cycles per instruction)

On the different IPs, you can check the clocktree

2024-06-11 15_03_57-Window.png

 

     Best Regards

                    Erwan

View solution in original post

1 REPLY 1
Erwan YVIN
ST Employee

Hello Alexandre ,

Normally , this CPU is based on Triple z4 cores 200 MHz 

to calculate the MIPS , you should have : 

MIPS = (CPU Frequency in Hz) / (Number of clock cycles per instruction)

On the different IPs, you can check the clocktree

2024-06-11 15_03_57-Window.png

 

     Best Regards

                    Erwan