F28069m ADC sampling frequency is different from the actual frequency

2 vues (au cours des 30 derniers jours)
国栋
国栋 le 21 Nov 2024
Commenté : praguna manvi le 29 Nov 2024
I used EPWM to trigger ADC sampling, with a PWM frequency of 10KHz. I used ADC to sample a 10Hz sine wave, but the actual sampled signal frequency was 20Hz, which did not match the actual signal. At the same time, the interval time between the two points of the sampled signal was 0.00055s, and the frequency did not reach 10KHz. What is the reason for this
  3 commentaires
国栋
国栋 le 26 Nov 2024
this is my model,version 2022b
praguna manvi
praguna manvi le 29 Nov 2024
I couldn't see any output after running the simulation (I observed zero in the scope). See if this discussion helps:

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur C2000 Microcontroller Blockset dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by