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

SPI with nRF52832

Dear Nordic Team:

    Now I am doing a example test, with nRF52832 I want to use SPI master and SPI slave transtission.I have saw many demo example,but i dont know that which I should  use? I have two DKs, one downloaded spim other one downloaded spis, Am I right? If so, but It is indicated that SPI and SPIs can be used as the master-slave test. I found that during the detailed test, SCK was not available, and the SS line was always high potential, so I tried to pull down the SS line, but it failed. I also checked the manual and code for two days, but I couldn't find the problem there

Parents
  • Hi,

    You, you can test with the SPI and SPIS examples from the SDK. These examples should work without any modifications together with the nRF52 DK (PCA10040), you just need to connect the correct pins between the boards. Please make sure that you do not use the nrfx_spim example in the peripheral directory in the SDK, as this will not work without modifications for nRF52832.

    By default, the SPI and SPIS examples use the following pins:

    • SCK: P0.26
    • MOSI: P0.29
    • MISO: P0.30
    • SS: P0.31

    Best regards,
    Jørgen

Reply
  • Hi,

    You, you can test with the SPI and SPIS examples from the SDK. These examples should work without any modifications together with the nRF52 DK (PCA10040), you just need to connect the correct pins between the boards. Please make sure that you do not use the nrfx_spim example in the peripheral directory in the SDK, as this will not work without modifications for nRF52832.

    By default, the SPI and SPIS examples use the following pins:

    • SCK: P0.26
    • MOSI: P0.29
    • MISO: P0.30
    • SS: P0.31

    Best regards,
    Jørgen

Children
No Data
Related