Search found 114 matches

by newsettler_AI
Mon Feb 04, 2019 1:27 pm
Forum: General Discussion
Topic: Power Management settings cause spi delays
Replies: 4
Views: 1459

Re: Power Management settings cause spi delays

Change made in sdkconfig are below. Application code remais unchanged.

Power management:
pm_conf.jpg
pm_conf.jpg (53.44 KiB) Viewed 1282 times
FreeRTOS:
freertos_conf.jpg
freertos_conf.jpg (63.74 KiB) Viewed 1282 times
Paremeter Minimum number of ticks to enter sleep mode was set to 3 by default
by newsettler_AI
Sat Feb 02, 2019 3:35 pm
Forum: General Discussion
Topic: Power Management settings cause spi delays
Replies: 4
Views: 1459

Re: Power Management settings cause spi delays

Any ideas where I should to dig?
by newsettler_AI
Thu Jan 31, 2019 7:21 pm
Forum: General Discussion
Topic: Power Management settings cause spi delays
Replies: 4
Views: 1459

Power Management settings cause spi delays

Hi, I' using ESP32 as spi master for driving LCD over spi, clock freq configured as 60MHz. Graphic library uses custom tick handler esp_register_freertos_tick_hook() . I'm loading picture from spiffs image and draw it on LCD. After I enabled Component config -> Power Management -> Support for power ...
by newsettler_AI
Tue Dec 25, 2018 12:47 pm
Forum: General Discussion
Topic: Using spiffs and FreeRTOS tick hook causes crash
Replies: 2
Views: 1613

Re: Using spiffs and FreeRTOS tick hook causes crash

ESP_igrr, thanks a lot !

I tried apply IRAM_ATTR only for callback itself, but no success.

Now I added this attibutes to all functions in this callback aswell and it works fine :)
by newsettler_AI
Mon Dec 24, 2018 5:29 pm
Forum: General Discussion
Topic: Using spiffs and FreeRTOS tick hook causes crash
Replies: 2
Views: 1613

Using spiffs and FreeRTOS tick hook causes crash

Hi. In my project I'm using SPIFFS and some FreeRTOS tasks. One of this tasks (its LCD library) uses callback for ticks: https://github.com/espressif/esp-idf/blob/release/v3.1/components/esp32/include/esp_freertos_hooks.h#L90 Problem: each tasks works fine separatly. But when I'm trying use both I g...
by newsettler_AI
Sat Dec 22, 2018 7:00 pm
Forum: General Discussion
Topic: Esp32 , OpenOCD ,JTAG Error
Replies: 8
Views: 3728

Re: Esp32 , OpenOCD ,JTAG Error

I'm facing issue with start debugging under Eclipse... Command: bin/openocd -s share/openocd/scripts -f interface/jlink.cfg -f board/esp-wroom-32.cfg Output: Open On-Chip Debugger 0.10.0-dev (2018-11-05-04:10) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html a...
by newsettler_AI
Fri Dec 21, 2018 3:43 pm
Forum: General Discussion
Topic: CPU cant start (spiffs and adc?)
Replies: 4
Views: 1269

Re: CPU cant start (spiffs and adc?)

Yes, that option increases your main application stack. 8K is lots. Just wondering if that is your problem though. When I have had an overflow error I think that that was because I have exceeded my partition size. Not sure because I just increased everything. Takes so long to build on Windows so ju...
by newsettler_AI
Thu Dec 20, 2018 7:41 pm
Forum: General Discussion
Topic: CPU cant start (spiffs and adc?)
Replies: 4
Views: 1269

Re: CPU cant start (spiffs and adc?)

Issue was with stack memory allocation (other library require in some define 32KB). So sheduler cant start, my two functions causes overflow, so I thought problem is with them. Decreasing library memory to 18KB solves issue. Not sure, but does changing of this in sdkconfig : CONFIG_MAIN_TASK_STACK_S...
by newsettler_AI
Mon Dec 17, 2018 7:13 pm
Forum: General Discussion
Topic: CPU cant start (spiffs and adc?)
Replies: 4
Views: 1269

CPU cant start (spiffs and adc?)

Hi. I use spiffs in my project. I got error when added simple open-read function to app_main. function: void data_load() { FILE *file; file = fopen("/spiffs/data/my_data", "rb"); if(file == NULL) { printf("%s : Cant open file\n", __func__); return; } fread(&data_total.ID, sizeof(data_total.ID), 1, f...
by newsettler_AI
Fri Dec 07, 2018 12:51 pm
Forum: General Discussion
Topic: BLE: how to get mtu size?
Replies: 3
Views: 1467

Re: BLE: how to get mtu size?

Any ideas?

Go to advanced search