Forum Discussion
Altera_Forum
Honored Contributor
10 years agoyour sine cycle is 100 data so if your sampling frequency(Fs) is regular and known then sine frequency = Fs/100
Nios/UART/Matlab will process data based on instruction time so time dimension is vague here (Fs in somewhat unknown unless samples are sent at regular intervals). If you are sending all samples (without loss or duplication) then scale the plotter according to Fs/100. It looks you have a plotter with fixed time scale. I think it is better you focus on samples being sent correctly than actually measuring frequency of sine.