element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi 3 und EnOcean Pi - Kompatibilitätsproblem
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 49 replies
  • Answers 10 answers
  • Subscribers 668 subscribers
  • Views 5263 views
  • Users 0 members are here
  • raspberry-pi3
  • raspberry_pi_space
  • enoceanpi
Related

Raspberry Pi 3 und EnOcean Pi - Kompatibilitätsproblem

robertheinze
robertheinze over 9 years ago

Als diese Woche der neue RPi3 rauskam, waren wir voller Ehrgeiz, künftig in unseren Systemen zu switchen.

Immerhin würde der RPi3 es ermöglichen auf einen USB Bluetooth Dongle zu verzichten und eine WiFi-Connectivity macht die Verbindung zu unseren Servern noch einfacher .

 

leider weit gefeht, denn das ganze funkt nur unter Verwendung der SDIOs und UART (durch Aktivierung der Devce Tree-Funktionwn, was dann jedoch den EnOceanPi, der ebenfalls /dev/ttyAMA0 (UART) verwendet, außer Betrieb setzt. Sprich, wir haben es noch nicht geschafft, EnOceanPi, WiFi und Bluetooth am RPi3 zum Laufen zu bringen.

 

Hat wer, der mehr Erfahrung mit HW-orientierter Programmierung hat eine Idee?

  • Sign in to reply
  • Cancel
  • cstanton
    0 cstanton over 9 years ago

    So you're saying that the WiFi/Bluetooth on the Pi3 uses the same ttyAMA0 UART as the Enocean Pi?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robertheinze
    0 robertheinze over 9 years ago in reply to cstanton

    Yes, thats exactly the situation

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • cstanton
    0 cstanton over 9 years ago in reply to robertheinze

    It appears the problem is that the baud rate of the UART is tied to the core clock speed:

     

    Es scheint, das Problem ist, dass die Baudrate des UART mit dem Kerntaktfrequenz gebunden ist:

     

    https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=138162

     

    Also here in discussion:

     

    Raspberry Pi 3 Model B GPIO 40 Pin Block Pinout

     

    Also raised on github:

     

    https://github.com/RPi-Distro/repo/issues/22

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robertheinze
    0 robertheinze over 9 years ago in reply to cstanton

    But when I disable the device tree, the EnOceanPi works perfectly. But WiFi and BT don't

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • cstanton
    0 cstanton over 9 years ago in reply to robertheinze

    Because when you're disabling the device tree you're disabling all of the configuration settings that make the Pi 3 work  with the GPIO mappings to be setup as they should be.

     

    As usual make sure your Raspbian is up to date with apt-get and firmware with rpi-update.

     

    Not using the device tree will change more settings than just that of the UART mapping.

     

    So it looks like this may be fixed in the next firmware update for the pi.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • robertheinze
    0 robertheinze over 9 years ago in reply to cstanton

    I will give it a try tomorrow , keep you updated ...

    thanks!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago in reply to robertheinze

    Solution maybe this

    It is related. ttyAMA0 on a Pi3 is configured to communicate with the Bluetooth modem. 

     

    Disable just blue-tooth in DT fixes this and allows your situation.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robertheinze
    0 robertheinze over 9 years ago

    Unfortunately no actions helped. And by the way, I would need bluetooth for scanning beacons image

    What have I tried so far?

    Disable Bluetooth doesn't help. Even masking the hciuart service doesn't help to make EnOceanPI addressable.

    systemctl cat hciuart.service

    # /dev/null

     

    Putting both WiFi and BT on the blacklist ...

    /etc/modprobe.d/raspi-blacklist.conf

    #wifi

    blacklist brcmfmac

    blacklist brcmutil

     

    #bt

    blacklist btbcm

    blacklist hci_uart

     

    Changing the frequency-settings

    /boot/cmdline.txt

    add gpu_freq=300 core_freq=250

     

    cat /proc/cmdline

    8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa02082 bcm2709.serial=0x362dff12 smsc95xx.macaddr=B8:27:EB:2D:FF:12 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=tty root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait gpu_freq=300 core_freq=250

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago in reply to robertheinze

    Can you not use wireless on chip and use external USB one? This problem is fresh and may take time to fix. BTW, what does the  EnOcean Pi module do?

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robertheinze
    0 robertheinze over 9 years ago in reply to clem57

    Actually we are aiming to get rid of external BT-token because of cost reasons (bigger project with hundreds of RPi's). Because of roll out reasons, we were aiming to go for the RPi3 asap ...

     

    The EnOceanPi is a RF-modul communicating with EnOcean sensors, actors etc. EnOcean is an energy harvesting based RF-technology talking to home automation devices ....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
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