One follow up question:
1. how to wake-up main MCU from ULP?
I see there is a I_END(wakeup) instruction in ULP document, but will that terminate the ULP program execution? In my case, I want to let ULP program keep running, and only signal main MCU when certain condition is met, is that possible?
Search found 31 matches
- Fri Feb 03, 2017 5:22 am
- Forum: General Discussion
- Topic: ULP execution flow
- Replies: 16
- Views: 23072
- Mon Jan 30, 2017 2:42 pm
- Forum: General Discussion
- Topic: ULP execution flow
- Replies: 16
- Views: 23072
Re: ULP execution flow
Any update on this topic? @ESP_igrr
- Wed Jan 25, 2017 3:52 am
- Forum: General Discussion
- Topic: ULP for SPI sensors
- Replies: 22
- Views: 32371
Re: ULP for SPI sensors
Thanks ESP_igrr, I took a look at the link above, which is still beyond me - I don't know how this can help me on ulp programming, and how to do cross reference between ulp code and main CPU code, and how to stitch the binary code together. Maybe I have to wait until your officially integration/exam...
- Wed Jan 25, 2017 3:15 am
- Forum: General Discussion
- Topic: ULP execution flow
- Replies: 16
- Views: 23072
Re: ULP execution flow
Thanks ESP_igrr for explaining the concept of ULP timer and sleep instruction, which is really great design and help clearify a lot of puzzles. Is there any official(non-official is also OK) documents describing the register details? With a simple example can be event better. In terms of the accurac...
- Wed Jan 25, 2017 1:45 am
- Forum: General Discussion
- Topic: ULP execution flow
- Replies: 16
- Views: 23072
Re: ULP execution flow
esp_deep_sleep_enable_timer_wakeup will cause the main CPU to wake up after given amount of time. This doesn't affect ULP behaviour. Yes. that's also my understanding. But the problem I cannot explain is that: every time when main MCU is wake up(the period I set here is ~1.5 sec), it should execute...
- Wed Jan 25, 2017 1:40 am
- Forum: General Discussion
- Topic: ULP execution flow
- Replies: 16
- Views: 23072
Re: ULP execution flow
I think what you want to do is loop and sleep within the ulp program itself and then have the ulp trigger the wakeup if your condition is met. Yes, that's right. Following question is: 1. How to sleep within a ulp program? 2. How to wake up a ulp program when it's in sleep mode? By specify a certai...
- Tue Jan 24, 2017 10:50 am
- Forum: General Discussion
- Topic: ULP execution flow
- Replies: 16
- Views: 23072
ULP execution flow
Hi, I'm working on a project to collect sensor data from SPI through ULP. My intension is to implement bit-bang logic according to the interface requirement. The way I'm thinking about is like below: 1. create a ulp_main, wrap the code calling ULP instructions, and enter deep_sleep after that. 2. ma...
- Mon Jan 16, 2017 1:12 pm
- Forum: General Discussion
- Topic: ULP for SPI sensors
- Replies: 22
- Views: 32371
Re: ULP for SPI sensors
Thanks @ESP_igrr for your update! Please share the binutils tool across, so I can start play with it - I need to build some custom SPI logic with it.
BTW, when do you expect to release the build flow update mentioned here? Thanks
BTW, when do you expect to release the build flow update mentioned here? Thanks
- Mon Jan 16, 2017 6:59 am
- Forum: General Discussion
- Topic: ULP for SPI sensors
- Replies: 22
- Views: 32371
Re: ULP for SPI sensors
How is the progress of binutils for ULP? Can I expect it soon?
ESP_igrr wrote:By the way, we have binutils for the ULP in pipeline. Release expected at some point in January.
- Thu Jan 05, 2017 5:47 am
- Forum: General Discussion
- Topic: esp32 jtag debug issue
- Replies: 11
- Views: 15897
Re: esp32 jtag debug issue
Can someone from ESP comment on this?