|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Chip Amps Amplifiers based on integrated circuits |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Mar 2006
Location: Great Yarmouth, UK
|
Hi all,
I am designing a fairly simple PIC16F / PGA2310 based preamp and have the PIC always running on it's own +5v supply, in order to switch on / off separate 5v and +/- 15v supplies for the rest of the circuit (i.e it also controls mains power to the rest of the stuff). This of course means that the PIC and PGA2310 / LCD etc are on separate 5v supplies, though their grounds are joined. Is there anything I need to know in order to make this work? Suppose the PIC supply sits at a steady 5.00v as it's not heavily loaded, but the PGA2310 supply sags down to 4.50v for whatever reason (it shouldn't, but who knows). Now lets suppose I try and set the volume and send +5.00v signals to the PGA2310 control lines. Will any damage be done because the PGA2310 supply is only at 4.50v but the control signals are +5.00v? The datasheet says digital input voltage is -0.3v to +VD, so I assume it's going to be a problem. How might I work around it, if it is? Any advice would be much appreciated! |
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Jul 2007
Location: Central Berlin, Germany
|
Use series isolation resistors on all digital lines to the PGA. I assume that you don't clock the data in at full rate (6MHz, IIRC) so the roll-off from input capacitance will not be an issue. I'd try series R in the range of 3k...30k. They'd current limit the high level voltages enough to keep any backpower issues out of the picture. The leakage current is to small for any significant drop in steady state (10uA will give 0.1V with 10k). If the PIC puts out rail-to-rail (and can source some current), that is true 5V with 5V supplies, you could also use R dividers, as the PGA's high level threshold is at 2V. Design for a 3V input level and you are safe. These series R (or divider), especially when combined with ferrite beads, also do a great job to prevent any HF from the PIC entering the PGA's analog circuitry.
The absolut safest way would be additional open-drain/open-collector drivers (made of discretes, e.g.) pulled up to the PGA's 5V. And the best isolation (HF-wise and DC as well) would be acheivable with optocouplers, which would allow seperate GNDs also, thus total isolation. Just take care not to use a too fast clock rate. - Klaus |
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Mar 2006
Location: Great Yarmouth, UK
|
Thanks. I will try series resistors.
I do have another question though, sorry. Pull up and pull down resistors on control lines..... pull down to ground doesn't matter too much I guess, but pull up to 5v... which 5v supply should I pull up to? The PIC has protection diodes on its pins to clamp the voltage apparently, but I don't know about the PGA2310, 74HC595 and anything else connected to the second 5v supply. I guess I should pull up to the second supply then, as if it happens to be a higher voltage then the series resistor and protection diodes will save the day... right? For example:
|
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Mar 2006
Location: Great Yarmouth, UK
|
Actually, the only pin I think I will need a pull up on is RA4 (I will be using a PIC18F) as the datasheet says it is open drain. I will just take that to the HC595 5v supply. The rest of the pins interfacing to the HC595 / PGA will be outputs at the PIC, always.... so I don't think pull up resistors will be necessary?
|
|
|
|
|
#5 |
|
diyAudio Member
Join Date: Jul 2007
Location: Central Berlin, Germany
|
If the PIC had open-drain outputs (GP0 and GP1 in your schem) that would be perfect. Just use pullups to the PGA's 5V, then a series R to the PGA inputs (not the other way round as in your schem).
|
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Mar 2006
Location: Great Yarmouth, UK
|
Thanks alot Klaus!
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| digital/pga power supply... separate or same as lm3886? | geekysuavo | Chip Amps | 1 | 13th April 2009 02:43 AM |
| Separate left-right channel digital signal | Paco | Digital Source | 0 | 7th February 2007 03:34 PM |
| UCD separate opamp supply? | badman | Class D | 129 | 8th June 2006 07:48 AM |
| A different problem: analog phone to digital interfacing | wearable | Everything Else | 0 | 10th August 2005 07:39 AM |
| Interfacing dual and single supply parts? | CryingDragon | Solid State | 2 | 5th December 2002 06:26 PM |
| New To Site? | Need Help? |
| Page generated in 0.07915 seconds (77.50% PHP - 22.50% MySQL) with 10 queries |