Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

sysnchronous communication

Status
Not open for further replies.

snsriram79

Member level 4
Joined
May 8, 2001
Messages
71
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
513
i would like to interface my microcontroller synchronously with my pc. i have tried asynchrounous communication ie rs232 and it works fine.

now i would like to learn sync communcation can someone help me

sriram
 

gabby

Member level 5
Joined
Mar 18, 2002
Messages
94
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
Israel
Activity points
1,239
Hi.

They are some kind of sync interface that start from:
(in system)
2-wire :
like i2c ( one is the master other are slave)
clock , data(bidirectional)

4-wire:

like spi ( one is the master other are slave)
clock, data-in,data-out,rst

6-wire:

data-in, clock-in, sync-in
data-out, clock-out, sync-out


(out-system)
other wire interfaces.
like: t1-t3, e1-e3,isdn ,usb, etc...


as you see all the interface have the clock singnal and data for minimum
interface the other is for the specific protocol .

for more info tell more for your needs.


Best regards. 8)
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,861
With sychronous comms, you have a common clock to both circuits.
Then they are sychronised!
You can go at much faster speeds because both circuits know were they are!
Unfortunately, the pc interface does not suport this, unless you write your own routines. You could use maybe CTS as the clock, and write some code to talk to the uart on the PC.
:D
 

snsriram79

Member level 4
Joined
May 8, 2001
Messages
71
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
513
example

can u give link to sum site which has sum example on this synchronous communication with pc so that i can get the feel of it

10q
sriram
 

VladZ

Member level 2
Joined
Dec 11, 2001
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
334
Hi !
you can try www.beyondlogic.org There are some reviews of PC parallel port interfasing (datails are in IEEE 1284 Standard). In the EPP mode parallel port works quite fast (more than 500 kbytes/s ).

Best reagrds
VladZ
 

snsriram79

Member level 4
Joined
May 8, 2001
Messages
71
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
513
serial

i would like to learn synchrounous serial port communciation

anyway thanks

sriram
 

G

Guest

Guest
SSP

Sorry, as I know PC has no standard synchrounous serial port. As described btbass you must emulate it by standard serial or parallel port.


VladZ
 

bunalmis

Full Member level 5
Joined
Jan 3, 2003
Messages
268
Helped
19
Reputation
38
Reaction score
11
Trophy points
1,298
Location
Ireland
Activity points
2,147
"i would like to interface my microcontroller synchronously with my pc. i have tried asynchrounous communication ie rs232 and it works fine.
now i would like to learn sync communcation can someone help me"

you must search the SPI (serial peripheral interface.)

PC harware has only UART (universal Asynchronous Receiver/Transmitter)
you need USART chip for syncron communication.

But you can use some i/o pins and communicate other devices using software emulated shift register. But this different USART communication.
 

MonkeyBusiness

Member level 2
Joined
Jan 16, 2003
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Israel
Activity points
458
There is no standard sync port in the PC.
If you just want something simple and faster than RS-232, you can use the parallel port, where you can use some of the lines as data lines, and dedicate one line to be a strobe (clock) line.

You can check http://www.lvr.com/parport.htm for more details on parallel port programming
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top