How to get input from function generator through TMS320F2812 in Vissim for differerent frequencies?

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by gamemuresh on Tue, 03/11/2014 - 14:35 


How to use adc config for f2812 to import sine wave from function generator in vissim for various frequencies

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by pete on Tue, 03/18/2014 - 07:10.

     

    Have a look at this video

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by gamemuresh on Fri, 04/11/2014 - 13:33.

    Sir, I tried and able to get the sine wave, but the frequency of the wave i am getting out of monitor buffer read is not equal to what i am giving from function generator . In the sec scale for 100 sec, it showing only few cycles.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Mon, 04/14/2014 - 11:02.

    That is because the scale is now samples, not seconds. You are showing 100 samples at your sample rate. Let's say your sample rate is 100 kHz, then the time interval on the x-axis is 10010us = 100us or 1 ms. You can change the x-axis labeling by right-clicking the plot, then *Labels and changing X Label. You can change the x-axis upper bound under the axis tab. Be sure Options > Fixed-Bounds is enabled if you do. That way you can change from samples to a time interval.