Jump to content

Search the Community

Showing results for tags 'SPI Example Code Working'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • PIC Embedded Programming
    • BoostC and Chameleon compilers programming
    • BoostC porting source code
    • BoostC++ compiler programming
    • BoostBasic compiler programming
    • Assembler programming PIC
    • Novo RTOS Programming
    • Hardware PIC
    • Enhancement Requests
    • Bug Reports

Found 1 result

  1. OK. I have banged on this for many hours, but I finally have not only a working master and slave, but I have them talking back and forth to one another. I could not find a decent example that didn't use a bunch of built in routines that don't let me know what's really going on. SO. Below are the codes for the master and slave along with the hex files and the schematic I used to make this work. The CPP files can be copies directly into a stand alone project and should compile withouit any trouble. I hope this helps someone else struggling to learn how SPI works. 18F4520-SPI-Master.cpp 18F4520-SPI-Slave.cpp SPI-Schematic-Working.pdf 18F4520-SPI-Master.hex.txt 18F4520-SPI-Slave.hex.txt