Universal Serial Interface USI CS 423 Dick Steflik
What is it for? Basic hardware needed for serial comm: SPI (4 -wire bus) MMC/SD Ethernet, UARTs, USARTs, JTAG (IEEE 1149. 1) I 2 C/TWI (Inter-Integrated Circuit) (2/3 -wire bus) appropriate for peripherals where simplicity and low manufacturing cost are more important than speed Accessing DACs and ADCs Interfacing OLEDs/LCDs Computer diagnistic sensors (fans, overtemp)
USI Block Diagram
USI Data Register 8 -bit, parallel load/read shift register SFR I/O 8 (0 x 0 F) Port B PB 5 - DI/SDA PB 6 - DO PB 7 – UCSK/SCL Must set DDR for Port B appropriately Data must be read from USIDR immediately as the register is not buffered