Difference between revisions of "PIC32MX: SPI DAC"

From Mech
Jump to navigationJump to search
Line 13: Line 13:
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.


No working circuit was found.
== 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.

Revision as of 19:55, 15 February 2010

Original Assignment

Do not erase this section!

Your assignment is to interface to the SPI MCP4921 digital to analog converter (DAC).

Overview

The goal was to communicate via SPI communications protocol with a 10bit Digital to Analog converter. We were never able to get the PIC to even send data.

Circuit

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

No working circuit was found.