Search found 10 matches
- Wed Apr 10, 2024 9:01 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32S3 SPI怎么配置全双工模式下从机连续传输?
- Replies: 0
- Views: 1036
ESP32S3 SPI怎么配置全双工模式下从机连续传输?
ESP32S3 SPI怎么配置全双工模式下从机连续传输?有没有参考例程啊?
- Thu Mar 07, 2024 12:54 pm
- Forum: ESP-IDF
- Topic: The ESP32S3 SPI slave cannot fully receive data
- Replies: 3
- Views: 1742
Re: The ESP32S3 SPI slave cannot fully receive data
If you haven't already, you must at least get rid of printf's or other logging between the transactions. As you can see, I set the SPI queue send interval to 3-seconds in the test code, and I think that even if printf is used in the receive task, the result will not be affected. by the way, during ...
- Thu Mar 07, 2024 3:30 am
- Forum: ESP-IDF
- Topic: The ESP32S3 SPI slave cannot fully receive data
- Replies: 3
- Views: 1742
The ESP32S3 SPI slave cannot fully receive data
Hi, I have a project that needs to use 2 SPI peripherals of ESP32S3, one for SPI host and one for SPI slave. It is used to connect an SPI device that has both an SPI host and an SPI slave. The SPI host of the ESP32S3 connects to the SPI slave of the SPI device, and the SPI slave of the ESP32S3 conne...
- Mon Feb 05, 2024 1:38 pm
- Forum: ESP-IDF
- Topic: Implementation of Server-Sent Events (SSE) in ESP-IDF
- Replies: 11
- Views: 4719
Re: Implementation of Server-Sent Events (SSE) in ESP-IDF
Yes, according to your guidance, it has been successful, thank you very much!@MicroController Here is my test code(you need set ssid and password in line 256 and 257): /* WiFi station Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable l...
- Mon Feb 05, 2024 8:27 am
- Forum: ESP-IDF
- Topic: Implementation of Server-Sent Events (SSE) in ESP-IDF
- Replies: 11
- Views: 4719
Re: Implementation of Server-Sent Events (SSE) in ESP-IDF
Is there any progress on this project? I also want to know how to transitioning a SSE project from the Arduino framework to ESP-IDF. I tried using httpd_socket_send() and also failed, I don't know what I missed. httpd_handle_t mySocketHD; int mySocketFD; char sse_buf[128] = {'d', 'a', 't', 'a', ':'}...
- Wed Jan 24, 2024 10:33 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32S3通过地址访问寄存器响应值不正确
- Replies: 0
- Views: 976
ESP32S3通过地址访问寄存器响应值不正确
大家好! 我用ESP32S3做SPI配置,期望在发送完一帧数据后CS保持有效状态,直到达到设计的条件后再配置使CS失效。 查了SPI外设的SPI,只有配置CS拉低的flags,通过spi_device_release_bus()释放总线后,CS还是会保持为有效状态,直到启动下一次SPI发送之后,CS才会失效。 查了reference manual,发现设置SPI_SOFT_RESET可以"可复位 SPI 时钟线、CS 线和数据线"。但是没有找到对应的API可供调用。 尝试直接写寄存器的方式:(*((volatile uint32_t *)0x60024000+0xE0)) |= (uint32...
- Sat Jan 20, 2024 4:39 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32S3从机模式下如何连续接受多帧数据?
- Replies: 0
- Views: 1077
ESP32S3从机模式下如何连续接受多帧数据?
我们公司计划用ESP32S3做AFE主控,目前选用的AFE有2个SPI接口(1主,1从),ESP32作为主机向AFE的SPI从机端口发送命令进行控制,AFE通过其SPI主机向ESP32响应数据。所以,目前用到了ESP32S3的2个SPI外设(SPI2(主),SPI3(从))。 目前测试,ESP32S3的SPI2作为主机可以正常发送控制指令,通过逻辑分析仪观察,AFE也能正确响应。但是,目前没有找到好的办法让ESP32S3的SPI3作为从机完整的接收AFE响应的所有数据。测试了直接在SPI2使用spi_device_transmit()发送之后立即调用SPI3的spi_slave_transmi...
- Wed Nov 08, 2023 1:02 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32S3 SPI主机模式下发送第一帧数据老是出错什么问题?
- Replies: 1
- Views: 1401
- Tue Nov 07, 2023 11:01 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32S3 SPI主机模式下发送第一帧数据老是出错什么问题?
- Replies: 1
- Views: 1401
ESP32S3 SPI主机模式下发送第一帧数据老是出错什么问题?
大家好 我使用ESP32S3的SPI master模式控制一个SPI器件,配置为mode=3,但是初始化完成后,时钟线一直保持在低电平。 我查了是在spi_bus_initialize函数调用spicommon_bus_initialize_io里面再调用esp_rom_gpio_connect_out_signal(bus_config->sclk_io_num, spi_periph_signal[host].spiclk_out, false, false);之后时钟线即被拉低。无论SPI模式mode=0~3任何情况。 尝试了各种配置,没找打解决办法,不知道大家有遇到过吗? 信号我用sa...
- Tue Dec 11, 2018 10:45 am
- Forum: 硬件问题讨论
- Topic: ESP32的CAN2.0外设在哪个文档有详细介绍?
- Replies: 1
- Views: 8928
ESP32的CAN2.0外设在哪个文档有详细介绍?
查看datasheet看到有CAN2.0外设,但是却没有该外设的介绍。谁知道哪里可以找到这部分的介绍啊?