Maker Pro
Maker Pro

Embedded ethernet

D

devang

Jan 1, 1970
0
Dear All,

I am trying to implement ethernet using any microcontroller may be 8
bit or 16 bit.

I have come across some ready made ethernet to ttl converters but, I
need to develope on my own, i.e. using microcontroller and some
interfacing circuit.

Can anybody suggest any microcontroller and / or interfacing chip??

I need a direction to start my project in particular direction.

Thanks & Regards,
Devang Tanna
 
J

John Barrett

Jan 1, 1970
0
devang said:
Dear All,

I am trying to implement ethernet using any microcontroller may be 8
bit or 16 bit.

I have come across some ready made ethernet to ttl converters but, I
need to develope on my own, i.e. using microcontroller and some
interfacing circuit.

Can anybody suggest any microcontroller and / or interfacing chip??

I need a direction to start my project in particular direction.

Thanks & Regards,
Devang Tanna
Just to make sure I understand what you are asking, you dont want to use ANY
off the shelf ethernet chipset ?? you want to basically hook up an AVR/PIC
to a 802.3 PHY layer and do all the link layer in code ?? Or are you talking
about implemeting the PHY yourself ??

here is an example of a PHY for 802.3

http://www.teridian.com/products/product_detail.cfm?product_key=74

Is that what you want to build, or does that get you what you need to work
the higher layers in the microcontroller ??
 
J

John Barrett

Jan 1, 1970
0
devang said:
Dear All,

I am trying to implement ethernet using any microcontroller may be 8
bit or 16 bit.

I have come across some ready made ethernet to ttl converters but, I
need to develope on my own, i.e. using microcontroller and some
interfacing circuit.

Can anybody suggest any microcontroller and / or interfacing chip??

I need a direction to start my project in particular direction.

Thanks & Regards,
Devang Tanna

I just did a little research -- if you are trying to implement a PHY, you
need to go talk to the DSP people.. There isnt a microcontroller anywhere
near fast enough to handle what a PHY does by any stretch of the imagination

If you are looking to implement the 802.3 MAC, there is an example at
http://www.opencores.org for CPLD devices which might give you enough info
to write a MAC for a microcontroller. However, I dont think any of the 8 bit
controllers (AVR or PIC) could handle the job.. you'll need something with a
much higher clock speed and better synchronous serial I/O capability than
you can get in any 8 bit chip, and even then, dont bet on being able to
handle anything more than 10 megabit... you need to implement the guts in
hardware if you want to go faster than that.
 
J

Jan Panteltje

Jan 1, 1970
0
Dear All,

I am trying to implement ethernet using any microcontroller may be 8
bit or 16 bit.

I have come across some ready made ethernet to ttl converters but, I
need to develope on my own, i.e. using microcontroller and some
interfacing circuit.

Can anybody suggest any microcontroller and / or interfacing chip??

I need a direction to start my project in particular direction.

Thanks & Regards,
Devang Tanna

You can make life a bit easier for yourself with the W3100A:
http://www.wiznet.co.kr/pro_iin_W3100ALF.htm
Or buy a complete module iiM7000 (came with a RJ45 connector and magnetics in my case):
http://www.mcselec.com/index.php?pa...age&product_id=24&option=com_phpshop&Itemid=1

Also the C sources for TCP server etc. for this module are freely available
on the net.
Watch out, there is a (later) I2C, and a non-i2c version of the IIM7000 IIRC.
 
D

devang

Jan 1, 1970
0
You can make life a bit easier for yourself with the W3100A:
http://www.wiznet.co.kr/pro_iin_W3100ALF.htm
Or buy a complete module iiM7000 (came with a RJ45 connector and magnetics in my case):
http://www.mcselec.com/index.php?page=shop.product_details&flypage=sh...

Also the C sources for TCP server etc. for this module are freely available
on the net.
Watch out, there is a (later) I2C, and a non-i2c version of the IIM7000 IIRC.

Dear All,

thank you very much for your replies.

I want to basically connect my project to TCP / IP or UDP network. I
dont have much idea of doing it how to do it.

The only thing I know is i cant use any ready made ethernet to ttl
converter. so yes I want to implement ethernet circuit and code on my
own. I do have some basic knowledge of tcp/ip protocols with code.,(I
have a reference book for that). but i dont know exactly where to
start.

I think I will try to research more on the links you all have provided
and will let you know about exact requirement.

Thanks & Regards,
Devang Tanna
 
P

Paul Burke

Jan 1, 1970
0
devang said:
I want to basically connect my project to TCP / IP or UDP network. I
dont have much idea of doing it how to do it.

The only thing I know is i cant use any ready made ethernet to ttl
converter.

Oy is that all. Try this: http://tinyurl.com/3dyy8e

Paul Burke
 
B

Bob

Jan 1, 1970
0
Isnt that a "ready made ethernet to ttl converter" ??


In my opinion no, it requires mounting on a circuit board with a
seperatly purchased transformer

Bob
 
H

Homer J Simpson

Jan 1, 1970
0
I am trying to implement ethernet using any microcontroller may be 8
bit or 16 bit.

ISTR there is already a project out there - tiny Ethernet or something like
that?

--
..

--
..
..
..
..
..
..
..
..

--
 
P

Paul Burke

Jan 1, 1970
0
John said:
Isnt that a "ready made ethernet to ttl converter" ??

Well, it's CMOS for a start, and it requires transformers on the net
side... but I suppose "TTL" (*) means "logic of any sort" in these
dumbed down latter days. OK, if you have to make trouble, get hold of an
eZ80F91 devkit and a KS8721 or something, and implement one of the
examples that come with the network stack. For what you'll learn (if it
is a college exercise) I can't see the difference really.

Paul Burke

(*) Grumble grumble... all that time spent learning why TTL was faster
but had worse noise margin, if you want an industrial system use 15V
4000 series or better still those Norbrick chunks.
 
D

devang

Jan 1, 1970
0
PIC18F**** and ENC28J60

Dear friends,

Thank you very much for all the responses.

I have also been watching enc28j60. that is the best ethernet
controller available which is spi enabled and have builtin phy and mac
within it. I referred it datasheet for my application.

I think it will suit my requirements.

Now , i came to know that it does ethernet framing on its own, which
is again an advantage.

But how can I communicate with PC? using ENC28j60? I mean do i need to
implement TCP/IP Stack with that????? I need tcp/ip and udp protocols
for that. is source code available with microchip website?

I downloaded tcp/ip stack 4 but I dont understand exactly how to use
it.

can anyone help me, please..........

Best Regards,
Devang Tanna
 
Top