Search found 5 matches

by sslama
Mon Apr 15, 2019 12:27 pm
Forum: ESP-IDF
Topic: ULP - Error: relocation out of range
Replies: 3
Views: 5598

Re: ULP - Error: relocation out of range

I was not able to solve this issue, so if someone stumbles over this problem - i bypassed it by defining a label at another point in the code (that is not reachable in another way). Jumping there - executing the code snippet I wanted to run and Jumping back to where I came from... So I am still look...
by sslama
Fri Apr 12, 2019 2:18 pm
Forum: ESP-IDF
Topic: ULP - Error: relocation out of range
Replies: 3
Views: 5598

ULP - Error: relocation out of range

Hello, I am writing some assembly code for the Ultra Low Processor. Suddenly at one specific point in the code if I try to load the content of a global variable into a register I get this weird error: adc.ulp.pS: Assembler messages: adc.ulp.pS:241: Error: relocation out of range make[1]: *** [adc.ul...
by sslama
Thu Feb 08, 2018 6:20 pm
Forum: General Discussion
Topic: Reading Hall Sensor Values from ULP
Replies: 2
Views: 4651

Re: Reading Hall Sensor Values from ULP

So I understand, that the function hall_sensor_read(); does a lot more than I tried to do in the code I posted. The thing is - when I call the hall_sensor_read() function from the ULP context it returns the same value as the one I get calling the functions from my seconds code snippet. What do you m...
by sslama
Thu Feb 08, 2018 1:48 pm
Forum: General Discussion
Topic: Reading Hall Sensor Values from ULP
Replies: 2
Views: 4651

Reading Hall Sensor Values from ULP

Hi, I'm trying to get the current measurments from the hall sensor in ULP Mode. When I'm reading them from a context outside the deep sleep mode like this: adc1_config_width(ADC_WIDTH_12Bit); hall_sensor_read(); I get values that change when a magnet is getting closer. When I try to read those value...
by sslama
Tue Feb 06, 2018 11:09 am
Forum: General Discussion
Topic: Wake Up - ADC - Hall Sensor
Replies: 7
Views: 12730

Wake Up - ADC - Hall Sensor

Hi, for a prototyping project I'm looking for a developer that can help us. It is an university project, improving the hygiene in the health care sector. I need the ESP32 to wake up from the deep sleep mode if the hall sensor detects a measurement over a certain threshold. My understanding ist, that...