Update SNES.ino

This commit is contained in:
sanni 2020-03-17 16:38:44 +01:00
parent 5cec7afd1f
commit 83aacd4c66

View File

@ -362,6 +362,8 @@ void setup_Snes() {
// Adafruit Clock Generator // Adafruit Clock Generator
clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, 0); clockgen.init(SI5351_CRYSTAL_LOAD_8PF, 0, 0);
// Use multimeter with frequency counter (probe between SNES Pin 56 and GND) and adjust correction until you measure exactly 3.072Mhz
//clockgen.set_correction(-200000, SI5351_PLL_INPUT_XO);
clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLA); clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLA);
clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLB); clockgen.set_pll(SI5351_PLL_FIXED, SI5351_PLLB);
clockgen.set_freq(2147727200ULL, SI5351_CLK0); clockgen.set_freq(2147727200ULL, SI5351_CLK0);