Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SPI code for pic18f45k20

Status
Not open for further replies.

ragi

Junior Member level 3
Joined
Nov 18, 2015
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
251
Hello ,

Since I am very new to microcontroller, can anyone please send example code on spi of pic18f45k20.??I am using MPLAB IDE and pickit debugger.
My actual task is as given below.
Here PIC should act as slave and the soon it receives command from other spi ( using chita adapter command will be sent) based on the command data (example : register value) should be sent through uart to pc.

Thank you:):)
 

Thank you very much for this code.. This helped me to develop a simple spi program.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top