Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nullify spread spectrum #82

Open
mrguen opened this issue Jun 30, 2021 · 0 comments
Open

Nullify spread spectrum #82

mrguen opened this issue Jun 30, 2021 · 0 comments

Comments

@mrguen
Copy link

mrguen commented Jun 30, 2021

Describe the bug

On some chips the frequency seems wrong. In fact when checking the registers spread spectrum was activated. Probably from the factory.

Correction

I added code in the reset() function

void Si5351::reset(void) {
...
	si5351_write(SI5351_SSC_PARAM0, 0);
	si5351_write(SI5351_SSC_PARAM1, 0);
	si5351_write(SI5351_SSC_PARAM2, 0);
	si5351_write(SI5351_SSC_PARAM3, 0);
	si5351_write(SI5351_SSC_PARAM4, 0);
	si5351_write(SI5351_SSC_PARAM5, 0);
	si5351_write(SI5351_SSC_PARAM6, 0);
	si5351_write(SI5351_SSC_PARAM7, 0);
	si5351_write(SI5351_SSC_PARAM8, 0);
	si5351_write(SI5351_SSC_PARAM9, 0);
	si5351_write(SI5351_SSC_PARAM10, 0);
	si5351_write(SI5351_SSC_PARAM11, 0);
	si5351_write(SI5351_SSC_PARAM12, 0);
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant