Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

chip powered by SPI

chip powered by SPI

2007-09-02 by wd0e

We have a pair of ATMEGA128s talking to each other using SPI.  The
slave is not always powered on.  The problem is when Vcc to the slave
is off it gets partially powered by the SPI lines.

It appears we could isolate them with optoisolators. But is there a
better/cheaper/smaller way?

Jim

Re: [AVR-Chat] chip powered by SPI

2007-09-02 by Jim Wagner

On Sun, 02 Sep 2007 12:44:43 -0000
 "wd0e" <jim@coloradosatellite.com> wrote:
> We have a pair of ATMEGA128s talking to each other using
> SPI.  The
> slave is not always powered on.  The problem is when Vcc
> to the slave
> is off it gets partially powered by the SPI lines.
> 
> It appears we could isolate them with optoisolators. But
> is there a
> better/cheaper/smaller way?
> 
> Jim
> 
You could use a FET in each line with the pull-up powered
by  the local power for the second micro. That should be
smaller, cheaper, and lower power than opto isolators.

Jim Wagner
---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------

Re: [AVR-Chat] chip powered by SPI

2007-09-02 by Dave Hylands

Hi Jim,

On 9/2/07, wd0e <jim@coloradosatellite.com> wrote:
> We have a pair of ATMEGA128s talking to each other using SPI.  The
> slave is not always powered on.  The problem is when Vcc to the slave
> is off it gets partially powered by the SPI lines.

Configure the output SPi lines as GPIO and set them up as outputs
which get driven to ground. This should eliminate and leakage current
via that means. Input lines need to not have any pullups on them.

Have an input signal from the other processor which indicates when
it's on and when its not. You can then reconfigure the appropriate
lines when the other processor powered on versus not powered on.


-- 
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

Re: [AVR-Chat] chip powered by SPI

2007-09-03 by maria mastik

Hi 
  you can use a pull up ressistor (internal pul ups can be used) on the slave front for each input pin of spi (MOSI,SCK,SS) and a diode which anode is connected to slave pin and the cathode is connected to the corresponding pin of master.
   
  I dont have any idea about MISO pin.

wd0e <jim@coloradosatellite.com> wrote:
          We have a pair of ATMEGA128s talking to each other using SPI. The
slave is not always powered on. The problem is when Vcc to the slave
is off it gets partially powered by the SPI lines.

It appears we could isolate them with optoisolators. But is there a
better/cheaper/smaller way?

Jim



                         

       
---------------------------------
Pinpoint customers who are looking for what you sell. 

[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.