Skip to content

Adds external clock support

Compare
Choose a tag to compare
@dbuezas dbuezas released this 22 Dec 20:50
· 301 commits to master since this release

Use when an external 32MHz crystal is connected to LGT8F328P Port B Pin 6 & 7 (see databook for details, in particular about the decoupling capacitors). You can comfortably switch between the internal and external OSC using the tools menu:

clock-source

And then pick the speed you want to run at (I tested 16MHz as well as 32MHz, but I kept the other options as well). This directly sets the prescaler to the correct value:

clock

Contributor: #seisfeld