Search found 6 matches

by herhor67
Thu Oct 03, 2024 9:17 pm
Forum: Hardware
Topic: MCPWM deadtime
Replies: 0
Views: 204

MCPWM deadtime

Hello, What happens when the duration of high or low state is less than the deadtime? Is the state switched? Only one of the two generators? None? I want to control a synchronous buck-boost converter with the MCPWM peripheral. I would like to have accurate control of the "main" mosfet (i.e. the PWM ...
by herhor67
Mon Apr 01, 2024 1:12 pm
Forum: ESP-IDF
Topic: HTTP server - URI handler return value
Replies: 4
Views: 964

Re: HTTP server - URI handler return value

My use-case is that the webserver receives a "program" (list of "commands") to execute, which involves GPIO, I2C, SPI and other peripherals. That's why I can only handle 1 request at a time, and why the HTTPD config has only 1 socket allowed. However, as soon as the request is completed, I want to m...
by herhor67
Mon Apr 01, 2024 9:19 am
Forum: ESP-IDF
Topic: HTTP server - URI handler return value
Replies: 4
Views: 964

Re: HTTP server - URI handler return value

So it is fine to check the send functions too? Why are they not tested in examples, for brevity? Btw, if I understand correctly, the Connection: keep-alive is the same as keep-alive packets? If I want to keep connections alive as long as there is something to transfer (multipart) but not after the t...
by herhor67
Sat Mar 30, 2024 7:31 pm
Forum: ESP-IDF
Topic: HTTP server - URI handler return value
Replies: 4
Views: 964

HTTP server - URI handler return value

Hello, I want to ask, what should be the return value of URI handlers? Or rather, which errors from which functions should be forwarded, and what can be safely ignored? Looking at the docs, I can see that only httpd_req_recv has this requirement: If an error is returned, the URI handler must further...
by herhor67
Tue Jul 18, 2023 6:23 pm
Forum: General Discussion
Topic: Ethernet webserver poor performance
Replies: 0
Views: 611

Ethernet webserver poor performance

I am trying the HTTP Webserver example. I have used a LAN8720 module for wired Ethernet connection with "RMII clock from internal" on GPIO17. No matter what I set in the SDK Configuration: RTOS settings, size and number of buffers, core affinity for webserver/TCPIP/... tasks, etc. I can't get past a...
by herhor67
Wed Oct 26, 2022 8:14 pm
Forum: ESP-IDF
Topic: ESP-IDF VSCode add external library
Replies: 0
Views: 923

ESP-IDF VSCode add external library

Hello, I am able to add "header-only" libraries, that is easy. However, how can I do that, when the library has its own building procedure? I am in particular interested in https://github.com/nanomsg/nng . I put it in the components folder, hoping that CMake will do its magic, but well, it didn't wo...