Skip to content
A minimal Si5351 library for avr and Arduino (~1kb)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/tinypll
README.md
arduino_uno_pinout.jpg
attiny13_pinout.jpg
i2cmaster.S
i2cmaster.h
keywords.txt
readme.txt
slimmath.S
slimmath.h
tiny5351.c
tiny5351.h
tiny5351_avr_gcc.zip

README.md

tiny5351

A minimal Si5351 library for avr and Arduino (~1kb)

  • simple library to use with avr / arduino to set frequency on Si5351 from silabs
  • uses a mix of assembly and c to achieve the register settings
  • takes less than 1000 bytes, so useful with attiny13
  • If you want to use Arduino platform, just install a microcore for attiny with link time optimisation
  • It use a bitbang i2c, So use PB1 (SCL) & PB2 (SDA)on attiny13 (can be changed to any pin in i2cmaster.S file in the library)
  • There is an example sketch (tinypll - takes around 960 bytes of flash), just upload via an isp programmer (usbasp) and generates a signal at 10MHZ and can be adjusted a few khz upward by applyng a voltage (0-vcc) on ADC3 of the attiny13
You can’t perform that action at this time.