Yahoo Groups archive

AVR-Chat

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

Message

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/

Attachments

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.