MikroC support for slave mode

General discussion on mikroC.
Post Reply
Author
Message
vbcoder
Posts: 52
Joined: 20 Nov 2008 18:23
Location: 6 October City, Egypt
Contact:

MikroC support for slave mode

#1 Post by vbcoder » 13 Mar 2012 17:53

Hi,
Does the SPI library still has a bug in setting the PIC as a slave?
The bug relies in SCK configuration I guess.

I made the register level configuration myself without the library and it worked fine for both in master and slave mode.

I uploaded the project on LibSTOCK:
http://www.libstock.com/projects/view/2 ... munication

Hope it helps others and hope to get this bug fixed in the forthcoming versions.
--------------------------------
Kind Regards,
Waleed El-Badry
Teaching Assistant
Mechatronics Engineering Department
Misr University for Science & Technology

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: MikroC support for slave mode

#2 Post by janko.kaljevic » 14 Mar 2012 11:05

Hello,

At the moment our SPI library supports SPI master mode and we have not implemented SPI slave functions yet.

Thanks for sharing your project and for your contribution.

Best regards.

Post Reply

Return to “mikroC General”