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
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum Enabling DCAN0 (Disabling I2C2)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 102 subscribers
  • Views 1833 views
  • Users 0 members are here
  • beagleboneback
  • dcan0
  • bbb
Related

Enabling DCAN0 (Disabling I2C2)

robert1
robert1 over 5 years ago

I'm trying to get DCAN0 to work on the Beaglebone Black (the element14 industrial version). Not surprisingly configure-pin doesn't work out of the box since I2C2 is used for Capes.

 

root@beaglebone:~# config-pin p9.19 can Pin is not modifyable: P9_19 i2c2_scl

 

I've no use for the capes (only our custom board). Web searches indicate that it should be possible to disable i2c2 and allow DCAN0 to be enabled. I've not figure out what needs to be done though.

 

On board version:

root@beaglebone:~# uname -a

Linux beaglebone 4.1.15-ti-rt-r43 #1 SMP PREEMPT RT Thu Jan 21 20:13:58 UTC 2016 armv7l GNU/Linux

 

My latest attempt was to follow these instructions to little avail https://www.bacpeters.com/2020/01/25/configuring-the-beaglebone-black-gpio-pins-permanently/

I've also tried disabling the I2C2 following the instructions here http://www.embedded-things.com/bbb/enable-canbus-on-the-beaglebone-black/

And by simply commenting out the I2C2 section in am335x-boneblack or marking it as disabled rather than okay.

 

All attempts appear to be ignored though as config-pin always returns the same error message.

 

Any ideas or pointer to places with working information?

  • Sign in to reply
  • Cancel
Parents
  • aswinvenu
    aswinvenu over 5 years ago

    Hi Robert,

     

      Beaglebone Green comes with the latest debian image and most of the method documented online wont work there.

    Please follow this instructions: https://ralimtek.com/can_bbg/

     

    Let me know if this worked.

     

    Regards,

    Aswin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • robert1
    robert1 over 5 years ago in reply to aswinvenu

    Thanks, I'm working through it to see if I can follow it to enable DCAN0. Two immediate notes:

    1. It's about enabling DCAN1 (I've had no problem with enabling DCAN1, config-pin worked well for that). DCAN0 is the problem since it shares pins with I2C2 (which I don't need but which is automatically enabled)
    2. It's for the green, not the black. Hopefully they've no difference in this area.

     

    Robert

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • robert1
    robert1 over 5 years ago in reply to aswinvenu

    Thanks, I'm working through it to see if I can follow it to enable DCAN0. Two immediate notes:

    1. It's about enabling DCAN1 (I've had no problem with enabling DCAN1, config-pin worked well for that). DCAN0 is the problem since it shares pins with I2C2 (which I don't need but which is automatically enabled)
    2. It's for the green, not the black. Hopefully they've no difference in this area.

     

    Robert

    • Cancel
    • Vote Up 0 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