what is the MPC8260 spi maximum rate ?
Hi everybody
I have a question about the spi on the MPC8260.
I have written a driver for this controller but there is something in the MPC8260 documentation I don't understand:
It is written in MPC8260 documentation (SPI chapter) : " The maximum sustained data rate that the SPI supports is SYSTEMCLK/50. However the spi can transfer a single character at much higher rates (SYSTEMCLK/4 in master mode)".
My really stupid question is ...... what is "SYSTEMCLK" ??????? is it the BRG_CLK ? the CPM_CLK or the CPU_CLK ????
Seeing that in the SPMODE register, the maximum SPI CLK possible is BRG_CLK/4, I imagine that this "SYSTEMCLK" is BRG_CLK, but this looks very strange .....
This question is quite stupid but very important for me in order to know if that controller permit to exchange data with one of our extention board at 1.2 MHz.
Anybody knows ?
Thanks very much for any help .
begin:vcard
fn:Hubert Loewenguth
n:Loewenguth;Hubert
org:Thales Broadcast & Multimedia
adr:;;1 rue de l'hautil;Conflans Ste Honorine;;78700;France email;internet:[email protected] title:Software Engineer
tel;work:01-34-90-37-56
x-mozilla-html:TRUE
version:2.1
end:vcard
Hello,
Quoted 8 lines · in message <[email protected]> you wrote:
It is written in MPC8260 documentation (SPI chapter) : " The maximum sustained data rate that the SPI supports is SYSTEMCLK/50. However the spi can transfer a single character at much higher rates (SYSTEMCLK/4 in master mode)".
My really stupid question is ...... what is "SYSTEMCLK" ??????? is it the
BRG_CLK? theCPM_CLKor theCPU_CLK????
The performance-limiting factor is the CPM, so it's most probably the CPM clock.
Quoted 3 lines
This question is quite stupid but very important for me in order to know if that controller permit to exchange data with one of our extention board at 1.2 MHz.
Keep in mind that SPI is implemented in software on the CPM, and that it's running at very low priority. All calculations assume an otherise unloaded CPM - but if you add load to the CPM, things will change.
We haven't run specific measurements on the 8260, but on the MPC860 we ran into a *lot* of ugly SPI problems when the CPM load got higher, missing interrupts etc. being just one of the issues. At this time, Motorola added a note to their FAQ base, which stetd pretty clear that SPI was "not designed for high-bandwidth data communi- cations".
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Due to lack of disk space, this fortune database has been discontinued.