I am trying to use the esp32 ULP for I2C communication with mpu6050 using the commands I2C_RD and I2C_WR given in coprocessor instruction set on https://docs.espressif.com/projects/esp ... n_set.html.
I tried searching for ULP example programs using I2C_RD and I2C_WR commannds for I2C communication. But couldnt find any. Has anyone developed programs using the commands. Could you help me with the same.
ULP example programs using I2C_RD and I2C_WR for I2C communcaiton
-
- Posts: 4
- Joined: Thu Nov 22, 2018 10:03 am
Re: ULP example programs using I2C_RD and I2C_WR for I2C communcaiton
https://github.com/espressif/esp-iot-so ... 2c_bitbang
The native i2c instructions can only do single bytes
The native i2c instructions can only do single bytes
-
- Posts: 4
- Joined: Thu Nov 22, 2018 10:03 am
Re: ULP example programs using I2C_RD and I2C_WR for I2C communcaiton
@Wifive - I have recently come across codes which utilise bitbanging, but didnt find any for interfacing mpu6050.
Also I would be grateful if i could find codes which utilise the native commands as I just have to read the interrupt register in mpu6050 to see if the mot_thr interrupt is raised, when the ulp wakes up.
Also I would be grateful if i could find codes which utilise the native commands as I just have to read the interrupt register in mpu6050 to see if the mot_thr interrupt is raised, when the ulp wakes up.
Who is online
Users browsing this forum: No registered users and 107 guests