ts-7000
[Top] [All Lists]

[ts-7000] Troubles with SPI overrun?

To:
Subject: [ts-7000] Troubles with SPI overrun?
From: Bill Gatliff <>
Date: Fri, 10 Apr 2009 11:37:32 -0500
Guys:


I'm running a slightly-modified version of Matthieu's 2.6.27 kernel, 
along with spidev.  Immediately after booting, when I do this:

# echo 1 > /dev/spidev1.1

The system hangs in an infinite:

SSP overrun
SSP overrun
...

I took a look at the code, and the message is coming from ssp_int() in 
spi_ep93xx.c.  I added code to printk the value of SSPIxR, and it is 
indeed SSP_SSPIxx_RORIS that's causing the interrupt.

I'm having trouble figuring out the root cause of this problem.  It's 
particularly odd that I'm not attempting to receive anything, and that 
the system exhibits a hang even if I don't register the ssp_int() 
handler.  I don't have any hardware connected to the SPI bus right now.  
The system seems to do the same thing even if I read from /dev/spidev1.1 
before writing to it.


Any suggestions?   Thanks!


b.g.

-- 
Bill Gatliff




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Troubles with SPI overrun?, Bill Gatliff <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU