Tool/software:
Hi Champ,
I am asking for my customer.
(1). Before getting more details about user's application and system such as the communications involved at what frequency, and what kind of processing is done in their control loop, etc., is the a generic way to preliminary assess at least how many MIPS you need, to determine whether you need dual CPUs or not and additional CLA for designing system ?
(2). Any generic way to know current CPU usage (MIPS) across the system ?
Could I assess by GPIO toggling in the fastest ISR, or within the fastest few ISRs, and see them together.
For example: 50 KHz (20us) ISR uses 10us,10 KHz (100 us) ISR uses 5 us. So, I can reasonably launch around every 20 us, it runs 10+5/1 = 11 us since the fastest one or the first few ISRs are the most critical. Therefore, I could get the CPU utilization is about 11 us / 20 us = 55%.
Does the assessment look reasonable from the expert ?
Thanks and regards,
Johnny