Search found 8 matches

by barosu
Mon Oct 23, 2017 8:42 pm
Forum: General Discussion
Topic: ULP WakeUP
Replies: 11
Views: 15796

Re: ULP WakeUP

Well for my part I would just really be happy, if someone could update the windows binaries on github. Getting the toolchain to compile is a pain. I guess I will have to switch to a Linux VM soon :roll:
by barosu
Thu Oct 19, 2017 6:52 pm
Forum: General Discussion
Topic: ULP WakeUP
Replies: 11
Views: 15796

Re: ULP WakeUP

Ah Ok there seem to be a new version of the ulp toolchain on github. The windows build is just still not updated so I have to build it my own.
by barosu
Thu Oct 19, 2017 3:00 pm
Forum: General Discussion
Topic: ULP WakeUP
Replies: 11
Views: 15796

Re: ULP WakeUP

Well something seems to be odd about jumping using a register. I played around with it and it just doesn't work. Whatever is happening the program doesn't jump to the right position The sad part about it that this means I also can't use tomtors Stack macros. In general it's impossible to implement a...
by barosu
Thu Oct 19, 2017 12:58 pm
Forum: General Discussion
Topic: ULP WakeUP
Replies: 11
Views: 15796

Re: ULP WakeUP

Well I will test it a little bit more. I am still more confused why the main CPU doesn't wake up when I use the label and not the register.
It's not that important. But I just started a bigger project and I wanted to understand whats actually going on here.
by barosu
Wed Oct 18, 2017 8:59 am
Forum: General Discussion
Topic: ULP WakeUP
Replies: 11
Views: 15796

Re: ULP WakeUP

Yes. Jump and then an immediate value. This should work. Shouldn't it?
by barosu
Tue Oct 17, 2017 10:15 pm
Forum: General Discussion
Topic: ULP WakeUP
Replies: 11
Views: 15796

ULP WakeUP

Playing around with the wake instruction of the ULP I found some strange behaviour. Maybe someone can explain. So I came across this testing the I2C code from tomtor: https://github.com/tomtor/ulp-i2c/blob/master/main/ulp/main.S The critical part is the disabling of the ULP Wakup Timer with: WRITE_R...
by barosu
Wed Oct 11, 2017 3:29 pm
Forum: General Discussion
Topic: ULP-I2C
Replies: 3
Views: 7678

Re: ULP-I2C

Wow thank you very much. I allready had the idea that this must be possible somehow in a way like this. I didn't had time for a detailed look into it, but I'll play around with your code soon. I actually didn't expect a working code example and I really appreciate the extra effort. Well time to work...
by barosu
Fri Oct 06, 2017 6:10 pm
Forum: General Discussion
Topic: ULP-I2C
Replies: 3
Views: 7678

ULP-I2C

Hi! I just started with the esp32. I wanted to use an extern 16-bit ADC with the ESP. And I also intended to read that ADC with the ULP. As the ULP supports I2C I thought it was no problem. Now I studied the Technical Reference Manuell and read about the RTC_I2C Controller. Apparently the I2C interf...