How to write to the RTC slow memory using ULP ?
Posted: Thu Nov 22, 2018 10:36 am
So I am trying to write an assembly code in which I want to store a 16 bits and 8 bits and 1 bit data to be available after wakeup. But due to some basic misunderstanding I am not able to comprehend how to do that. There are WRITE_RTC_FIELD nad WRITE_RTC_REG which need an rtc_reg to be specified. But all registers have some purpose and I am not able to find a register which i am sure of have been unused.
Also as I saw the RTC register addresses defined in the soc.h, rtc_io_reg.h and rtc_i2c_reg.h. lying in the peripheral memory.
Kindly guide me as to can I define registers like in above files, to store the data. If yes then how?
Also if there is something very basic I am missing out kindly tell me.
how to store data to be accessed by ULP on wakeup.
Also as I saw the RTC register addresses defined in the soc.h, rtc_io_reg.h and rtc_i2c_reg.h. lying in the peripheral memory.
Kindly guide me as to can I define registers like in above files, to store the data. If yes then how?
Also if there is something very basic I am missing out kindly tell me.
how to store data to be accessed by ULP on wakeup.