Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

SPI Master & Slave Serial Peripheral Interface 🔴 PIC Microcontroller Programming Tutorial 27 MPLAB C

10.6K views on YouTube

In this PIC programming tutorial I will demonstrates how to setup the SPI bus in both master on slave mode. Using the XC8 compiler with MPLAB X and a PIC18F4520 PIC microcontroller (SPI master) as well as a PIC18f45K50 PIC microcontroller (SPI Slave).

Git Repository
https://github.com/Devilbinder/PIC18F_SPI

➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
https://www.youtube.com/bindertronics?sub_confirmation=1

Facebook â–¶ https://www.facebook.com/BinderTronics
Twitter â–¶ https://twitter.com/BinderTronics

Part List â–¶ https://bindertronics.com/shop

☕Coffee Funds☕
Shekels
https://www.paypal.me/bindertronics9/5
Patreon
https://www.patreon.com/BinderTronics
Bitcoin
19nohZzWXxVuZ9tZvw8Pvhajt5khG5mspW
Ethereum
0x5fe29789CDaE8c73C9791bEe36c7ad5db8511D39

00:00 Intro
00:13 Schematic
02:14 SPI Overview
04:43 SPI Master Datasheet
12:48 SPI Master Code
24:10 SPI Slave Datasheet
30:09 SPI Slave code
35:39 SPI Demo
36:09 SPI Slave Data Transfer
36:09 Outro

#picprogramming #picmicrocontroller #MPLAB