artiq/artiq/firmware/libboard_misoc
Robert Jördens e31ee1f0b3 firmware/i2c: rewrite I2C implementation
* Never drive SDL or SDA high. They are specified to be open
  collector/drain and pulled up by resistive pullups. Driving
  high fails miserably in a multi-master topology (e.g. with
  a USB I2C interface). It would only ever be implemented to
  speed up the bus actively but that's tricky and completely
  unnecessary here.
* Make the handover states between the I2C protocol phases (start, stop,
  restart, write, read) well defined. Add comments stressing those
  pre/postconditions.
* Add checks for SDA arbitration failures and stuck SCL.
* Remove wrong, misleading or redundant comments.
2020-07-15 16:43:07 +08:00
..
or1k firmware: support building without SDRAM 2019-01-05 23:41:30 +08:00
Cargo.toml update smoltcp 2020-01-21 13:58:23 +08:00
build.rs firmware: rename libboard to libboard_misoc. 2018-05-14 18:09:44 +00:00
clock.rs firmware: rename libboard to libboard_misoc. 2018-05-14 18:09:44 +00:00
config.rs firmware: fix not(has_spiflash) build 2019-01-05 23:40:03 +08:00
ethmac.rs update smoltcp 2020-01-21 13:58:23 +08:00
i2c.rs firmware/i2c: rewrite I2C implementation 2020-07-15 16:43:07 +08:00
i2c_eeprom.rs firmware: Kasli I2C EEPROM cleanup 2020-05-05 21:29:29 +08:00
ident.rs firmware: rename libboard to libboard_misoc. 2018-05-14 18:09:44 +00:00
io_expander.rs kasli: integrate WRPLL 2020-05-07 21:34:02 +08:00
lib.rs firmware: I2C I/O expander support 2020-05-05 21:38:17 +08:00
net_settings.rs firmware: Kasli I2C EEPROM cleanup 2020-05-05 21:29:29 +08:00
sdram.rs kasli: fix SDRAM read delay reset/wrap issue. Closes #1149 2018-11-15 19:40:35 +08:00
slave_fpga.rs netboot: support slave FPGA loading 2019-11-05 16:28:49 +08:00
spiflash.rs firmware: rename libboard to libboard_misoc. 2018-05-14 18:09:44 +00:00
uart.rs firmware: rename libboard to libboard_misoc. 2018-05-14 18:09:44 +00:00
uart_console.rs firmware: rename libboard to libboard_misoc. 2018-05-14 18:09:44 +00:00
uart_logger.rs firmware: use writeln instead of write in UART logger. 2018-05-29 03:16:52 +00:00