Search found 3 matches

by newcomer777
Fri Jul 07, 2023 9:22 am
Forum: ESP-IDF
Topic: ESP32 master to SAMD21(Arduino Zero) slave full duplex SPI data exchange issue.
Replies: 1
Views: 597

Re: ESP32 master to SAMD21(Arduino Zero) slave full duplex SPI data exchange issue.

Factually I made it working using sort of workaround: in spi_device_interface_config_t devcfg configuration I used .command_bits = 16 as though the master sends 2 bytes command first. Definitely the RX buffer at the slave side should be 2 bytes larger since the first 2 bytes command ( which are actu...
by newcomer777
Thu Jul 06, 2023 10:24 am
Forum: ESP-IDF
Topic: ESP32 master to SAMD21(Arduino Zero) slave full duplex SPI data exchange issue.
Replies: 1
Views: 597

ESP32 master to SAMD21(Arduino Zero) slave full duplex SPI data exchange issue.

ESP32(master) and SAMD21(slave) use SPI bus to communicate. At ESP32 side MISO = GPIO_NUM_19, MOSI = GPIO_NUM_23, CLK = GPIO_NUM_18 though CS = GPIO 12(gpio 5 and 2 will be used for another SPI devices) . The master has 32 bytes TX buffer and the same size RX buffer. Once a second the master sends a...
by newcomer777
Tue Apr 11, 2023 7:15 am
Forum: General Discussion
Topic: Stopping server inside handler using httpd_stop(*server);
Replies: 3
Views: 3165

Re: Stopping server inside handler using httpd_stop(*server);

It is pity that nobody replied. I am incountered httpd_stop() issue also, using the same example. I simply added the button Close to the web page generated by ESP32, added correspondent handler etc. To be sure I do operate with the same server descriptor I simply made it global. All works until serv...