Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8659331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:59:22+00:00 2026-06-12T15:59:22+00:00

I am trying to get the spi interface working on a BeagleBoard Xm. I

  • 0

I am trying to get the spi interface working on a BeagleBoard Xm. I have reconfigured the kernel (2.6.32) to allow access to spidev drivers in userspace (spidev3.0 and 3.1 show up under /dev) and I have compiled the spidev_test.c program given under Documentation/spi. When I run the program I get the following output:

# ./spi_test -D /dev/spidev3.0 spi mode: 3 bits per word: 8 max speed: 5[ 186.539611] spidev spi3.0: DMA RX last word empty00000 Hz (500 KHz)

 00 00 00 00 00 00  00 00 00 00 00 00  00 00 00 00 00 00  00 00 00 00
 00 00  00 00 00 00 00 00  00 00 00 00 00 00  00 0D

I am transmitting the following and would expect to see that back on the receive buffer:
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0x40, 0x00, 0x00, 0x00, 0x00, 0x95,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xDE, 0xAD, 0xBE, 0xEF, 0xBA, 0xAD,
0xF0, 0x0D

I have a jumper between SIMO and SOMI on the board and am not seeing any activity on any of the pins when probing the CLK or CS0 pins with an o-scope. This leads me to believe that I do not have something configured properly in either the kernel or u-boot. The DMA error might also be a clue to a configuration problem.

Has anyone run into this problem? Or have any insight on what problem I may be running into?

My next possible solutions are to use an updated kernel and dig into u-boot to see if u-boot is overriding my pin muxing.

Thanks in advance for your replies.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T15:59:23+00:00Added an answer on June 12, 2026 at 3:59 pm

    I was able to figure out my problem. I was enabling spidev and the pin muxing in the kernel but had not updated u-boot. Finally, after upgrading to 2.6.39-rc7 kernel and making the correct adjustments to the beagle.h file in u-boot, my loopback test seems to be working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have been trying to get integration testing working with my seam project and the
I'm trying to get jquery intellisense working per the instructions here: http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx#7117822 I'm not
I am trying to compile one of the projects found here USB-I2C/SPI/GPIO Interface Adapter.
I am trying get this ListView working and i'm trying to sort the list
I am trying get a div that I have hidden to show in the
I am trying get my first simple project in rails to run. I have
So i am trying get 2 div-containers which both should contain centered text (Both
I'm trying get the visible portion of UIImage from an UIImageView . UIImageView takes
I am trying get all html links within a string and replace them using
I am trying get all html links within a string and replace them using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.