Showing posts with label USB Circuits. Show all posts
Showing posts with label USB Circuits. Show all posts

Wednesday, July 13, 2011

USB Audio Interface based DAC PCM2902

USB Audio Interface based DAC PCM2902

This is the circuit quality preamplifier with built-in USB DAC for my Leachamp power amplifier. Scheme is PCM2902 datasheet. Circuit includes DAC and ADC, SPDIF input and output of HID and with 3 buttons + MUTE, VOL-and VOL.



For playback of high quality needed for external low-drop voltage stabilizer for the DAC. LP2951CM DAC is used, which was readily available in local stores. Output voltage is fixed at about 3.7 V with two resistors. Circuit board is designed with regard to the placement of good land, and the separation of digital and analog ground. These earth are connected in a single point in a USB connector.



USB Audio Interface based DAC PCM2902

The PCM2902 data sheet is recommended to connect a low pass filter the DAC output to filter high frequencies above audioband produced by the conversion of oversampling. Digital integrated circuits that includes LPF filter frequency above 100 kHz. In the Notes application filter on the pages of the manufacturer recommends first-order LPF (simple RC) or 2 nd order with amplifiers operating as a preamp that works well. I simple RC LPF with the recommended values ​​R and C 1k 4N7. It is best to use the scroll-type ceramic capacitor in place. I did not hear the difference in sound between the connection filter or not, but with respect to other components in an audio chain is best used. For maximum cutoff frequency that can change the capacitor value of 3n3
ReadMore[..]

Wednesday, June 30, 2010

USB-FX2 USB-2.0 interface board circuit schematic

USB-FX2 USB-2.0 interface board circuit schematicUSB-FX2 USB-2.0 interface board circuit schematic

There are some things one should be aware of when building the design above:

  • Resonator: According to the data sheet, the FX2LP has an on-chip oscillator circuit which requires an external 24MHz (±100ppm) parallel resonant, fundamental mode crystal with 500uW drive level and 12pF (5% tolerance) load capacitors. So, you can't just put any 24MHz crystal there but things don't seem to be as critical as one may expect. I'm using a 24MHz fundamental mode crystal (24-MA505 from Reichelt) with 10..15pF caps (or even 32pF).

    (Note: In the schematic above, there are 2 crystal oscillators in parallel merely to have both options on the PCB (one of them is an SMD). Only one of them is actually soldered onto the board.)
  • EEPROM: You can use an optional serial EEPROM to store either USB configuration data or a complete program which is loaded into the microcontroller's RAM at startup. You can leave it away completely to use default USB config data and download firmware via the USB (thereby also changing, the config data, it's the so-called ReNumeration thingy). Note, however, that if you leave away the EEPROM, you must still put in both the 2.2k I2C bus pull-up resistors.
  • PWR_SEL: For USB-powered operation (500mA max), close a jumper between pins 2 and 3, for externally powered operation, apply 5V and GND to pins 2 and 1, respectively. There is an additional 5V, 3.3V and GND power connector called PWR_HUB to connect with add-on boards.
  • For 5V-to-3.3V conversion, you need to use an LDO (low-dropout regulator) like the LM2937. It should have a drop-out of 1.2V max since the USB specs allow the 5V voltage to be as low as 4.5V on the slave side.
  • Of course, usual voodoo applies like putting decoupling caps near by and keeping the USB data lines short. A massive ground plane is mandatory, at least for the analog half. Forget about Cypress telling you that you need at least a 4-layer PCB. My regular 2-layer PCB (ground plane on bottom) works stable in high-speed mode even with 3m USB cable.
Source : www.triplespark.net
ReadMore[..]