hi i am trying to setup a connection with CP2130 with nrf51. i am using nrf6310 kit. i flashed the spi slave example into into nrf51. on nrf51 these are the connection pins -> SPIS_MISO_PIN; (pin 20 mapped to p.2.4) SPIS_MOSI_PIN; ( pin 22 mapped to p.2.6) SPIS_SCK_PIN; ( 23 pin mapped to p.2.7) SPIS_CSN_PIN; ( 21 pin mapped to p.2 5) mode 0 , buffer size 4 LSB first
On master side
buffer size 4, mode 0 clock 6mhz , tried with 3mhz , 1.5mhz
i am receiving 4 bytes of 00 00 00 00 instead of actual data on slave program. i put a break point to spi_slave_event_handle(spi_slave_evt_t event) but it seems control is not going in this function.
i am not even receiving DEF char
i tried doing it without soft device but without soft device application does not run.