Hello @Aris_ ,
You are right in thinking that by changing the "Fixed step size" you can control the frequency at which the main application is being executed.
The model was built based on the idea that the input of an ADC can be reflected on the output of a PWN controlled LED, so the fixed step size was set to 0.1 to provide a responsive interaction between the ADC and PWN. The fact that you mention that the CAN only transmits 1 message every second definitely sounds like there is something that does not work properly.
Let's start by making sure that we know which frequency the model is running at. You could simply add a Dio block set to FlipChannel, to toggle an LED on and off every cycle. This way, it should be visible whether the loop executes every 0.1s or every 1s.
If the LED is blinking in time with the CAN message being sent, then I would suggest setting the "Fixed step size" value to 0.5 (your desired frequency for CAN) and performing a cleanup of the folder in which the model is found (modelName_Config, modelName.slx, slprj). Make sure to not remove the configuration file, with the extension .mex, in case you performed changes inside the configuration.
If the LED is toggling every 0.1s, and the CAN only sends messages every 1s, then that points us to something more directly related to CAN. Could you check the CAN settings of the device the board is connected to and share with me any of the parameters that could have an impact on the action of receiving CAN messages?
Regards,
Robert V