{"id":20690286,"url":"https://github.com/ftl/si5351","last_synced_at":"2026-04-10T21:35:52.656Z","repository":{"id":57499425,"uuid":"197457150","full_name":"ftl/si5351","owner":"ftl","description":"Control the Silicon Labs Si5351 in Go","archived":false,"fork":false,"pushed_at":"2019-07-27T08:42:50.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T17:14:48.796Z","etag":null,"topics":["ham-radio","hamradio","raspberry-pi","si5351"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ftl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-17T20:21:42.000Z","updated_at":"2024-03-15T19:00:03.000Z","dependencies_parsed_at":"2022-08-28T16:10:52.308Z","dependency_job_id":null,"html_url":"https://github.com/ftl/si5351","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftl%2Fsi5351","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftl%2Fsi5351/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftl%2Fsi5351/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftl%2Fsi5351/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ftl","download_url":"https://codeload.github.com/ftl/si5351/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242951087,"owners_count":20211572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ham-radio","hamradio","raspberry-pi","si5351"],"created_at":"2024-11-16T23:12:31.461Z","updated_at":"2025-12-07T21:05:11.010Z","avatar_url":"https://github.com/ftl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Si5351 with Go on the Raspberry Pi\n\nThis is a library to use the Si5351 on the Raspberry Pi. It comes with a command line tool to control the Si5351 from the command line.\n\n## Disclaimer\n\nI develop this software for myself and just for fun in my free time. If you find it useful, I'm happy to hear about that. If you have trouble using it, you have all the source code to fix the problem yourself (although pull requests are welcome). \n\n**Hint:** This software is currently work in progress. It is good enough for my experiments with the Si5351, but does not support all features of the device yet. Please be patient - pull requests are welcome.\n\n## Usage\n\n```\n// define the crystal used with your device\ncrystal := si5351.Crystal{BaseFrequency: toCrystalFrequency(rootFlags.crystalFreq), Load: toCrystalLoad(rootFlags.crystalLoad), CorrectionPPM: rootFlags.ppm}\n\n// open the I2C connection\nbus, err := i2c.Open(rootFlags.address, rootFlags.bus)\nif err != nil {\n    log.Fatal(err)\n}\ndefer bus.Close()\ni2c.Debug = rootFlags.debugI2C\n\n// create the device\ndevice := si5351.New(crystal, bus)\n\n// run the startup procedure\ndevice.StartSetup()\n\n// setup the PLL\ndevice.SetupPLL(si5351.PLLA, 900*si5351.MHz)\n\n// setup the output\ndevice.PrepareOutputs(si5351.PLLA, false, si5351.ClockInputMultisynth, si5351.OutputDrive2mA, si5351.Clk1)\ndevice.SetOutputFrequency(si5351.Clk1, frequency)\n\n// finish the startup procedure\ndevice.FinishSetup()\n\n```\n\n## Build\n\nTo build for the Raspberry Pi:\n\n```\nGOARCH=arm GOARM=7 GOOS=linux go build\n```\n\n## License\n\nThis software is published under the [MIT License](https://www.tldrlegal.com/l/mit).\n\nCopyright [Florian Thienel](http://thecodingflow.com/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftl%2Fsi5351","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fftl%2Fsi5351","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftl%2Fsi5351/lists"}