PIC32MX: SPI External RAM
From Mech
Jump to navigationJump to searchOriginal 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
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.