Hi,
I am working with the ESP8266_RTOS_SDK v3.1 and using the HSPI to communicate between the ESP8266 and another chip on my board (it's an NXP chip that is using EDMA).
I am using my ESP as the master for SPI transfer, and I am trying to send a buffer tx containing 64 bytes and receive at the same time in a provided rx buffer 634 bytes coming from the NXP, all of that in the same spi_master_trans() transfer. The issue is that the ESP is sending properly the data, and the NXP receives it well, but it isn't receiving the data from the NXP. And I know for sure that the NXP is sending the proper data (used a sniffer to make sure). I am unsure why it doesn't work, and why ESP doesn't receive the data properly.
Does anyone know if the ESP is even able to send and receive in one spi_master_trans() operation? I checked the SDK and looking at the function spi_master_trans(), I would say it should be able to do so, but maybe I am wrong?
Any thought?
Thanks
Need help with spi_master_trans()
Who is online
Users browsing this forum: No registered users and 181 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.