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.

spi minimum and maximum rate?in HZ form and bits (bits per sec.) form ?

Status
Not open for further replies.

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,149
Reputation
4,304
Reaction score
2,089
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,094
the SPI clock range is adjustable from. 500 KHz to 50 MHz. A maximum data rate of. 50 Mbit/sec can be achieved with a clock speed of 50 MHz

---------- Post added at 17:27 ---------- Previous post was at 17:20 ----------

these calculations are done based on the crystal oscillator frequency supported by the controller
 

Embedded Partner

Full Member level 5
Joined
Nov 29, 2010
Messages
247
Helped
42
Reputation
84
Reaction score
37
Trophy points
1,308
Location
Hubli(INDIA)
Activity points
2,636
Maximum/minimum baud rate that can be achieved is dependent on the processor clock speed. Faster processor speed supports fast SPI transfer.
 

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,149
Reputation
4,304
Reaction score
2,089
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,094
SPI speed is set by the prescalar circuit which has the divisor factor with which the oscillator frequency is divided.... usually it is 1/4th of oscillator frequency
 

Embedded Partner

Full Member level 5
Joined
Nov 29, 2010
Messages
247
Helped
42
Reputation
84
Reaction score
37
Trophy points
1,308
Location
Hubli(INDIA)
Activity points
2,636
SPI speed is set by the prescalar circuit which has the divisor factor with which the oscillator frequency is divided.... usually it is 1/4th of oscillator frequency
it will differ from one controller to other,
 
Last edited:

Embedded Partner

Full Member level 5
Joined
Nov 29, 2010
Messages
247
Helped
42
Reputation
84
Reaction score
37
Trophy points
1,308
Location
Hubli(INDIA)
Activity points
2,636
not by default....... it can be changed by changing the prescaler value. and same thing in any controller.....

prescalar value doesn't change the SPI clock rate ......

---------- Post added at 10:00 ---------- Previous post was at 09:59 ----------

The SPI SCK rate may be calculated as: PCLK of SPI / SPI clock counter register value

---------- Post added at 10:02 ---------- Previous post was at 10:00 ----------

SPI clock control register controls the frequency of a master’s SCK

---------- Post added at 10:03 ---------- Previous post was at 10:02 ----------

in ARM this register must be an even number greater than or equal to 8.
 

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,149
Reputation
4,304
Reaction score
2,089
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,094
get to basics and find out relation between data rate and prescaler configuration or dig the startup code and see what happens.....

---------- Post added at 18:52 ---------- Previous post was at 18:50 ----------

also please find out the affect of prescaler on the performance of the controller and its data rate and how it affects the data rate.. i never told that it changes all the parameters of SPI.

---------- Post added at 18:54 ---------- Previous post was at 18:52 ----------

got the formula from data sheet... ???????? but understanding of it is also important dear embedded partner

---------- Post added at 18:56 ---------- Previous post was at 18:54 ----------

and how it works other than ARM????? in any 8 bit or 16 bit controller??????

if prescaler is not required then it was not required in the design itself.........
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top