Wilko Nienhaus
Wilko Nienhaus
As far as I can see there is no way to call that `rtc_clk_cal` function from MicroPython. Since our project is "only" an assembler for ULP assembly code, support for...
@Jason2866 > Are you planning to release the new espressif ulp32 version which supports all MCU ulp soon for micropython? Currently there are no plans to support additional ESP32 variants...
Actually `esp32s2` is the correct value even for the ESP32-S3, because it specifies the instruction set of the ULP, not the overall device. The ESP32-S2 and ESP32-S3 have an identical...
I can confirm this unexpected behaviour also on an ESP32-S2. Writing to `SENS_SAR_PERI_CLK_GATE_CONF_REG` from the ULP-FSM has no effect. I wonder if this is expected behaviour on the S2/S3, but...
Actually correction: On the ESP32S2, the register is called `SENS_SAR_IO_MUX_CONF_REG` - and that's the one I cannot write to from the ULP. But looking at [this example in the ESP-IDF](https://github.com/espressif/esp-idf/blob/af805df3cb6117cc74f0875831fbab6446824453/examples/system/ulp_fsm/ulp/main/ulp/pulse_cnt.S#L80)...
@sam0910 Did you ever get I2C to work from the ULP?
There is now a disassembler in this project (see `docs/disassembler.rst`)! Perhaps you can use that to disassemble the ulp binary, which https://github.com/tomtor/ulp-i2c (bit banged I2C) builds, to see how it's...
@sam0910 I see you closed this issues. Does that mean that you managed to get a bit-banged implementation (or something else) to work? Did the disassembler help you? It would...
See #1711. Solution by @alex8224 worked for me.
One small extra detail - about where the decision is made for what `addr` should be. If you look at the content of the .o object file (output of `as`),...