Search found 6 matches

by JonathanChen
Fri Mar 12, 2021 2:23 am
Forum: ESP-IDF
Topic: [wifi lost ip] IDF-4.3 Beta1, Wifi disconnected during the transmission
Replies: 0
Views: 1756

[wifi lost ip] IDF-4.3 Beta1, Wifi disconnected during the transmission

Hi In our code ,we enable BLE and WIFI(lwip tcp). The codes works with esp-idf Release 3.3.4. And it works well; This days we try to modify the code with esp-idf Release 4.3-beta1. And we found some strange logs during the tcp transmission; 09:43:16.994 I (67329600) wifi:bcn_timout,ap_probe_send_sta...
by JonathanChen
Fri Mar 12, 2021 2:14 am
Forum: ESP-IDF
Topic: [SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"
Replies: 6
Views: 5780

Re: [SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"

update the code with idf-4.3-beta1.
And after a long test, it works well.
May be we solved it. :D :D :D :D :D
by JonathanChen
Thu Feb 04, 2021 5:44 am
Forum: ESP-IDF
Topic: [SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"
Replies: 6
Views: 5780

Re: [SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"

Strange... your code itself looks good. What ESP-IDF version are you using? What else is your code doing? Release 3.3.4 hardware :esp32-wroom-32 My code has almost 10~15 tasks ,and WIFI, LWIP and BLE. And I will check the value in " spiTxBuf[0]" before put it in "spi_device_transmit"; For now ,we t...
by JonathanChen
Thu Feb 04, 2021 4:40 am
Forum: ESP-IDF
Topic: [SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"
Replies: 6
Views: 5780

Re: [SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"

Sorry :D
now i have update the img and code
please check.
by JonathanChen
Thu Feb 04, 2021 4:20 am
Forum: ESP-IDF
Topic: [SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"
Replies: 6
Views: 5780

[SPI Master] Data on MOSI is not the value we put in "spi_device_transmit()"

Esp32 works in spi master mode and keeps sending data to a spi slaver. After more than 30 minutes,we found that sometimes the data on MOSI is different from the data which we put in "spi_device_transmit()". Once the mismatch occurs. the scope stops and we take the picture like this: scope.PNG channe...
by JonathanChen
Thu Jun 07, 2018 3:26 pm
Forum: ESP-IDF
Topic: question about spi slave
Replies: 0
Views: 2256

question about spi slave

hello everyone when I debug the spi slave : 1.the function"spi_slave_transmit()": when i call this function,my spi data will in a queue. My question is that if no master get the data,this data will always in queue,isn't it? So i could not send a new data until some master get the old data. 2.how cou...