Hi everyone,
I've got a problem with the binutils-esp32ulp and I'm not quite sure if Espressif observes that repository's open issues , so this is sort of a crosspost.
The problem is that JUMPS (and probably other JUMP*) doesn't work inside macros, because the instruction encoding is wrong and even ...
Search found 2 matches
- Tue May 01, 2018 5:07 pm
- Forum: Report Bugs
- Topic: binutils-esp32ulp mangles first and last instruction in macros
- Replies: 0
- Views: 4121
- Wed Feb 07, 2018 6:39 pm
- Forum: Report Bugs
- Topic: RTC_I2C SDA sampling
- Replies: 5
- Views: 12945
RTC_I2C SDA sampling
Hi everyone,
I have a problem regarding the usage of I2C from ULP. I'm trying to read from a Bosch BMI160 using the following code:
init_i2c:
// Use TOUCH3/RTC_GPIO13/GPIO15 as SDA
WRITE_RTC_FIELD(RTC_IO_SAR_I2C_IO_REG, RTC_IO_SAR_I2C_SDA_SEL, 1)
// Use TOUCH2/RTC_GPIO12/GPIO2 as SCL
WRITE ...
I have a problem regarding the usage of I2C from ULP. I'm trying to read from a Bosch BMI160 using the following code:
init_i2c:
// Use TOUCH3/RTC_GPIO13/GPIO15 as SDA
WRITE_RTC_FIELD(RTC_IO_SAR_I2C_IO_REG, RTC_IO_SAR_I2C_SDA_SEL, 1)
// Use TOUCH2/RTC_GPIO12/GPIO2 as SCL
WRITE ...