This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: sampling time of ADC

Part Number: LAUNCHXL-F28379D

Hi guys,
I am using 3 ADC blocks (using Matlab Simulink with External mode).
My question is about ADC sampling time. I noted that when I changed "Fixed-step size (fundamental sample time) from 1e-4 to 1e-5, I was able to increase the ADC sampling time from 0.01 to 0.001 s.

I need to increase the ADC sampling time to 0.00013s. Is this possible? and how can I do that? if not, what is the appropriate solution in this case?

Thank you in advance

  • ashraf mohammad issa ahmad said:
    I am using 3 ADC blocks (using Matlab Simulink with External mode).

    Simulink is not a TI product.  I recommend contacting Mathworks support directly.

    ashraf mohammad issa ahmad said:
    I need to increase the ADC sampling time to 0.00013s. Is this possible? and how can I do that? if not, what is the appropriate solution in this case?

    Device-wise, this is certainly possible.

  • Hi Ashraf, 

    You should be able to set your Fixed-step size (fundamental sample time) to "auto" and the solver will determine the correct sample time for the model to run at based on the sample time settings you've chosen from the blocks in the model. With that set to auto you should be able to set the ADC sample time to your desired value.

    If you want to force the model to execute at a specific sample time, you can assign that in the Fixed-step size (fundamental sample time), you can do that too, as long as the ADC sample time is an integer multiple of the fixed step size.

    Best,

    John