hi i make spi connection between nrf and lpc1788 . nrf as slave and lpc1788 as master. i got data from lpc but when i send data to lpc nothing send . when using another nrf az master conection work in both side, i change mosi pin but not working. Using the SPI slave example as an app.
spi master config
SPI_bt->Control(ARM_SPI_MODE_MASTER | ARM_SPI_CPOL0_CPHA0 | ARM_SPI_MSB_LSB | ARM_SPI_SS_MASTER_UNUSED | ARM_SPI_DATA_BITS(8), 125000);
code on lpc {
// CS low
bt_ON;
GUI_Delay(50);
SPI_bt->Send("Hello",5);
SPI_bt->Receive(st,10);
while(SPI_bt->GetStatus().busy);
GUI_Delay(50);
//CS high
bt_OFF; }
j-link RTT viewer loge
0> Received 625: Hello
0> Transfer 625: N o r d ic
i check lpc spi with another lpc slave ,is work. tnx,