SPI using PIC16f877A
Discussion in "PIC Microcontroller Discussion" started by Atta Aug 1, 2008.
Fri Aug 01 2008, 04:52 pm
Hi!
I want to design master slave design using SPI technique with two 16F877A as master & slave as i m new to microcontroller can any one guide me what should be the basic hardware design as well as C code for this task.
Thanks.
I want to design master slave design using SPI technique with two 16F877A as master & slave as i m new to microcontroller can any one guide me what should be the basic hardware design as well as C code for this task.
Thanks.
Fri Aug 01 2008, 09:19 pm
Atta, Please search forum. I think this has been done twice.
But people are facing problem with 16F877A's SPI when receiving data from master. Basic hardware requires two controllers.
MISO (M) - MOSI (S)
MOSI (M) - MISO (S)
CS (M) - CS (S)
SCK (M) - SCK (S)
thats all you need.
But people are facing problem with 16F877A's SPI when receiving data from master. Basic hardware requires two controllers.
MISO (M) - MOSI (S)
MOSI (M) - MISO (S)
CS (M) - CS (S)
SCK (M) - SCK (S)
thats all you need.
Powered by e107 Forum System