HW environment :
- SPI Slave : PCA10028 board, and reference source code is 'peripheral/spi_slave' in SDK9.0.0
- SPI Master : Arduino UNO
Pin setting is below
SPIS_MISO_PIN 28 // SPI MISO signal.
SPIS_CSN_PIN 12 // SPI CSN signal.
SPIS_MOSI_PIN 25 // SPI MOSI signal.
SPIS_SCK_PIN 29 // SPI SCK signal.
I believe there was no pin wiring mistake between two board.
And I could find a code of 'p_tx_buf[i] = (uint8_t)('a' + i);' in the function of 'spi_slave_buffers_init', inside the project 'spi_slave'.
So pca10028 board is believed to send some character pattern like "abcdef...". through MISO line.
But there is no signal from MISO at all.
MOSI signal is "hello' with setting of LSB, 1MHz. And it seems no problem. I've tested UNO part source code with another UNO board as a spi slave, and it had no problem.
But now it's not working. I don't understand this situation. Do I have to set the clock of spi slave? if so, how?