question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GPIO errors wen using lib on a Jetson TX2 ARMv8 (ubuntu 16.04, SPI mode) - SUCCESS !!!

See original GitHub issue

Type of board = Jetson TX2 (aarch64, ARMv8) ubuntu 16.04 objective : control ssd1351 128x128 RGB oled

Hello all, I’m a real newbie in spi/gpio protocole, but I’d like to make your lib work on my board. the oled is wired correctly on my board : (spidev3.0)

tried this :

from luma.core.interface.serial import spi
from luma.oled.device import ssd1351
serial = spi(device=0, port=3)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py", line 253, in __init__
    bitbang.__init__(self, gpio, transfer_size, DC=gpio_DC, RST=gpio_RST)
  File "/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py", line 148, in __init__
    self._gpio = gpio or self.__rpi_gpio__()
  File "/usr/local/lib/python2.7/dist-packages/luma/core/lib.py", line 30, in __rpi_gpio__
    'GPIO access not available')
luma.core.error.UnsupportedPlatform: GPIO access not available

Sure it’s not a raspberry pi3, but perhaps there are just a few things to do to make it work ?! My project is a mobile social robot (https://plus.google.com/+vincentfoucault12) Using your libs, to animate it eyes. Please help ! Thanks a lot, Vincent

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:27 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sgjavacommented, Dec 30, 2017

I posted over at OPi.GPIO project my suggestion to add Duo mappings. Going forward others can add more SBC mappings.

0reactions
elpimouscommented, Jan 4, 2018

Yes, exactly. Thanks again for your time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spi config - Jetson TX2 - NVIDIA Developer Forums
2 Problem: the project need spi (H15 G16 G15) config. we find that thay are setted as gpio, how to change them? root@ubuntu-desktop:/home/ ......
Read more >
SPI on Jetson - Using Jetson-IO - JetsonHacks
Many of the pins can be used either as General Purpose I/O (GPIO) or Special Function I/O (SFIO). SFIO are functions such as...
Read more >
NVIDIA Jetson Development Kit - JetsonHacks
The installation above shows a Jetson TX2 running L4T 27.1 which was installed using JetPack 3.0. The scripts install Intel RealSense ROS package...
Read more >
Jetson TX2/TX2i System-on-Module Data Sheet - Verical
This coversheet was created by Verical, a division of Arrow Electronics, Inc. (“Verical”). The attached document was created by the part supplier,.
Read more >
Raspberry Pi Alternatives: 14 Best Single Board Computers in ...
High-speed expansion interface and rich I/O for more expandability; Cryptographic co-processor with secure hardware-based key storage; Built-in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found