You are on page 1of 10

sS

1. SPI INTERFACE

2. REGISTERS

3. 74HC595

4. SAMPLE CODE

USCI Serial Protocols


SPI
Serial Peripheral Interface Single Master/Single Slave
Vdd
R

P1.5 P1.6 SPI Master P1.7

SCLK MOSI MISO

SPI Slave

I2C

SDA SCL

Inter-Integrated Circuit Interface Single Master/Multiple Slaves

C Master

DAC Slave
Tx Rx

ADC Slave
Rx Tx

C Slave

UART

Universal Asynchronous Receiver/Transmitter Full duplex

R/T

R/T

52

USI BLOCK DIAGRAM : SPI MODE

P1.6
P1.4 P1.5

USICNT REGISTER

USICTL0: USI CONTROL REGISTER 0

USICTL1: USI CONTROL REGISTER 1

USICKCLT: USI CLOCK CONTROL REGISTER

You might also like