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.

Questions about SPI interface.

Status
Not open for further replies.

xuedashun

Member level 1
Joined
Aug 30, 2005
Messages
39
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,582
I am going to design a project which uses SPI interface, which has 4 signals: SS* SCLK MISO MOSI. To my knowledge,
SS*, SCLK and MOSI are input singal and MISO is output signals. I have two questions:

1)
I am told the SPI is 25MHz. Is 25MHz too high for this SPI interface? What's the normal frequency range for SPI.

2)
In order to generate the digital output signal (MISO), I need clock signal. Is it possible to directly use SCLK to generate
this digital output signal (MISO)

Thank you!
 

You didn't tell, if you are designing a SPI master or slave device. The direction of signals changes respectively. MISO is e.g. master in - slave out.

Is 25MHz too high for this SPI interface?
For which SPI interface? For a FPGA or CPLD, 25 MHz isn't too high.

Typically, all SPI registers are directly clocked by SCLK. This means, that you need domain crossing techniques for a SPI slave.
 

1) Typically SPI frequency 1-50 MHz, but it depends on system.
2) If system clock much faster than SCLK then you can do over-sample using system clock, it does design more complicated.
 
  • Like
Reactions: FvM

    FvM

    Points: 2
    Helpful Answer Positive Rating
If system clock much faster than SCLK then you can do over-sample using system clock, it does design more complicated.
I think, the design becomes easier in terms of timing closure between SPI interface and rest of the system. The allowed range for the MISO delay will command the required oversampling rate. Effectively, oversampling can work up to a few MHz SCLK.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top