Search found 7 matches

by jw--rt
Wed Nov 13, 2019 9:50 pm
Forum: ESP32 IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 13
Views: 4337

Re: RMT - simplest receive example working, but idle_threshold problem

Hello,

good point. For completeness, I edited my answer.

Best regards,

jw--rt
by jw--rt
Wed Nov 13, 2019 7:27 pm
Forum: ESP32 IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 13
Views: 4337

Re: RMT - simplest receive example working, but idle_threshold problem

Hello everyone, That last solution works like a charm for me! It's a bit hacky, but whatever! What I changed is: I just readout the first value in memory and immediately after that use: rmt_item32_t* item = nullptr; // NULL rmt_rx_start(RMT_CHANNEL_N, true); for(;;) { item = (rmt_item32_t*) (RMT_CHA...
by jw--rt
Thu Oct 31, 2019 6:07 pm
Forum: General Discussion
Topic: MCPWM Capture Mode
Replies: 3
Views: 1532

Re: MCPWM Capture Mode

Hello

is there maybe a more detailed description of the capture module around than what one can find on pages 403/406 in the technical reference?

Best regards and thank you in advance

jw--rt
by jw--rt
Mon Oct 28, 2019 8:58 am
Forum: General Discussion
Topic: MCPWM Capture Mode
Replies: 3
Views: 1532

Re: MCPWM Capture Mode

Hi As stated above, I would like to use three channels and do not want to use PCNT for the following reason: It is a sampling time problem: imagine you have 1 Count in PCNT and your sampling time is 50ms using a n=45 tooth sprocket. Then the speed you measure is v(n,dt,cnt) = cnt/n * 1/dt , where n ...
by jw--rt
Sun Oct 27, 2019 11:14 am
Forum: General Discussion
Topic: MCPWM Capture Mode
Replies: 3
Views: 1532

MCPWM Capture Mode

Hello everybody I caught interest in the "Capture" part of the MCPWM module after reading the docs. Particularly, because of the "elapsed time measurement / period measurement" (see docs below) and/or counting time between 2 pulses as the API doc of function "mcpwm_capture_enable()" suggests (see be...
by jw--rt
Sat Aug 17, 2019 5:06 pm
Forum: General Discussion
Topic: HSPI and VSPI, meaning thereof?
Replies: 12
Views: 23016

Re: HSPI and VSPI, meaning thereof?

Hello all,

Then I misinterpreted HSPI as "hardware" SPI and VSPI as "virtual" a.k.a. "software" SPI which is in reality totally _not_ true. :shock:

Both, HSPI and VSPI are fast ports, is this correct? :D

Sorry for wasting your time
by jw--rt
Mon Jul 01, 2019 2:02 pm
Forum: General Discussion
Topic: HSPI and VSPI, meaning thereof?
Replies: 12
Views: 23016

Re: HSPI and VSPI, meaning thereof?

Hello all, I stumbled upon this thread, trying to get my SD card running on the HSPI ports, before reading that GPIO12 has to be pulled low on my devkit board (ESP32 Wroom32), which is not compatible with SD card operation (See https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peri...

Go to advanced search