Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Serial Peripheral Interface (SPI) question

Status
Not open for further replies.

jcf

Newbie level 4
Newbie level 4
Joined
Sep 9, 2002
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Buenos Aires, Argentina
Visit site
Activity points
14
For Serial Peripheral Interface (SPI), there are four combinations of SCK phase and polarity with respect to serial data, which determine four SPI data modes (0..3).
Why is it necessary to have these four modes, or when it is better to use one or another?

Thanks in advance.
jcf
 

The SPI mode depends on the type of the peripheral that you connect to the SPI bus.

Most peripherals I have worked with operate either in mode1 or in mode3 but you have to consult the datasheet of the peripheral that you want to connect.

best regards
 

you can also connect various devices whit different mode, you need only to use a chip select for ever device.
Bye.
G.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top