linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200B SPI codec error when there is a heavy ethernet traffic.
@ 2008-01-15 16:44 Txema Lopez
  0 siblings, 0 replies; only message in thread
From: Txema Lopez @ 2008-01-15 16:44 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

Hi all,

We have a MPC5200B based custom board running a 2.4.25 Denx linux 
kernel. We use the PSC6 in SPI-codec mode to exchange some bytes 
periodically in full-duplex with a peripheral.

In 'normal' conditions this communication runs fine. But when we start 
sending packets over the Ethernet as a background activity, we see on 
the oscilloscope that one of the SPI transfers is interrupted. Not only 
that the SPI clock stops, something that could happen in the case that 
the transmission Fifo is empty, or the reception Fifo is full, but that 
the chip select actually goes high for an instant, causing the 
peripheral to abort the communication.

We have reproduced the same bug in a Lite5200B using the spi-dev driver 
and a user application, so it seams it's not a problem of our hardware.

The problem only arises if there is some heavy Ethernet traffic (a big 
file ftp transfer or a big file copy by nfs) , so we think  the error is 
related with the Bestcomm activity. We have contacted freescale to check 
if it's a microprocessor bug and they are looking into it. But we think 
it could be also a bug in the Bestcomm programming of the FEC tasks. 
Could be it possible? At this point, we really need some help. Any clue 
will be welcomed.


Best regards,

Txema








[-- Attachment #2: tlopez.vcf --]
[-- Type: text/x-vcard, Size: 324 bytes --]

begin:vcard
fn:Jose Maria Lopez
n:Lopez;Jose Maria
org:Fagor Automation S. Coop.
adr:;;San Andres 19. Apdo. 144;Arrasate-Mondragon;;20500;Spain
email;internet:tlopez@aotek.es
title:Sotware engineer
tel;work:(34) 943719200
tel;fax:(34) 943791712 
x-mozilla-html:FALSE
url:http://www.fagorautomation.es
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-15 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-15 16:44 MPC5200B SPI codec error when there is a heavy ethernet traffic Txema Lopez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).