TDA18219 datasheet
[trilby-hat-fpga] / README.md
1 # Trilby HAT ECP5 45k FPGA
2
3 http://www.kinetic.co.uk/Trilby.php
4
5 This is my attempt at using open source tools to generate bitstream
6
7 Run `make prog` to load the example to the board.
8
9
10 ## enable RTC
11
12 Add to config.txt:
13
14 ```
15 dtoverlay=i2c-rtc,ds1307
16 ```
17
18 or execute in shell:
19
20 ```
21 echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
22 ```
23
24
25 ## read HAT ID eeprom
26
27 Add to config.txt:
28
29 ```
30 dtoverlay=i2c-gpio,i2c_gpio_sda=0,i2c_gpio_scl=1,bus=4
31 ```