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.

control using I2C or Serial Communication

Status
Not open for further replies.

Rajan saraswathi

Newbie level 2
Newbie level 2
Joined
Dec 1, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
Can a serial communication control an IC? or I2C?...which will be best and why?
 

hello,

You mean control another MCU ?
booth method UART or I2C can control , dialogue with another MCU
but with UART you have to use a protocol .. how do you will exchange data example : simplex link, XOn XOFF or your own protocol.

With I2C you must have a master MCU and a slave MCU
most of MCU have inbuilt I2C hardware..
protocole allready exist to read or write data..
 
thanks PAULFJUJO,one more doubt is
The process i'm going to carry out is Read/Write in both ways.....from IC to controller and Controller to IC..for that whether I2C is better than Serial communication
 

with I2C
you need to define wich is the master, and witch is the slave.

with UART, you define yourself the protocol .. like a talkywalky paire ?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top