Problem with converting arduino SPI into IDF
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problem with converting arduino SPI into IDF
Also note that the ESP32 will raise /CS between transactions... not sure if that is what you want. If not, you probably want to send the command and receive the response in the same transaction.
-
- Posts: 13
- Joined: Thu May 07, 2020 1:32 pm
Re: Problem with converting arduino SPI into IDF
Thanks for your suggestions.
Now we are able to read version data from ADE chip by changing VSPI to HSPI then communication done.
But problem for transmitting data to ADE chip address and value.
How I know whether data successfully transmitted as per send address. IS there is any way to check that?
Now we are able to read version data from ADE chip by changing VSPI to HSPI then communication done.
But problem for transmitting data to ADE chip address and value.
How I know whether data successfully transmitted as per send address. IS there is any way to check that?
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problem with converting arduino SPI into IDF
Yes. You take a scope or LA and stick it on the SPI pins and see if that looks correct.
Who is online
Users browsing this forum: Baidu [Spider] and 121 guests