NetBurner 3.5.6
PDF Version |
Low level hardware functions for the MOD5441x platform. More...
Go to the source code of this file.
Functions | |
void | SpreadSpectrumOscillator (bool enable) |
Enable spread spectrum oscialltor mode on the CPU clock. | |
Low level hardware functions for the MOD5441x platform.
void SpreadSpectrumOscillator | ( | bool | enable | ) |
Enable spread spectrum oscialltor mode on the CPU clock.
The 25MHz CPU oscillator defaults to standard mode, but can be put in a spread spectrum mode that will help with radiated emissions. This will reduce EMI, but will cause the clock to have some jitter.
When enabled, the oscillator center frequency is reduced by 2% to avoid overclocking the CPU. The frequency will then vary by +/- 2%. This means the average clock rate will be reduced by 1% when this feature is enabled. To compensate, the system CPU_CLOCK variable and system time tick rate aer modified to reflect the new bus clock speed. Finally, the console/debug serial port will be closed and reopened to recalculate the baud rate.
enable | Set to true to enable spread spectrum mode |