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

Simple SPI

Hello,

I am using nrf9160 and want to test the just simple SPI function. The code that I found from github(https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/spi c) is old and gives me too many errors. Are there any simple SPI code that I can try in my nrf9160 board in order to test whether I can send a simple data via SPI. I also found spi_flash_at45 however I don't have any device from at45 family to test it so another simple example would be so helpful for me. 

Thank you

Parents Reply
  • Hi Hakan,

    I already changed that it is 3V. Are you observing the clk signal without doing any triggering? Does it show up as long as you connect clk pin to logic analyzer? I didn't understand what I am doing wrong? Are my adjustmenst correct?

    -MISO AND MOSI are connected on NRF

    -Sampling freq=5Mhz(I also tried other ones no change)

    -Only clk is connected to logic analyzer

    - I am not doing any triggering currently but I tried all the triggering options nothing changed

    Thank you

Children
Related