Skip to content

'_SPI_OPCODE_RDID' is not defined (Jetson Nano) #12

Closed
@ADV-LUT

Description

@ADV-LUT

I'm trying to run the SPI fram breakout board with the Jetson nano and always get the following error message when I'm running the example.

Traceback (most recent call last):
File "fram_spi_simpletest.py", line 11, in <module>
fram = adafruit_fram.FRAM_SPI(spi, cs)
File "/home/adves/.local/lib/python3.6/site-packages/adafruit_fram.py", line 301, in __init__
spi.write(bytearray([_SPI_OPCODE_RDID]))
NameError: name '_SPI_OPCODE_RDID' is not defined
Exiting...
Cleaning up pins

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions