Difference between revisions of "PIC32MX: SPI External RAM"

From Mech
Jump to navigationJump to search
Line 12: Line 12:


Include a schematic and give any part numbers. A photo of your circuit is OK, but not as a replacement for a schematic.
Include a schematic and give any part numbers. A photo of your circuit is OK, but not as a replacement for a schematic.
[[Image:External_Ram_PIC32_SPI.png]]


== Code ==
== Code ==

Revision as of 23:51, 15 February 2010

Original Assignment

Do not erase this section!

Your assignment is to interface to the SPI 23K256 SRAM chip.

Overview

This page will guide you how to interface the PIC32 board with the 23K256 external RAM using SPI.

Circuit

Include a schematic and give any part numbers. A photo of your circuit is OK, but not as a replacement for a schematic. External Ram PIC32 SPI.png

Code

Where possible, make it a single piece of well-commented cut-and-pastable code, or at least make each function that way, so others can easily copy it. Most comments should be in the code itself; outside the code (on the wiki) should only be explanatory comments that are too cumbersome to include in the code.