Hi everyone:
In the few days,I working onthe SPI commuication with ESP32.But I have a problem.I refer to the manual to send it a test package,but my SPI Slave device(TW8035 IR Camera) didn't response any data.I have no ideas with this problem.
One of the things I don't quite understand is DUMMY data in the third picture.
This dummy data is similar with the Fourth picture dummy_bits?
The test protocol package like the below picture.
But I can't upload the code right now,it's not on this PC.
Can someone give me some advice?
Thanks!
IAMLIUBO
SPI Master Communication with SPI Slave(TW8035 IR Camera) have problem.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: SPI Master Communication with SPI Slave(TW8035 IR Camera) have problem.
You probably can't use the 'dummy bits' feature here, as the 'command' is more than the ESP32 can send as a dedicated command. Suggest you just send 17 bytes of data as a normal data payload, with the first 9 containing the command.
Re: SPI Master Communication with SPI Slave(TW8035 IR Camera) have problem.
Thanks for reply.I open an issues at the Github.The engineer of espressif help me for this problem right now.ESP_Sprite wrote: ↑Sat Jun 29, 2019 2:33 amYou probably can't use the 'dummy bits' feature here, as the 'command' is more than the ESP32 can send as a dedicated command. Suggest you just send 17 bytes of data as a normal data payload, with the first 9 containing the command.
https://github.com/espressif/esp-idf/issues/3699
Thanks!
IAMLIUBO
Who is online
Users browsing this forum: No registered users and 148 guests