OLED 0.96 inch SSD1306 SPI with Nvidia Jetson Nano - Nothing on Display

Hi there,

I’ve wired up a OLED 0.96 inch SSD1306 SPI display into the 40pin header using the below wire map:

I then ran the below code, which runs, but nothing displays on the screen. I double checked the wiring but wasnt sure what to tackle next - any ideas?

Below is the code

import adafruit_ssd1306
import board
import busio
from digitalio import DigitalInOut


spi = busio.SPI(board.SCK, board.MOSI, board.MISO)


reset_pin = DigitalInOut(board.D17) # any pin!
cs_pin = DigitalInOut(board.D18)    # any pin!
dc_pin = DigitalInOut(board.D8)    # any pin!

oled = adafruit_ssd1306.SSD1306_SPI(128, 64, spi, dc_pin, reset_pin, cs_pin)

# Clear display.
oled.fill(1)
oled.show()

Based on the code found here also, it should just work with the Nvidia:

Hi jdaly4,

Are you using Jetson Nano or Orin Nano?
Devkit or custom board?
What’s the Jetpack version in use?

Which SPI interface are you connecting with?
Please share the block diagram of your connection between SSD1306 module and Orin Nano.

Have you verified SPI loopback test before porting your module?

Hi Kevin,

Please see below:

Jetson Orin Nano Devkit
Jetpack 6.1

Using SPI1

Wiring:

Jetson > 0.96inch SSD1306
3.3V > VCC
SPI_SCK > D0 (CLK)
SPI1_MOSI > D1 (SDA)
D17 > Res
D18 > DC
D8 > CS

I have verified SPI loopback test

What is D17, D18, D8 you mentioned here?

If you are using Orin Nano devkit, I suppose you should refer to the following figure instead of the one you shared in original post.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.