2022-08-01 08:46 PM
Hello,
I'm working with spc560p and I want to calculate my code my code more faster as usual. I Impelement PIT DRIVER too for other use of my mcu. Is there any method to calculating faster?
Thanks for your attention
2022-08-02 03:20 AM
Reduce the complexity of the math.
Look for common computations, or areas where you repetitively compute the same intermediate values.
Cache prior solutions or computations.
Perhaps use tables for long and complex computations that have a known range of usage or a common subset which can be readily optimized for and do the full computation for those outside that.