Download Serial Communications

Transcript
SPI
(Serial Peripheral Interface ‐ Motorola)
(Serial Peripheral Interface • Two types of devices, masters and slaves. • We’ll consider only one master, but ’
multiple slaves.
• Signals
–
–
–
–
SCLK: Serial CLocK, set by Master
MOSI: Master Out, Slave In
MISO: Master In, Slave Out
~SS: Slave Select
• EEach slave gets its own slave select (other lines h l
t it
l
l t ( th li
are shared)
• Pulling line low selects slave