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

Interfacing mfrc522 (SPI) with nrf9160

Hello, i would like to interface nrf9160 DK with an rfid reader mfrc522 using SPI. So, i went through the example of spi_master in SDK 8.1.0. It was for nrf51822 and i want to ask is it possible to do the same thing with nrf9160 DK or do we need another code or file?

Can anyone please help me sort out this ??

Parents Reply
  • Thank you for reply ! I tried an example code for setting up spi for nrf 9160 but it is showing error that spi.h no such file or directory. I have kept the spi.h file in include and lib folders but still it is showing the error. I am using segger embedded studio (nordic edition). Could you please tell me how to set up the library path and preprocessor option is not showing in the project option. One more doubt is there that where could I find the CMakeLists.txt, prj.conf files and we need to change those file ( add something ) for enabling spi . Thanks ....

Children
Related