Difference between revisions of "PIC32MX: SPI External RAM"
From Mech
Jump to navigationJump to search (→Code) |
|||
Line 16: | Line 16: | ||
== Code == |
== Code == |
||
1. Go to this link [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en542689] and |
|||
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. |
Revision as of 23:54, 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
Circuit diagram showing PIC32 connected to external RAM 23K256. The circuit is an edited version of a circuit from this microchip documentation [1].
Code
1. Go to this link [2] and