Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] SPI communication between two AVRs

Status
Not open for further replies.

NewbeeAVR

Junior Member level 2
Junior Member level 2
Joined
Dec 2, 2017
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
195
I have two AVRs need to connect through SPI both AVRs are supplied with separate power supply. Did I need to make ground of both supply common?
 

Hi,

Since each AVR´s input voltage refers to the AVR_GND .... for sure both reference points (both GNDs) need to be connected.
Otherwise it´s like you have a voltmeter and connect just one input. It will show "nothing" in best case, or nonsense. Take care about ESD.

Btw: it´s no good idea for longer distance.
For longer distance: Either use differential signaling like RS485, or galvanically isolated interface (or both).

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top