So let me see if I've got this right:
So Microchip doesn't have any examples? There's plenty to be found in the datasheets. And any problems with the SPI module (and there are a couple here and there) are found in the errata sheets, complete with workarounds...I also have verified the little interest that some manufacturers put in helping their clients, for example Microchip and Crownhill, this last is incapable to put a simple example of a Masters and a Slave working in SPI communications.
And Crownhill? Well, I don't use the Proton compiler they sell. But it seems to me that if the compiler works and it's still selling well, then it's probably a good bet that the SPI routines it comes with probably work fairly well also. And besides that, how about trying http://www.picbasic.org/forum/ or http://www.google.com . The Search functions work great and I'll bet you can find loads of good examples for code at either.
So, even though the original poster wrote in the forums looking for help because the program didn't work, you assumed that it would actually work for you and it didn't? Imagine that...I have begun to try to start up your routines but they do not work and I do not dare to write in the forums since the answers that they gave you, have been sufficiently frustrating for my.
So what you actually want is somebody else to do all the legwork for you.Well, your routines seem enough to learn a PIC-to-PIC SPI, so, if you have them working, please, put them here in the forum or send me them by mail.
I am correct so far?




Bookmarks