Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
projects:generator [2017/01/10 20:20]
darron
projects:generator [2017/03/07 05:56]
darron [Schematic]
Line 31: Line 31:
 {{:projects:generator:generator.png?200}} {{:projects:generator:generator.png?200}}
  
-For PIC32 an external audio DAC is required. The CS4334K has been found to +For PIC32 an external audio DAC is required. Only the CS4334K and PT8211 are supported 
-be compatible.+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 the 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]]
 +