Hello
I’m working around communication between microprocessor (as SPI Master) and WizFi250 (as SPI slave). So far I’m not able to make it work in a reasonable way so I need your help. I have connected these signals:
MISO
MOSI
SCK
NSS - pulling down before each characterand pushing up after each character transfered
SPI_DATA_READY - as flow control from slave
What is the correct “dummy” character (or ASCII code) to send to WizFi250 to force master to generate clock signal on SCK pin and to be able to read data from WizFi250 ?
I tried the following characters:
‘\0’ - this makes it possible to read data from slave but the transfer from device never ends with SPI_DATA_READY=0
‘\r’ - this makes device allways reply with “\r\n” (echo on) and transfer never ends and SPI_DATA_READY=1 set permanently
‘q’ - this character makes the transfer finish with SPI_DATA_READY=0 but just once and next time the dummy character ‘q’ is read from the device multiple times and the next transfer never ends (SPI_DATA_READY=1)
What is the workaround for this issue? Or do I think about it bad way?