Search found 16 matches

by SpenZerX
Tue Nov 06, 2018 4:11 pm
Forum: ESP-IDF
Topic: undefined reference to regex function
Replies: 1
Views: 3955

Re: undefined reference to regex function

Any news here? I have the same problem. Can i use regex?
by SpenZerX
Thu Aug 24, 2017 9:09 am
Forum: Hardware
Topic: 3-ph bridge for MCPWM
Replies: 0
Views: 3070

3-ph bridge for MCPWM

Hello, i want to connect 2 X BLDC Motor from an Electric Scooter (Motor Power: 350W, Rated voltage: 36V, hall sensors ) to the ESP32 (MCPWM) to build a balanced robot for experimental purposes. My electronics skills are poor. Goal is to start with your idf example. Do i have to build the IR2136 3-ph...
by SpenZerX
Tue Aug 22, 2017 11:32 am
Forum: Report Bugs
Topic: possible bug
Replies: 0
Views: 3131

possible bug

Hello,

components/driver/i2c.c
line 168


} else {
p_i2c->tx_ring_buf = NULL;
p_i2c->rx_buf_length = 0;
}

i think it should be rx_ both!?
by SpenZerX
Fri Feb 03, 2017 9:37 am
Forum: General Discussion
Topic: Store static file in flash
Replies: 24
Views: 49336

Re: Store static file in flash

Hello all, i included SPIFFS in my app. Inspired by some sources: https://github.com/jwlusby/esp32_testing TEST 1: spiffs format - OK new file create - Ok read of that file - Ok TEST 2: spiffs image creation by makefile with files - ok spiffs image upload by makefile - ok no spiffs format this time ...
by SpenZerX
Tue Jan 24, 2017 6:31 pm
Forum: General Discussion
Topic: Minimum requirements to start the Hardware Counter
Replies: 7
Views: 11975

Re: Minimum requirements to start the Hardware Counter

This should clear the counter: esp_err_t pcnt_counter_clear(pcnt_unit_t pcnt_unit) { PCNT_CHECK(pcnt_unit < PCNT_UNIT_MAX, PCNT_UNIT_ERR_STR, ESP_ERR_INVALID_ARG); PCNT_ENTER_CRITICAL(&pcnt_spinlock); PCNT.ctrl.val |= (BIT(PCNT_PLUS_CNT_RST_U0_S + (pcnt_unit * 2))); // may be a delay here ... PCNT.c...
by SpenZerX
Tue Jan 24, 2017 5:56 pm
Forum: General Discussion
Topic: Minimum requirements to start the Hardware Counter
Replies: 7
Views: 11975

Re: Minimum requirements to start the Hardware Counter

Hi i have done some further test with the hardware counter and i think your documentation is not clear. Your driver may also be affected. Have you tested that your code will clear a counter that is not zero? esp_err_t pcnt_counter_clear(pcnt_unit_t pcnt_unit) { PCNT_CHECK(pcnt_unit < PCNT_UNIT_MAX, ...
by SpenZerX
Mon Jan 23, 2017 10:00 am
Forum: General Discussion
Topic: Minimum requirements to start the Hardware Counter
Replies: 7
Views: 11975

Minimum requirements to start the Hardware Counter

Hello, will the hardware counter start immediately when it is correct configured? Or is any trigger/start required? In my tests the count register is always 0x0000, (not counting). I cant get it to count. Goal of my tests was to count level changes on one gpio-pin (22). I am not using the IDF driver...
by SpenZerX
Thu Dec 22, 2016 8:29 pm
Forum: Report Bugs
Topic: enum wifi_bandwidth_t not complete
Replies: 3
Views: 7901

enum wifi_bandwidth_t not complete

Hi, esp_err_t esp_wifi_get_bandwidth(wifi_interface_t ifx, wifi_bandwidth_t *bw); wifi_bandwidth_t sta_wifi_bandwidth; esp_wifi_get_bandwidth(WIFI_IF_STA, &sta_wifi_bandwidth); printf("debug: value is %u" ,sta_wifi_bandwidth); result-> debug: value is 2 same for AP_IF typedef enum { WIFI_BW_HT20 = 0...
by SpenZerX
Thu Dec 08, 2016 2:02 pm
Forum: ESP-IDF
Topic: [Solved] Using select system call on a server socket.
Replies: 1
Views: 7215

Re: [Solved] Using select system call on a server socket.

I am building a project that uses select-driven socket read/writes. My observation is: - select works as it should be, max 16 conns - but there are performance issues. The select should block till socket is read/write able. User code has no influence on speed. Resulting RX/TX performance in Kb/s is ...
by SpenZerX
Wed Nov 23, 2016 7:48 pm
Forum: ESP-IDF
Topic: 4-byte alignment for embedded files
Replies: 2
Views: 7985

4-byte alignment for embedded files

Hello,


COMPONENT_EMBED_FILES := xyz.bin

Included files are stored to .rodata but no 4-byte alignment.

How can i change this?