Search found 3 matches

by matgraci
Mon Jan 24, 2011 2:19 pm
Forum: General Remark and Questions
Topic: PIC32 SPI
Replies: 7
Views: 8112

Re: PIC32 SPI

Sorry, but i can't include the whole c file that I used because it contains some of the data and other things that I can't share with all of you. I think that you can't compile it because you did not include "pic32mxxx.h" in your .c file, or whatever is the the name of the file that contains names o...
by matgraci
Tue Jan 18, 2011 11:16 pm
Forum: General Remark and Questions
Topic: PIC32 SPI
Replies: 7
Views: 8112

Re: PIC32 SPI

I just wrote C function that is supposed to write data to SPI port. There is one more function that sets SPI configuration. I set my model so that config function is called only once. void configSPI() { static int first_pass = 1; int rData; if (first_pass) { first_pass = 0; IEC0CLR=0x03800000; // di...
by matgraci
Tue Jan 18, 2011 10:15 am
Forum: General Remark and Questions
Topic: PIC32 SPI
Replies: 7
Views: 8112

Re: PIC32 SPI

Hi. Does this mean that SPI functionality is not supported for PIC32 uCs with those blocksets?! I can't remember reading this anywhere when buying those blocksets for my PIC32MX360F512l uC! :?: I noticed that when i insert the SPI Configuration Block that the Fsck can't be counted or something like ...