Hello,i am not understanding the master and slave program for spi code in the given example ,can somebody suggest me the easiest way to understand it.
Hello,i am not understanding the master and slave program for spi code in the given example ,can somebody suggest me the easiest way to understand it.
What is it, exactly, that you don't understand?
Are you familiar with the basics of how SPI works?
Are you familiar with 'C' programming and microcontrollers?
As Kenneth says, have you looked at the SDK documentation?
It's hard to make suggestions when we don't know where you're stuck, or what background you have.
Yeah I know how spi works but I am interfacing rfid mfrc522 with the nrf51822 microcontroller.which one will be better code in that documentation to implement this and how can I understand Is there any easy way for that,and yeah I know Embedded c .By the way where can I find that sdk documentation.
which one will be better code
The one which best fits your requirements!
The mfrc522 will probably define whether the nRF51822 needs to be the master or slave.
which one will be better code
The one which best fits your requirements!
The mfrc522 will probably define whether the nRF51822 needs to be the master or slave.