Documente Academic
Documente Profesional
Documente Cultură
for
embedded system design
1
Abstract
embedded system design is a topic of multidisciplinary fields..
3
Introduction
Some protocols, like the SPI , are used to network microcontroller
to peripheral devices .
4
Introduction
Serial peripheral interface bus communicate in master/slave mode.
MOSI and MISO are the two data lines that allow both the master
and slave devices to exchange data simultaneously.
The control line, slave select (SS), is activated when the master is
about to initiate a data transfer to a slave device.
6
Introduction
In a multiple slaves system, the data and clock lines are shared by
all the slaves, but all slaves need a dedicated slave select line.
7
Introduction
The master then pulls the slave select low for the selection of
desired slave.
8
Introduction
During each SPI clock cycle, a full duplex data transmission occurs:
•the master sends a bit on the MOSI line; the slave reads it from
that same line
•the slave sends a bit on the MISO line; the master reads it from
that same line
After data completion , SS to logic high. 9
Introduction
All devices
10
Introduction
USB establish communication between devices and host controller.
USB
11
Introduction
The USB uses four wires to transfer data
•VBUS and Ground to carry a 5-volt signal
• D+ and D- wires carry the data and signaling
information
12
Introduction
USB does not have a clock signal.actually clock signal is embedded
into the data stream.
13
System overview
USB/SPI bridge system have three basic modules:-
1) Target system( embedded system)
2) Target application (PC & its OS)
3) USB/SPI bridge
16
References
1. “Introduction to Serial Peripheral Interface,” Embedded.com,
2007
2. USBN9603 Datasheet:
http://www.national.com/ds.cgi/US/USBN9603.pdf
3. Universal Serial Bus Specification,
Revision 1.1, September 23, 1998:
http://www.usb.org/developers/docs/usbspec.zip
4. http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus
5. http://en.wikipedia.org/wiki/Usb
17