Free Ground Shipping on all orders over $100 (US Only)
login   |   Register

Welcome Forums Tarts for Raspberry Pi Tarts Gateway with Raspberry PI 3 / Jessie

This topic contains 2 replies, has 2 voices, and was last updated by Andrea Donzelli Andrea 1 year, 5 months ago.

  • Author
    Posts
  • #3918
    osterhus
    osterhus
    Participant

    I had problems similar to what others have reported with the gateway attached to a PI3.

    To make this work, there are a few config changes needed on the PI3. You can find a pretty nice write up here

    http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/

    After this, you will need to change the TartsLib source code for TartsPlatform.cpp … change the reference “AMA0” to “S0” and recompile everything.

    Please read the reference above carefully, as your situation may differ from mine. I ended up with 4 changes: enable uart; add the miniuart-bt overlay; remove the console=serial0 reference; disable the getty.

  • #3919
    osterhus
    osterhus
    Participant

    Ooops. forgot to mention there are unpleasant side-effects from the above config:
    … my bluetooth stopped working (I was using it for a keyboard)
    … I am pretty sure this gives you a constant clock speed

    For me, these are show-stoppers as a key benefit of a PI3 is the bluetooth and I certainly want variable clocking …

    so while this does work for me, I’ll probably go back to using a Pi2 … I feel this is a Raspberry issue, not a Tarts issue.

  • #5717
    Andrea Donzelli
    Andrea
    Participant

    Then, with some trick on serial port I finally ends with a working gateway!
    I change the library for use ttys0 instead of change the name, I have to use the program only on this board.
    In fact I didn’t use bluetooth in my project then I’m ok, about cpu I have all the cpu used by gateway program, with low priority but always in use.

    The only issue is that I can’t really change the intervel of communication, maybe I have to create a dedicate application for testing

You must be logged in to reply to this topic.

Support
Contact Us!

Your Name (required)

Your Email (required)

Subject

Your Message

Enter this code below: To use CAPTCHA, you need Really Simple CAPTCHA plugin installed.