MISO of SPI nand flash outputs no data When acts as both ESP32 and NRF52832's slave [closed]

kxJiang gravatar image

asked 2017-11-14 15:48:07 +0100

Both NRF52832 and ESP32 have access to the same nand flash through their spi interface, either one can successfully reads the flash's id without the other's exits. If both exist on the same spi interface, neither can read, even if I configure the NRF52's four spi pin as tri-stage, the MISO still comes out no data. I have confirm that the command ESP32 sent to flash is correct by watching the CLK MOSI and CS signal on oscilloscope.

Is there something I forgot to configure NRF52's SPI pins?

thanks!

edit retag flag offensive reopen delete report spam

Closed as "the question is answered, right answer was accepted" by kxJiang at 2017-11-18 04:20:51 +0100

Comments

How did you configure the SPI pins on the nRF52 to be in tri-state mode? Please have a look at this answer.

Jørgen Holmefjord ( 2017-11-15 12:54:18 +0100 )editconvert to answer

Thanks for your reply! The configuration was right, I have figured out the reason. I might not connect the GND between NRF52 & ESP32. Now it works fine.

kxJiang ( 2017-11-18 04:20:27 +0100 )editconvert to answer