hi,
I have a complex model (BMS model) for S32K144EVB with MPC33771
When I try 1s sample time, everything is calculating in time (every timestep), but when I changed sample time 50ms some blocks of model (stateflow) is lagging for couple of timesteps (basically, showing same values for couple of of counters which should be increased every 50ms ). My model solver is discrete and has one sample time. So, what I understand MCU could not handle all calculation for 50ms but 1s is OK.
Is there any way to know the minimum sample time that I can run without any problem on this MCU? Or do you have any suggestion on the Simulink side?
Thanks