Search found 1174 matches

by chegewara
Tue Nov 21, 2017 7:32 pm
Forum: ESP32 IDF
Topic: how can use i2c for external sensor
Replies: 3
Views: 1935

Re: how can use i2c for external sensor

On this diagram you are asking about Single byte read/ master. As you can see, before you can read from device you HAVE to send start + slave device address with write byte + register address you want to read. Since you want to read from device you need to send another start + slave address with byt...
by chegewara
Tue Nov 21, 2017 3:56 am
Forum: ESP32 IDF
Topic: OTA clarification
Replies: 32
Views: 17390

Re: OTA clarification

Its nice solution and i would use it, but what if i dont want to alter bootloader? Ive been thinking today a while. First solution i have found and make it working was to install OTA app on factory partition, add snippet to main app which will erase otadata partition with spi_flash_erase_range() if ...
by chegewara
Tue Nov 21, 2017 12:36 am
Forum: ESP32 Arduino
Topic: Undefined Reference to "uxTaskGetSystemState" Upon Any Attempt to Use.
Replies: 10
Views: 5059

Re: Undefined Reference to "uxTaskGetSystemState" Upon Any Attempt to Use.

Im not sure but maybe try to change this option in sdkconfig.h
It is in sdk/include/config folder

Or change this file and set default value to y
https://github.com/espressif/esp-idf/bl ... onfig#L288
by chegewara
Mon Nov 20, 2017 10:58 pm
Forum: ESP32 Arduino
Topic: Undefined Reference to "uxTaskGetSystemState" Upon Any Attempt to Use.
Replies: 10
Views: 5059

Re: Undefined Reference to "uxTaskGetSystemState" Upon Any Attempt to Use.

This function requires configUSE_TRACE_FACILITY=1. You have to check this option in menuconfig:

Code: Select all

menuconfig->Component config->FreeRTOS->Enable FreeRTOS trace facility
by chegewara
Sun Nov 19, 2017 6:52 pm
Forum: General Discussion
Topic: Many Problems : ESP32 communicate to RC522 with SPI
Replies: 2
Views: 1723

Re: Many Problems : ESP32 communicate to RC522 with SPI

I think this is the problem: return *(uint8_t*) t.rx_data; You need to set rx buffer and ther return that buffer address: uint8_t data; t.rx = &data; return data; // or return &data; // watever suits you Or issue may be here: void RC522_cmd(spi_device_handle_t spi, uint8_t cmd) { esp_err_t ret; spi_...
by chegewara
Sun Nov 19, 2017 6:34 pm
Forum: General Discussion
Topic: Project organization in eclipse and github
Replies: 2
Views: 1723

Re: Project organization in eclipse and github

1) I dont know if it is possible to organize project the way you pictured, but you can have many workspaces. You can create workspace BASE and in it you can create every single project which you need 2) Very easy. It does not matter where do you have your project in file system. For example, you can...
by chegewara
Fri Nov 17, 2017 4:07 pm
Forum: ESP32 Arduino
Topic: ESP32 boot time with Arduino
Replies: 5
Views: 4811

Re: ESP32 boot time with Arduino

This is not exactly answer on you question, but i think you may be interested. ESP32 has deep sleep mode and can be wake up by signal on gpio and ready to work faster than you need. http://esp-idf.readthedocs.io/en/v2.1/api-reference/system/deep_sleep.html?highlight=deep%20sleep http://esp-idf.readt...
by chegewara
Thu Nov 16, 2017 11:01 pm
Forum: Hardware
Topic: bootloader doesnt respond (manually bootloading)
Replies: 3
Views: 2201

Re: bootloader doesnt respond (manually bootloading)

Im having similar symptoms from time to time. Im playing with esp on vbox ubuntu 14, and only unplug device and plug again helps. Sometimes this does not help then i have to turn on manually bootloader mode under windows and then switch to ubuntu and flash app. In my case it is with devKitC rev1 i g...
by chegewara
Sun Nov 12, 2017 9:37 pm
Forum: General Discussion
Topic: "Big" Example Repo
Replies: 1
Views: 1155

Re: "Big" Example Repo

Maybe it not covers all topics you want but its more just than simple example:
https://github.com/nkolban/ESP32_Explorer
by chegewara
Thu Nov 09, 2017 11:09 am
Forum: General Discussion
Topic: project build with focus on bluetooth
Replies: 1
Views: 1072

Re: project build with focus on bluetooth

I think it may be good start for you https://leanpub.com/kolban-ESP32

Go to advanced search