Hi all
I'm developing an acquisition and elaboration system using Simulink for the MiniZed.
Specifically acquisition from I2C peripheral (PMOD) and fixed point operations.
My problem:
using an oscilloscope i measured that each step of execution on the board occur every 1.3 microseconds.
I would like to increase this value (which is called "model sample time") but I can only achieve this for the simulation, not for when the code is running on the board.
I've opened a question also on the matlab forum:
To that I would like to add that the issue is not just related to Stateflow transitions and physical ports.
I measured the same value using a simple counter block connected to an axi4-lite port.
What is the way to set the model sample time so that is compatible with HDL code generation?