Hi team,
I am posting this in behalf of the cusotmer. Good day!
Here it is:
I am trying to program a F28335 V2.2 ControlCard with Simulink Coder. I tried to implement an ADC and now I am struggling to set a correct sampling time.
The issue that occurs is that when I set the sampling time lower than 2us, the program seems not to work on the controller anymore. The code itself seems to be fine as it can still be compiled.
I tried to attach the Simulink File but i have gotten an error doing it, so in the end i have inserted an image of it.
I have reduced it to a test enviroment for the ADC and an later added RMS. With this program running, i am able to measure the Digital Output and ensure the ADC is working properly. The ADC is connectet to a square wave generator with a frequency up to 100kHz. As mentioned before, if i reduce the Sample Time of the ADC to 1us, the Output remains zero and is not switch on and off.
I also tried to set the sample time to -1, setting it to inherited according to matlab.
I followed the solution mentioned from following Matlab Support Question, but it didn't help.
In the datasheet of the 28335 it is mentioned that the sample time of the ADC can be up to some GHz, so i am not quite sure what is causing my error here.
I hope i have not forgotten anything important to set you in the image.

Thanks in advance.
Best regards,
Jonathan