Hello,
good point. For completeness, I edited my answer.
Best regards,
jw--rt
Search found 7 matches
- Wed Nov 13, 2019 9:50 pm
- Forum: ESP-IDF
- Topic: RMT - simplest receive example working, but idle_threshold problem
- Replies: 19
- Views: 22131
- Wed Nov 13, 2019 7:27 pm
- Forum: ESP-IDF
- Topic: RMT - simplest receive example working, but idle_threshold problem
- Replies: 19
- Views: 22131
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...
- Thu Oct 31, 2019 6:07 pm
- Forum: General Discussion
- Topic: MCPWM Capture Mode
- Replies: 3
- Views: 9521
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
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
- Mon Oct 28, 2019 8:58 am
- Forum: General Discussion
- Topic: MCPWM Capture Mode
- Replies: 3
- Views: 9521
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 ...
- Sun Oct 27, 2019 11:14 am
- Forum: General Discussion
- Topic: MCPWM Capture Mode
- Replies: 3
- Views: 9521
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...
- Sat Aug 17, 2019 5:06 pm
- Forum: General Discussion
- Topic: HSPI and VSPI, meaning thereof?
- Replies: 21
- Views: 112251
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.
Both, HSPI and VSPI are fast ports, is this correct?
Sorry for wasting your time
Then I misinterpreted HSPI as "hardware" SPI and VSPI as "virtual" a.k.a. "software" SPI which is in reality totally _not_ true.
Both, HSPI and VSPI are fast ports, is this correct?
Sorry for wasting your time
- Mon Jul 01, 2019 2:02 pm
- Forum: General Discussion
- Topic: HSPI and VSPI, meaning thereof?
- Replies: 21
- Views: 112251
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...