connecting two PIC16f877A through SPI port using CCS compiler
Discussion in "PIC Microcontroller Discussion" started by Amin Sharif Mar 13, 2008.
Thu Mar 13 2008, 12:04 pm
connecting two PIC16f877A through SPI port using CCS compiler. I am receiving the data at slave but not accurate. Please help me out with some documentation. I have read the CCS manual of pic microcontroller.
Thanks :mad
Thanks :mad
Thu Mar 13 2008, 12:53 pm
what do you mena by not acurate??
either u recv data or u dont!!!
cud u elaborate??
either u recv data or u dont!!!
cud u elaborate??
Thu Mar 13 2008, 01:52 pm
I am sending some bytes in ascii from master to slave. Two or three bytes are received accurately and other are garbage always. There seem to be some synchronizing problem. I can not figure it out in C language.
Thu Mar 13 2008, 02:49 pm
check if your slave support the data transfer speed you are using...
try a lower baudrate.
try a lower baudrate.
Powered by e107 Forum System