This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

spi configuration

How send the larger data,which is more then 300 bytes in spi master example.i am using the Sdk 15.0.how to enable the spi .please send the default pins used for the spi.

Parents
  • Hi

    Have you checked out the SPI example in the SDK?

    \nRF5_SDK_15.0.0_a53641a\examples\peripheral\spi\

    In this example the SPI pins are set by the SPI_SCK_PIN, SPI_MOSI_PIN, SPI_MISO_PIN and SPI_SS_PIN defines in sdk_config.h

    As mentioned by Jörg you can send longer packets by controlling the chip select line manually, and sending multiple transactions while keeping chip select low. 

    Best regards
    Torbjørn

Reply
  • Hi

    Have you checked out the SPI example in the SDK?

    \nRF5_SDK_15.0.0_a53641a\examples\peripheral\spi\

    In this example the SPI pins are set by the SPI_SCK_PIN, SPI_MOSI_PIN, SPI_MISO_PIN and SPI_SS_PIN defines in sdk_config.h

    As mentioned by Jörg you can send longer packets by controlling the chip select line manually, and sending multiple transactions while keeping chip select low. 

    Best regards
    Torbjørn

Children
No Data
Related