I'm using matlab2020a & Simulink and TI F28379D Lauchpad to auto generate code for my FFT analysis project. The problem is related to the FFT block under DSP System Toolbox. I'm currently doing a few tests and get into some problems. I used the ePWM triggered ADC and linked the output to matrix sum and then into the FFT block. A message says that I need to specify the sample time. And here's my questions:
- The original idea is to trigger the FFT every time the signal is sampled, why do I still need to specify the sample time? Should it be exactly 1 divided by the frequency of epwm? What is the mechanism behind this?
- If I use the interrupt trigger to generate a function call and put thoes functions in the function call subsystem, the same message pops up. Is there any example showing how this might work?
Your reply is appreciated!