X-Git-Url: http://git.rot13.org/?p=trilby-hat-fpga;a=blobdiff_plain;f=README.md;h=3be04553e92b4d7266980c7e974aba53313d8e8e;hp=9faaed2872c0eca01ec6f56e5237ef1107050ade;hb=302c67c98a30def10b8b8845c6f820d9e8da130b;hpb=581839170af0aeffd0334b3eb19334b05f2e1013 diff --git a/README.md b/README.md index 9faaed2..3be0455 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,31 @@ -# Trilby HAT ECP5 45k FPGA +# Trilby HAT ECP5 FPGA SDR for Raspberry Pi + +http://www.kinetic.co.uk/Trilby.php + +This is my attempt at using open source tools to generate bitstream Run `make prog` to load the example to the board. + +## enable RTC + +Add to config.txt: + +``` +dtoverlay=i2c-rtc,ds1307 +``` + +or execute in shell: + +``` +echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device +``` + + +## read HAT ID eeprom + +Add to config.txt: + +``` +dtoverlay=i2c-gpio,i2c_gpio_sda=0,i2c_gpio_scl=1,bus=4 +```