Skip to content

Support for Raspberry Pi 3 #25

Open

Description

@winternet-studio

For my Raspberry Pi 3 it doesn't detect the right version number in Pi->getVersion(). It returns 0 instead of 4. Therefore I can't use certain pins without it complaining. I would have made a pull request if I could but I don't know how to convert the revision numbers (http://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/)

Activity

  1. changed the title [-]Support for Raspberry Pi 3 Model B[/-] [+]Support for Raspberry Pi 3[/+] on Dec 6, 2016
  2. calcinai commented on Dec 6, 2016

    @calcinai

    Hey, I've just tested a couple of things on my Pi and seems to be ok. Can you attach the contents of your /proc/cpuinfo?

  3. winternet-studio commented on Dec 6, 2016

    @winternet-studio
    Author

    Of course...

    processor       : 0
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    processor       : 1
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    processor       : 2
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    processor       : 3
    model name      : ARMv7 Processor rev 4 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xd03
    CPU revision    : 4
    
    Hardware        : BCM2709
    Revision        : a22082
    Serial          : 0000000028d29c51
    
  4. winternet-studio commented on Dec 6, 2016

    @winternet-studio
    Author

    The Pi 3 by the way also has quite an extra number of GPIO pins: 5, 6, 12, 13, 16, 19, 20, 21, 26 (source: http://raspi.tv/wp-content/uploads/2014/07/Raspberry-Pi-GPIO-pinouts-1024x703.png - even though it says B+ it is the same for version B2 and B3)

  5. calcinai commented on Dec 6, 2016

    @calcinai

    Bad news for you is, I've tested with that cpu info file and I get 10625154 from ->getVersion(). Meaningless, but it should be working for you.

    I'm not the maintainer of this library - I was just going to make the PR for you.

    If you get desperate, you could try this library in the meantime.

  6. ronanguilloux commented on Apr 26, 2017

    @ronanguilloux
    Owner

    Sorry, not time left nor budget to try this so far,
    Please feel free to share a PR here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions