I have an Adafruit Trinket M0 connected to my Orin on bus 1. The cables look fine, are connected and I’m reading serial output via USB to another computer. Here’s my code I run on the trinket. I want to establish contact via I2C and send data from jetson to trinket (which should control a bunch of lights).
import digitalio
import board
import busio
i2c = busio.I2C(scl=board.SCL, sda=board.SDA)
while not i2c.try_lock():
pass
try:
while True:
print("I2C addresses found:" , [hex(d) for d in i2c.scan())])
finally:
i2c.unlock()
I can’t get 1) the jetson to see the trinket via i2cdetect -y -r 1
at all, and 2) the trinket to see the jetson via this script at all. Should I not expect to see it? What else can I try?