One of the features missing on the nRF51 was the 3-wire SPI interface standard (Clk, Data, CS). Is this available for the nRF52?
One of the features missing on the nRF51 was the 3-wire SPI interface standard (Clk, Data, CS). Is this available for the nRF52?
Hi.
The nRF52 will not have built in support for combining the MISO and MOSI line. If you are using a 3-wire device, you can connect MOSI to MISO with a 10k resistor like this guide does.
-Anders
Set MISO or MOSI to disconnected (0xffffffff) while doing write resp read. Reconfigure the SPI block as needed while keeping CS asserted when the IO direction has to change. Since most SPI devices I know will require no or one direction change per command, you'd have to split the transaction in at most two parts. I do this with the SPI block, haven't worked with SPIM yet.
Set MISO or MOSI to disconnected (0xffffffff) while doing write resp read. Reconfigure the SPI block as needed while keeping CS asserted when the IO direction has to change. Since most SPI devices I know will require no or one direction change per command, you'd have to split the transaction in at most two parts. I do this with the SPI block, haven't worked with SPIM yet.