You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly odd values, happened using 9-bit words. Attached is the log from when I tried to read. Took me forever to track down the problem until I found this bug report. capture.txt
Yeah, it's an annoying one - are you running into it on a BeagleBone Black? I've been assuming it's an issue in the BeagleBone spi driver, but I haven't tried out odd speeds on any other systems yet.
On Fri, Dec 4, 2015, 12:56 PM Alexander Hiam [email protected]
wrote:
Yeah, it's an annoying one - are you running into it on a BeagleBone
Black? I've been assuming it's an issue in the BeagleBone spi driver, but I
haven't tried out odd speeds on any other systems yet.
—
Reply to this email directly or view it on GitHub #1 (comment).
Looks like the problem is in here somewhere: https://github.com/beagleboard/linux/blob/3.8/drivers/spi/spi-omap2-mcspi.c#L1034
Maybe some day I'll look at debugging that driver, but for now I don't think it's too big of a deal to just avoid those broken word sizes - in my experience devices that use weird word sizes are usually compatible with the next biggest power of two anyways.
On the BeagleBone Black, setting an SPI bus to 11 bits/word then trying to read from it causes kernel panic. Writing works.
This has something to do with the value because setting it to 16 bits/word works fine for read and write. Perhaps it's odd number values?
The text was updated successfully, but these errors were encountered: