Thank you for your advice.
Sorry, I couldn't find any bridge/Jumper in sanni's hardware nor software.
Besides, I used Wire.h and my own I2C clockgen configuration which is confirmed to be working on hongkong dumper and confirmed some clock coming out from CLK0 and CLK2 so I don't think bridge/Jumper is problem.
I need to take a look at waveforms from snesCIC and clock gen but I don't have access to oscilloscope for this week.
Will also try various timing for clock enabling and snesCIC enabling.
Or maybe I'm only one who is having problem because people in this forum use Non Japanese games and I use Japanese games...
Here is original configuration for CLK0 and CLK2.
Code: Select all
//Register map for use with AN428 (JumpStart)
//http://www.silabs.com/clocks
//Copyright 2014 Silicon Laboratories
//**************************************************
//C-Code File version = 1
//#BEGIN_HEADER
//Date = Thursday, April 28, 2016 12:35 PM
//File version = 3
//Software Name = Si5351 ClockBuilder Desktop
//Software version = 6.5
//Software date = June 4, 2015
//Chip = Si5351A
//Part Number = Si5351A-x-GT
//#END_HEADER
//I2C address = 0x60
/*
#XTAL (MHz) = 25.000000000
#Mode = Automatic
#PLL A
# Input Frequency (MHz) = 25.000000000
# F divider = 1
# PFD (MHz) = 25.000000000
# VCO Frequency (MHz) = 724.992000000
# Feedback Divider = 28 3124/3125
# Internal Load Cap (pf) = 8
# SSC disabled
#PLL B
# Input Frequency (MHz) = 25.000000000
# F divider = 1
# PFD (MHz) = 25.000000000
# VCO Frequency (MHz) = 687.272704000
# Feedback Divider = 27 191761/390625
# Pull Range (±ppm) = 0.0
#Output Clocks
#Channel 0
# Output Frequency (MHz) = 10.738636000
# Multisynth Output Frequency (MHz) = 10.738636000
# Multisynth Divider = 64
# R Divider = 1
# PLL source = PLLB
# Initial phase offset (ns) = 0.000
# Error (ppm) = 0.0000
# Powered = On
# Inverted = No
# Drive Strength = b11
# Disable State = Low
# Clock Source = b11
#Channel 1
# Powered = Off
#Channel 2
# Output Frequency (MHz) = 3.072000000
# Multisynth Output Frequency (MHz) = 3.072000000
# Multisynth Divider = 236
# R Divider = 1
# PLL source = PLLA
# Initial phase offset (ns) = 0.000
# Error (ppm) = 0.0000
# Powered = On
# Inverted = No
# Drive Strength = b11
# Disable State = Low
# Clock Source = b11
#Channel 3
# Powered = Off
#Channel 4
# Powered = Off
#Channel 5
# Powered = Off
#Channel 6
# Powered = Off
#Channel 7
# Powered = Off
#
*/
#define NUM_REGS_MAX 100
typedef struct Reg_Data{
unsigned char Reg_Addr;
unsigned char Reg_Val;
} Reg_Data;
Reg_Data const Reg_Store[NUM_REGS_MAX] = {
{ 15,0x00},
{ 16,0x6F},
{ 17,0x80},
{ 18,0x4F},
{ 19,0x80},
{ 20,0x80},
{ 21,0x80},
{ 22,0x80},
{ 23,0x80},
{ 24,0x00},
{ 25,0x00},
{ 26,0x0C},
{ 27,0x35},
{ 28,0x00},
{ 29,0x0C},
{ 30,0x7F},
{ 31,0x00},
{ 32,0x0B},
{ 33,0xB5},
{ 34,0xF5},
{ 35,0xE1},
{ 36,0x00},
{ 37,0x0B},
{ 38,0xBE},
{ 39,0x54},
{ 40,0xFC},
{ 41,0x02},
{ 42,0x00},
{ 43,0x01},
{ 44,0x00},
{ 45,0x1E},
{ 46,0x00},
{ 47,0x00},
{ 48,0x00},
{ 49,0x00},
{ 50,0x00},
{ 51,0x00},
{ 52,0x00},
{ 53,0x00},
{ 54,0x00},
{ 55,0x00},
{ 56,0x00},
{ 57,0x00},
{ 58,0x00},
{ 59,0x01},
{ 60,0x00},
{ 61,0x74},
{ 62,0x00},
{ 63,0x00},
{ 64,0x00},
{ 65,0x00},
{ 66,0x00},
{ 67,0x00},
{ 68,0x00},
{ 69,0x00},
{ 70,0x00},
{ 71,0x00},
{ 72,0x00},
{ 73,0x00},
{ 74,0x00},
{ 75,0x00},
{ 76,0x00},
{ 77,0x00},
{ 78,0x00},
{ 79,0x00},
{ 80,0x00},
{ 81,0x00},
{ 82,0x00},
{ 83,0x00},
{ 84,0x00},
{ 85,0x00},
{ 86,0x00},
{ 87,0x00},
{ 88,0x00},
{ 89,0x00},
{ 90,0x00},
{ 91,0x00},
{ 92,0x00},
{149,0x00},
{150,0x00},
{151,0x00},
{152,0x00},
{153,0x00},
{154,0x00},
{155,0x00},
{156,0x00},
{157,0x00},
{158,0x00},
{159,0x00},
{160,0x00},
{161,0x00},
{162,0x00},
{163,0x00},
{164,0x00},
{165,0x00},
{166,0x00},
{167,0x00},
{168,0x00},
{169,0x00},
{170,0x00},
};
//End of file