Strict Standards: Declaration of action_plugin_googleanalytics::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/ulcape/www/wiki.ulcape.org/lib/plugins/googleanalytics/action.php on line 6

Strict Standards: Declaration of action_plugin_stripslashes::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/ulcape/www/wiki.ulcape.org/lib/plugins/stripslashes/action.php on line 0
CAPE Wiki » tutorials:pic:pic18_spi
 

Using SPI on PIC18 Series Microcontrollers

This tutorial is currently under construction.

The following is geared for the 18F4520. This tutorial will also work with the 18F452 and the 18F4525. Before continuing, be sure to read through the first tutorial in this series, PIC Programming Basics

Introduction

In this tutorial, an in depth explanation of SPI communication on PIC18 series microcontrollers is given. Both master and slave modes of operation will be discussed along with practical considerations which must be taken into account when implementing either. Though the c18 compiler will be used in this tutorial, a low level approach in which registers are modified directly will be taken as opposed to using existing functions in the c18 library. This is done so that the reader is provided with an unobstructed view of the PIC18 hardware and is there for able to see on a register by register basis exactly what is going on “behind the scenes”.

duty free alcohol airport duty free cigs uk buy duty free cuban cigars where to buy cosmetics duty free fragrances buy tobacco duty free