Other Parts Discussed in Thread: CC3120
I'm porting the simple link driver to an nRF52840 MCU for our product. I have connected an CC3120BOOST to an nRF52840-Preview-DK to test out the driver. The CC3120BOOT is fresh out of the box with nothing done to it other than connecting it to the nRF52840 dev board. The signals that are connected are:
P0.03 to nHIB
P0.04 to IRQ
P0.28 to SPI_CS
P0.29 to SPI_MOSI
P0.30 to SPI_CLK
P0.31 to SPI_MISO
After calling sl_Start it appears that the nHIB is being toggled correctly, and IRQ changes in response, then the Wi-Fi library tries to find a sync pattern in the SPI reads - but this fails. The sequence I'm seeing over SPI is:
Host -> CC3120 : 65 87 78 56
Host <- CC3120 : FF FF FF FF FF FF FF FF
Host <- CC3120 : FF FF FF FF 00 00 00 00
Host <- CC3120 : 00 00 00 00 00 00 00 00
…
This repeats until a timeout occurs.
From looking at the code it appears the response that is expected is something like
Host <- CC3120 : BA DC CD AB — — — —
Any ideas on why I'm not seeing a sequence of 12 0xFF bytes and then all 0x00 bytes, rather than the expected result?