2020-04-11 10:07 AM
Most of the time non predicted values coming in graph (very big numbers but actual sine values are unit vectors).
My core clock is 170 Mhz,
Timer1 period overflow interrupt rate is 10 K Hz
intercafe SWD clock is 24000 K Hz
Serial wire viewer clock is 2000 H Hz
sometimes the waveform is proper, but most of the time its not. Is there any speed limitation or extra setting i need to do ?.
Surprisingly if i place sine wave code with delay of 1 milli second in main.c, its working as just as cool. But my project needs to run at 25K Hz minimum(control loop for power converters and sine wave will be generated in interrupt).
so please help me whether SWV support this rate or not,