ESP32VGA
ESP32 VGA Controller and Graphics Library
List of all members
FabGL::SquareWaveGeneratorClass Class Reference

This is a square wave generator that uses APLL internal Audio PLL clock. More...

#include <swgenerator.h>

Detailed Description

This is a square wave generator that uses APLL internal Audio PLL clock.

When FABGLIB_USE_APLL_AB_COEF = 0 (the default) the frequency range is 2651514 Hz to 62500000 Hz. Average error is 21 Hz, Minimum error is 0, Maximum error is 1000 Hz except for range 41666667 Hz to 42708333 Hz while frequency remains fixed at 41666666 Hz (error from 0 Hz to 1041666 Hz) and except for range 42708334 hz to 43748999 Hz while frequency remains fixed at 43750000 Hz (error from 750001 Hz to 1041666 Hz).

When FABGLIB_USE_APLL_AB_COEF = 1 the frequency range is 82500 Hz to 62500000 Hz. Unfortunately the output has lot of frequency jittering. Average error is about 7 Hz, Minimum error is 0, Maximum error is 6349 Hz.


The documentation for this class was generated from the following files: