Re: SPI performance on Freescale MPC83xx?
- From: "Paul Genua" <genuap@xxxxxxxxx>
- Date: 18 Aug 2006 06:07:31 -0700
Are you using an 834x or 8360 (8358) QUICC-Engine based part? Assuming
the 834x, the SPI port has a limited FIFO and is essentially pushing
16-bits at a time.
Also, are you a master or slave. The max clock rate of the master is
going to be CCB/4 or 41MHz. (82MHz for a slave) That being said,
throughput is going to be dependant on your OS, how fast you can feed
it data, and what else your system is doing.
It was never intended as a high-speed interface, but as a slow (few
hundred kHz) serial peripheral interface.
Paul Genua
Freescale Semiconductor
Dave Littell wrote:
Matthias wrote:
Michael N. Moran wrote:
Matthias wrote:
What is your CPU utilization with 125kHz SPI (at which CPU clock)?
I have not done a measurement. Since our SPI traffic is short
and bursty rather than continuous, the performance impact is
likely in the noise. Our system has a 32MHz oscillator. The system
clock is 128MHz and the CPU clock is 384MHz.
Okay, that's what I expected... So we will find out ourselves, for good
or worse. ;-)
As Steve pointed out, we could change the HW. If we would decide to go
this way, suddenly a wonderful world of new possibilities would open,
but for obvious reasons we will try to stick to the existing approach.
If I remember correctly, in the old CPM's the SPI implementation was
basically just a bit-banging dog implemented by the CPM. If your
CPM loading was high, SPI just might push it over the edge. I would
hope that this newfangled "QUICC Engine" would have improved that
situation, but there's always been dark corners in that beast's cave...
Good luck,
Dave
.
- References:
- Re: SPI performance on Freescale MPC83xx?
- From: Dave Littell
- Re: SPI performance on Freescale MPC83xx?
- Prev by Date: Re: SPI performance on Freescale MPC83xx?
- Next by Date: Periodical HRESET on PowerQUICCII
- Previous by thread: Re: SPI performance on Freescale MPC83xx?
- Next by thread: Periodical HRESET on PowerQUICCII
- Index(es):
Relevant Pages
|