element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum Pinmux - enabling SPI
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 26 replies
  • Subscribers 58 subscribers
  • Views 6224 views
  • Users 0 members are here
  • beagle
  • bbb
  • BeagleBone
  • bb_black
  • beagle_bone_black
Related

Pinmux - enabling SPI

Former Member
Former Member over 12 years ago

As the Black has a new 3.8.x generation kernel, omap_mux has gone and we're in the realms of using pinctrl for setting up the pins on the expansion headers.

 

Looking through the bonescript library it appears to try omap_mux and if that fails it just reverts to treating the pin as a gpio. That's all very well until you want to enable a PWM, UART, SPI etc.

 

So does anyone know what magic is needed on the black ?   I'm suffering here from plenty of information on enabling SPI on the original beaglebone with a 3.2.x kernel, but basically zero info on the current state for the Black.

 

/proc/config.gz says CONFIG_SPI_OMAP24XX=y and I've loaded spi-dev, still no /dev entries for spi and the pinmux settings look wrong.  I'm missing something or doing something wrong I'm sure, but right now it seems as if going through /dev/mem, behind pinctrl's back, might be the only way ?

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 12 years ago +1
    I have been playing with dtbo to enable spi0 on the BeagleBone Black. You can read about it on inbedded.net . Hope that will help, Christophe
  • morgaine
    morgaine over 12 years ago in reply to Former Member +1
    Hi Christophe, and welcome to Element 14's BBB community! That's a nice set of BBB articles at your site. My discarded Nokia Communicator 9210 has been looking at me with some anxiety since I began reading…
Parents
  • Former Member
    Former Member over 12 years ago

    I have been playing with dtbo to enable spi0 on the BeagleBone Black. You can read about it on inbedded.net. Hope that will help,

     

    Christophe

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    Hi Christophe, and welcome to Element 14's BBB community!

     

    That's a  nice set of BBB articles at your site.  My discarded Nokia Communicator 9210 has been looking at me with some anxiety since I began reading your experiences interfacing the Nokia 3330's LCD. image  The  9210 is a completely different beast of course, but I'll take a look on the net for info on its nice colour LCD, as it might well have an SPI or I2C interface like yours.

     

    It's great to have more examples to help demystify Device Tree Overlays.  What's next on your BBB project plan?

     

    Morgaine.

     

    Addendum.  Scratch that for an idea, the 9210 schematics show that the display has a parallel interface driven by a bespoke chip.  Oh well, I'll find some other display to recycle, there's no shortage of old gear here.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    Hi Christophe, and welcome to Element 14's BBB community!

     

    That's a  nice set of BBB articles at your site.  My discarded Nokia Communicator 9210 has been looking at me with some anxiety since I began reading your experiences interfacing the Nokia 3330's LCD. image  The  9210 is a completely different beast of course, but I'll take a look on the net for info on its nice colour LCD, as it might well have an SPI or I2C interface like yours.

     

    It's great to have more examples to help demystify Device Tree Overlays.  What's next on your BBB project plan?

     

    Morgaine.

     

    Addendum.  Scratch that for an idea, the 9210 schematics show that the display has a parallel interface driven by a bespoke chip.  Oh well, I'll find some other display to recycle, there's no shortage of old gear here.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube