Difference between revisions of "PIC32MX: SPI DAC"

From Mech
Jump to navigationJump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''THIS PROJECT IS NOT WORKING YET! PLEASE IGNORE THIS PAGE'''

== Original Assignment ==
== Original Assignment ==


Line 7: Line 9:
== Overview ==
== 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.
Summarize briefly what the page is about.


== Circuit ==
== Circuit ==


This was our circuit that we built using schematics found on online data sheet for practical applications, but they failed to communicate with the MCP4921 Digital to Analog Converter Chip. The two outputs form the PIC32 NU32 are the SPI communication Serial Data Clock (D10) and Serial Data Output (D0). [[Image:SPI Schematic.jpg]]
Include a schematic and give any part numbers. A photo of your circuit is OK, but not as a replacement for a schematic.

== 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.

Latest revision as of 14:40, 1 March 2010

THIS PROJECT IS NOT WORKING YET! PLEASE IGNORE THIS PAGE

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

This was our circuit that we built using schematics found on online data sheet for practical applications, but they failed to communicate with the MCP4921 Digital to Analog Converter Chip. The two outputs form the PIC32 NU32 are the SPI communication Serial Data Clock (D10) and Serial Data Output (D0). SPI Schematic.jpg