This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HALCoGen: How many CPU cycles are required for the functions of the HALCoGen API?

Other Parts Discussed in Thread: HALCOGEN

Hello,

I am using the RM48 MCU HDK (Hercules Development Kit with RM48L952ZWT Safety MCU) for rapid prototyping.

Where can I get information how many CPU cycles are needed for the functions of the HALCoGen API?

How many CPU cycles are needed, for example, for the execution of the function sciSend()?

Thanks and regards,

Pascal

  • Hi Pascal,
    We don't have the documented measurements on the number of cycles for each API. You might want to check the PMU (Performance Monitor Unit) inside the CPU that can be used to perform some cycle measurement. The on-chip RTI module can do the same. Basically, they are counters where you can start the counter before an API is called and you will stop the counter after the API is executed. The delta difference in the counter value is the number of cycles taken to execute the function. However, there is some overhead associated with calling the RTI to start and stop. If the API function takes a lot of cycles then the overhead associated with calling the RTI to start and stop will be negligible.