I need to send and receive data from a micro controller from raspberry pi3B+ using SPI protocol. Can any one please provide a python code for performing this operation. My need is to send particular commands to the controller using SPI protocol and the controller should transfer back the response command and values to the raspberry pi.

put on hold as too broad by Milliways, Ingo, Ghanima Feb 13 at 17:03

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.