SPRADD8 November 2024 F29H850TU , F29H859TU-Q1
Customers are increasingly shifting towards model-based design and auto code generation. Thus, it is important to understand the performance expected with auto code generation tools, such as Embedded Coder from The Mathworks. At the time of this publication, the C29 is not yet supported in a released version of Embedded Coder, therefore C code generated for the C28 CPU is used for benchmarking. The Sensorless Field Oriented Control based motor control model consists of closed loop control and a Sliding Mode Observer (SMO). The generated code has real-time control components, as well as GPP components. Model-Based Design Benchmarking shows the benchmarking results, which illustrates the performance of the C29 is more than twice better (in cycles) than the Cortex-M4 based competition MCU.
| MCU | Cycles | Performance Ratio |
|---|---|---|
| #6 (Cortex-M4) | 877 | 1 |
| F29H85x (C29) | 393 | 2.23 |
| F29H85x (C29) | 312 (with some hand optimization of generated code) | 2.81 |