I have a question when i use the stateflow in the MPC5744P_MBD.
I want to use stateflow to do some pin voltage-level changes for some communication，
But when i do a simple test, every index++ in simulink-stateflow is inconsistent with index++ in MCU(200MHz index++ instruction will take ~50ns).
When this program is downloaded to the MCU by openSDA, "Sample" pin was measured by oscilloscope with a period of 1ms. Why not 50ns*40=2us?
Can you help me explain it?
thank you very much.