Hi Johnny, There is no straightforward way to benchmark the code but there are steps you can take to approximate CPU usage. First, as you described involves using GPIOs but when it comes to fast control loop execution, GPIO toggling command would take up some time. There are code profiling examples in C200Ware that employ the ERAD module. These examples can be found in folder f28p65x/examples/c28x/erad/application_owned_examples. Look for the examples with profile in the test name. Once customer gets an idea on how long the code execution takes, customer can then decide if a second CPU, or CLA is needed. There are also some ode optimizations that customer can use. I can point you to our SW team if additional information is needed. Regards, Joseph
↧
Forum Post: RE: TMS320F28P650DH: Generic questions about MIPS you need and CPU usage rate in system
↧