Jetbot and Adafruit Motor Shield v2: No I2C device at address: 0x60

Hi,
Jetson 2G is connected to Adafruit Motor Shield V2. All looks fine:
sudo i2cdetect -r -y 0
gives: 0x60 and 0x70 (I do not know why 0x70, there is only one Shield v2?!)
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: 60 – – – – – – – – – – – – – – –
70: 70 – – – – – – –
but if executing simple motor example:

import time
from adafruit_motorkit import MotorKit

print (“test”)
kit = MotorKit()

for i in range(100):
kit.stepper2.onestep()

There are more errors but the last one is:
ValueError: No I2C device at address: 0x60

Can you please help?

Could you check the code to access which slave address cause the error and try i2cget to check if can read it successfully.

thanks: the response is comming from both addresses (0x60 and 0x70) on the Bus 0:
$ sudo i2cget -y 0 0X60
0x11
$ sudo i2cget -y 0 0X70
0x11
What is the answer 0x11? Does it mean the connection is ok, but maybe my step-motor is not connected correctlly? Or MotorKit command does not work for my motor? Maybe to try a DC motor for test?

$ sudo i2cget -y 0 0X60
response is: 0x11

$sudo i2cget -y 0 0X70
response is:0x11

I got no idea about this device. You may need to check the datasheet and trace into the code to check what happen.

Finally, the functional Motor Shield V2 Adafruit connection to Jetson Nano (I2C, 3.3V, GND) and external power supply for motors:
(the loggic is supplied from Jetson and motors from external power supply, they have the common GND already built on Motorshield)
Jetson pin1 (3.3V)
Jetson pin6 (GND)
Jetson pin3 (SDA)
Jetson pin 5 (SCL)
To change for to 3.3V logic level on Motorshield: find the set of 3 pads labeled “Logic”. Cut the small trace between the center pad and 5v and add a jumper from 3.3v to the center.
External power supply with AA batteries connected for supplying motors to the Motorshield’s Power ±

Used Python code for running M1 for 1s:

import time
from adafruit_motorkit import MotorKit
import board
import busio

i2c = busio.I2C(board.SCL, board.SDA)
kit = MotorKit(address=0x60, i2c=board.I2C())

print(“I2C 1 ok!”)

kit.motor1.throttle = 1.0
time.sleep(0.5)
kit.motor1.throttle = 0

print (“test finished”)

Motor1 is running!

Bus 0 (pins 27/28) is also working fine.
Python code for Bus 0:

import time
from adafruit_motorkit import MotorKit
import board
import busio

i2c_bus0=busio.I2C(board.SCL_1, board.SDA_1)
kit = MotorKit(i2c=i2c_bus0)

kit.motor1.throttle = 1.0
time.sleep(0.5)
kit.motor1.throttle = 0

print (“test finished”)