Problem with converting arduino SPI into IDF

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Problem with converting arduino SPI into IDF

Postby ESP_Sprite » Mon May 18, 2020 7:02 am

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.

vishal.borle
Posts: 13
Joined: Thu May 07, 2020 1:32 pm

Re: Problem with converting arduino SPI into IDF

Postby vishal.borle » Wed May 20, 2020 12:21 pm

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?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Problem with converting arduino SPI into IDF

Postby ESP_Sprite » Wed May 20, 2020 1:12 pm

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: Bing [Bot], jldesigns, Muntazer and 99 guests