From 962bbb81eb2c3a66e85b75b5576d963326c857f7 Mon Sep 17 00:00:00 2001 From: sanni Date: Sat, 6 Jul 2024 20:25:03 +0200 Subject: [PATCH] Created Calibrating the ClockGen (markdown) --- Calibrating-the-ClockGen.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Calibrating-the-ClockGen.md diff --git a/Calibrating-the-ClockGen.md b/Calibrating-the-ClockGen.md new file mode 100644 index 0000000..a468298 --- /dev/null +++ b/Calibrating-the-ClockGen.md @@ -0,0 +1,27 @@ +To calibrate the Clock Generator you first need to enable it in config.h by removing // in front of the following two options: + +```` +/****/ + +/* [ SNES Core/CLOCKGEN: Read Clock Generator Calibration Data ---- ] + Toggle clock calibration menu and whether or not to use calibration data from snes_clk.txt +*/ + +#define OPTION_CLOCKGEN_CALIBRATION +#define OPTION_CLOCKGEN_USE_CALIBRATION +```` + +Then you find a new menu entry under "Super Nintendo/SFC" called "Calibrate Clock". +Once the calibration function was loaded place one end of a jumper wire against SNES slot pin 43(A18/BA2) and the other end of the wire against one of the following pins and it should read those values: +- 3072000.00 Hz when connected to SNES slot pin 56(CIC Clock) +- 4000000.00 Hz when connected to SNES slot pin 1(EXT Clock) +- 1000000.00 Hz when connected to SNES slot pin 57(CPU Clock) + +![IMG_3882](https://github.com/sanni/cartreader/assets/19169494/82164cc5-f895-49bc-96ca-6391367a1f84) + +![](https://i.imgur.com/Dpu4ivo.jpg) + +Once you have adjusted the clock to match the values more closely hold the button for a very long time and let it go to save the setting. + +Video: +[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/F9LaQG_lc-Q/0.jpg)](https://www.youtube.com/watch?v=F9LaQG_lc-Q) \ No newline at end of file