Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

SPI throughput

SPI throughput

2004-11-29 by elikcohen

Hi,

I'm trying to figure out what is the max bitrate that I can get from 
SPI in the LPC21XX family.

The datasheets mention that it is one eighth of the input clock rate 
(SCK). However, the data sheet does not specify the dynamic limits 
of this signal (there is mentioning of the devices 
oscillator/crystal limits but I'm guessing that it relates to the 
XTAL1/2 input signals)

Any idea ?

Thanks,
Elik

Re: [lpc2000] SPI throughput

2004-11-29 by FabioDB

Il giorno lun, 29-11-2004 alle 06:33 +0000, elikcohen ha scritto:
> 
> Hi,
> 
> I'm trying to figure out what is the max bitrate that I can get from 
> SPI in the LPC21XX family.

In tests I had 10Mbit/s of throughput.

-- 
FabioDB <fabiodib@...>
Altraqua

Re: SPI throughput

2004-11-29 by haack0815

Hi,
what have you done to get 10Mbit/s?
The LPC21xx can only work up to 7.5Mbit/s (60Mhz/8).
With the new LPC213x you can go up to 30Mbit/s (new SSP controller).

Andreas

--- In lpc2000@yahoogroups.com, FabioDB <fabiodib@e...> wrote:
Show quoted textHide quoted text
> Il giorno lun, 29-11-2004 alle 06:33 +0000, elikcohen ha scritto:
> > 
> > Hi,
> > 
> > I'm trying to figure out what is the max bitrate that I can get from 
> > SPI in the LPC21XX family.
> 
> In tests I had 10Mbit/s of throughput.
> 
> -- 
> FabioDB <fabiodib@e...>
> Altraqua

Re: SPI throughput

2004-11-29 by haack0815

Hi,
what have you done to get 10Mbit/s?
The LPC21xx can only work up to 7.5Mbit/s (60Mhz/8).
With the new LPC213x you can go up to 30Mbit/s (new SSP controller).

Andreas

--- In lpc2000@yahoogroups.com, FabioDB <fabiodib@e...> wrote:
Show quoted textHide quoted text
> Il giorno lun, 29-11-2004 alle 06:33 +0000, elikcohen ha scritto:
> > 
> > Hi,
> > 
> > I'm trying to figure out what is the max bitrate that I can get from 
> > SPI in the LPC21XX family.
> 
> In tests I had 10Mbit/s of throughput.
> 
> -- 
> FabioDB <fabiodib@e...>
> Altraqua

Re: [lpc2000] Re: SPI throughput

2004-11-29 by FabioDB

Il giorno lun, 29-11-2004 alle 10:50 +0000, haack0815 ha scritto:
> 
> Hi,
> what have you done to get 10Mbit/s?
> The LPC21xx can only work up to 7.5Mbit/s (60Mhz/8).
> With the new LPC213x you can go up to 30Mbit/s (new SSP controller).

With cclk at 58,9824 Mhz
I have setted S0SPCCR=0x06 it works!
Am I lucky?
Whit S0SPCCR=0x05 it don't work.

-- 
FabioDB <fabiodib@...>
Altraqua

Re: SPI throughput

2004-12-01 by elikcohen

How do you connect the SCK clock ?
Do you generate it externaly from the XTAL and connect it to SCK ?

It's not quite clear from the datasheet how to do this.

Regards,
Elik

--- In lpc2000@yahoogroups.com, FabioDB <fabiodib@e...> wrote:
Show quoted textHide quoted text
> Il giorno lun, 29-11-2004 alle 10:50 +0000, haack0815 ha scritto:
> > 
> > Hi,
> > what have you done to get 10Mbit/s?
> > The LPC21xx can only work up to 7.5Mbit/s (60Mhz/8).
> > With the new LPC213x you can go up to 30Mbit/s (new SSP controller).
> 
> With cclk at 58,9824 Mhz
> I have setted S0SPCCR=0x06 it works!
> Am I lucky?
> Whit S0SPCCR=0x05 it don't work.
> 
> -- 
> FabioDB <fabiodib@e...>
> Altraqua

Re: [lpc2000] Re: SPI throughput

2004-12-01 by FabioDB

Il giorno mer, 01-12-2004 alle 13:48 +0000, elikcohen ha scritto:
> 
> How do you connect the SCK clock ?

As a normal SPI master-slave with LPC2106 as master and an ADC as slave.


> Do you generate it externaly from the XTAL and connect it to SCK ?

No, SPI clock from the SCK pin of LPC2106.




-- 
FabioDB <fabiodib@...>
Altraqua

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.