2024-06-06 05:38 AM
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);
}
}
Solved! Go to Solution.
2024-06-11 06:25 AM
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
Best Regards
Erwan
2024-06-11 06:25 AM
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
Best Regards
Erwan