etherkit / Si5351Arduino

Library for the Si5351 clock generator IC in the Arduino environment
GNU General Public License v3.0
243 stars 96 forks source link

Can't seem to generate requested frequency #101

Open retrorepair opened 1 week ago

retrorepair commented 1 week ago

I've altered the example ino to specifically output 4.43548375mhz by changing:

Si5351.set_freq(443361877ULL, SI5351_CLK0);

Is that not going to work for some reason? I can't seem to find documentation on this

retrorepair commented 1 week ago

Should the serial monitor show anything other than 0 for all registers? Even with the default unedited ino I get this

retrorepair commented 6 days ago

I corrected the frequency to 4433618750ULL but still not working

la3pna commented 6 days ago

What device are you running on? How is the I2C connected? does it have propper bias resistors? With a SI5351 or one of the clones?

lør. 9. nov. 2024 kl. 14:07 skrev retrorepair @.***>:

I corrected the frequency to 4433618750ULL but still not working

— Reply to this email directly, view it on GitHub https://github.com/etherkit/Si5351Arduino/issues/101#issuecomment-2466208525, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBYNPA4WUPVQCFU4MSHPY3Z7YCJXAVCNFSM6AAAAABRLQGNOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGIYDQNJSGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- With Best regards, Thomas S. Knutsen.

Please avoid sending me Word or PowerPoint attachments.

la3pna commented 6 days ago

Frequencies are given in 0.01Hz as the input. Your input will give 44.336MHz output. https://github.com/etherkit/Si5351Arduino

lør. 9. nov. 2024 kl. 14:07 skrev retrorepair @.***>:

I corrected the frequency to 4433618750ULL but still not working

— Reply to this email directly, view it on GitHub https://github.com/etherkit/Si5351Arduino/issues/101#issuecomment-2466208525, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBYNPA4WUPVQCFU4MSHPY3Z7YCJXAVCNFSM6AAAAABRLQGNOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGIYDQNJSGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- With Best regards, Thomas S. Knutsen.

Please avoid sending me Word or PowerPoint attachments.

retrorepair commented 6 days ago

Everything is set up fine and the board is a nano. The adafruit library works but I can't deal with the method they use to generate a frequency which I assume is closer to the register setup than the etherkit library