Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:generator [2017/01/10 20:21] – [Schematic] darronprojects:generator [2017/03/07 05:57] (current) – [Schematic] darron
Line 31: Line 31:
 {{:projects:generator:generator.png?200}} {{:projects:generator:generator.png?200}}
  
-For PIC32 an external audio DAC is required. Only the CS4334K is supported +For PIC32 an external audio DAC is required. Only the CS4334K and PT8211 are supported 
-at present.+at present and are selected at compile time. Connection to either device is as follows. 
 + 
 +<columns 50% 50% -> 
 +<code> 
 +CS4334K WITH Vcc = 5V. 
 + 
 +PIC32MX150   CS4334K         COMMENT 
 +----------   -------         ------- 
 +PIN 15 RPB6  PIN 4 MCLK      128X OVERSAMPLING CLOCK 
 +PIN 16 RPB7  PIN 3 LRCK      SAMPLE RATE LEFT/RIGHT CLOCK 
 +PIN 17 RPB8  PIN 1 SDATA     SERIAL DATA INPUT 
 +PIN 18 RPB9  PIN 2 DEM/SCLK  DE-EMPHASIS FILTER OFF/ON 
 +PIN 25 SCK1                  UNUSED 
 +</code> 
 + 
 +</columns> 
 + 
 +<columns 50% 50% -> 
 + 
 +<code> 
 +PT8211 WITH Vdd = 5V. 
 + 
 +PIC32MX150   PT8211          COMMENT 
 +----------   -------         ------- 
 +PIN 15 RPB6                  UNUSED 
 +PIN 16 RPB7  PIN 2 WS        SAMPLE RATE LEFT/RIGHT CLOCK 
 +PIN 17 RPB8  PIN 3 SDATA     SERIAL DATA INPUT 
 +PIN 18 RPB9                  UNUSED 
 +PIN 25 SCK1  PIN 1 BCK       SERIAL BIT CLOCK 
 +</code> 
 + 
 +</columns> 
 + 
 +The CS4334K is a far superior device, but the PT8211 is incredibly cheap (15p each).
  
 === Firmware === === Firmware ===
Line 111: Line 144:
 === Resources === === Resources ===
 [[http://en.wikipedia.org/wiki/Numerically_controlled_oscillator|NCO]] [[http://en.wikipedia.org/wiki/Numerically_controlled_oscillator|NCO]]
 +