Search found 1051 matches

by kolban
Mon Nov 20, 2017 5:23 am
Forum: ESP32 SDK
Topic: The upper 16 bits of the destination of the ULP ST instruction
Replies: 0
Views: 12

The upper 16 bits of the destination of the ULP ST instruction

Registers in the ULP co-processor are 16 bits in size. When we we use the ST ULP co-processor instruction, its syntax is: ST Rsrc, Rdst, offset For example: ST R1, R0, 0 would store the contents of R1 in the address contained in R0 with an offset of 0. R0 is specified in 32bit word units. Since R1 i...
by kolban
Mon Nov 20, 2017 3:30 am
Forum: ESP32 SDK
Topic: Musing on ulp_load_binary() samples ...
Replies: 0
Views: 13

Musing on ulp_load_binary() samples ...

Am studying the ULP co-processor and looking at samples. I came across this one from our examples repository: https://github.com/espressif/esp-idf/blob/master/examples/system/ulp/main/ulp_example_main.c#L45 The code I am looking at reads as follows: ulp_load_binary(0, ulp_main_bin_start, (ulp_main_b...
by kolban
Sun Nov 19, 2017 4:31 pm
Forum: ESP32 SDK
Topic: Missing declaration: esp_gattc_service_elem_t
Replies: 5
Views: 218

Re: Missing declaration: esp_gattc_service_elem_t

There was indeed quite a bit of churn on the ESP32 BLE support around that time. However, the classes I am tinkering with were an on-going target. When ESP-IDF 3.0 comes out I'll create a branch/release tested for that and maintain it against 3.0 while at the same time make forward progress on new f...
by kolban
Sun Nov 19, 2017 4:16 pm
Forum: General Discussion
Topic: Many Problems : ESP32 communicate to RC522 with SPI
Replies: 2
Views: 89

Re: Many Problems : ESP32 communicate to RC522 with SPI

In case it helps, here is an RC522 port that seems to work for me.

https://github.com/nkolban/esp32-snippe ... FRC522.cpp
by kolban
Sun Nov 19, 2017 4:08 pm
Forum: General Discussion
Topic: LWIP version and ESP32
Replies: 2
Views: 90

Re: LWIP version and ESP32

I'm going to guess ... if we look here: https://savannah.nongnu.org/news/?group=lwip We see that lwIP 2.0.0 was released in November 2016. The ESP32 (and ESP-IDF stack) were already available and being actively used. At that time, we were still waiting on core drivers such as Bluetooth, I2C and SPI ...
by kolban
Sun Nov 19, 2017 3:54 pm
Forum: General Discussion
Topic: Flash timing
Replies: 8
Views: 381

Re: Flash timing

I have a WROVER devkit (with WROVER module) which I believe uses the FT2232H USB to UART. When I try and flash at 2000000 baud, I don't see any change as compared to flashing at 921600. The command I am using on Ubuntu hosted on VirtualBox hosted on Windows 10 is: $ make flash ESPBAUD=2000000 The ti...
by kolban
Sun Nov 19, 2017 3:29 pm
Forum: General Discussion
Topic: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?
Replies: 9
Views: 503

Re: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?

I'm imagining a scenario where I have a 1000 byte ring buffer. I write 500 bytes and then consume those 500 bytes. Now there is no data in the ring buffer. Q: In an empty buffer, are the read/write pointers reset to the start of the buffer? Now, after having written and then read 500 bytes .. and as...
by kolban
Sun Nov 19, 2017 4:03 am
Forum: ESP32 SDK
Topic: Logging serial port receive data
Replies: 1
Views: 91

Re: Logging serial port receive data

To switch off all error logging, you might try "esp_log_level_set("*", ESP_LOG_NONE);" You can also intercept logging by supplying your own function to be called to log. This is performed via the function esp_log_set_vprintf() ... however I don't know how to set it back. I'll rai...
by kolban
Sun Nov 19, 2017 12:27 am
Forum: General Discussion
Topic: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?
Replies: 9
Views: 503

Re: ring buffer RINGBUF_TYPE_ALLOWSPLIT check for splitted item?

I'm reading the docs for the ringbuffer here: https://github.com/espressif/esp-idf/blob/master/components/freertos/include/freertos/ringbuf.h When splitting is not allowed, it states: "... the maximum size is (buffer_size/2)-8 bytes." Does this mean the value returned by "GetMaxItemSi...
by kolban
Fri Nov 17, 2017 11:44 pm
Forum: General Discussion
Topic: How to update spiffs partition content
Replies: 4
Views: 55

Re: How to update spiffs partition content

I personally haven't looked into that area in depth .. but my loose thinking would be that since SPIFFs data is held in a partition and a partition is merely/just an area of flash memory that is "cataloged" then any data you receive (be it through WiFi, BLE, Serial, SPI, I2C or other mecha...

Go to advanced search