Teensy 3.2 Spectrum analyzer

I'm using a Teensy 3.2. Connecting a generator at the input, I saw up to 20kHz.