May 5, 2011 #1 S samp200ba Newbie level 1 Joined May 5, 2011 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,287 hi I'm using PIC24FJ256GB110 on a explorer 16 board and trying write a code for SPI using GPIO ... I need to configure Master and slave of the controller and transfer data from master to slave... im using MPLAB c30 complier Can any1 help me out with this.. ??
hi I'm using PIC24FJ256GB110 on a explorer 16 board and trying write a code for SPI using GPIO ... I need to configure Master and slave of the controller and transfer data from master to slave... im using MPLAB c30 complier Can any1 help me out with this.. ??
May 9, 2011 #2 assasinsareus Junior Member level 3 Joined Jul 21, 2010 Messages 25 Helped 3 Reputation 6 Reaction score 2 Trophy points 1,283 Activity points 1,428 Hello, Flowcode will allow you to do this in a graphical way. If you download Flowcode for dsPIC then you can also look at the component C code to generate your SPI code.
Hello, Flowcode will allow you to do this in a graphical way. If you download Flowcode for dsPIC then you can also look at the component C code to generate your SPI code.
May 9, 2011 #3 H horace1 Advanced Member level 5 Joined Nov 18, 2008 Messages 2,118 Helped 596 Reputation 1,188 Reaction score 571 Trophy points 1,393 Location Norwich, UK Activity points 13,063 I assume you don't wish to use the built in SPI interface of the PIC? To use GPIO pins there is some example C code for bit banging SPI see Serial Peripheral Interface Bus - Wikipedia, the free encyclopedia
I assume you don't wish to use the built in SPI interface of the PIC? To use GPIO pins there is some example C code for bit banging SPI see Serial Peripheral Interface Bus - Wikipedia, the free encyclopedia