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.

[ARM] stm32 interfacing with enc28j60

Status
Not open for further replies.

sainti

Newbie level 4
Newbie level 4
Joined
Aug 14, 2019
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
60
Hello everyone, Actually am beginner and working on
stm32. Can we assigned a different class IP for enc28j60 module.
For example:
static char ip[4]={192,168,1,129}; // class c ip addr
This ip is related to router ip.
suppoze i want to make it class B like
static char ip[4]={184,168,27,81};
 

Easyrider83

Advanced Member level 5
Advanced Member level 5
Joined
Oct 11, 2011
Messages
1,608
Helped
374
Reputation
748
Reaction score
362
Trophy points
1,363
Location
Tallinn, Estonia
Activity points
8,575
enc28j60 is just a phy. It has nothing to do with ethernet data.
IP processing have to be done by sw.
 
  • Like
Reactions: sainti

    sainti

    Points: 2
    Helpful Answer Positive Rating

betwixt

Super Moderator
Staff member
Advanced Member level 7
Joined
Jul 4, 2009
Messages
15,793
Helped
5,085
Reputation
10,195
Reaction score
4,947
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
133,745
As far as I know the enc28j60 just compares whatever IP you tell it with the data stream. I don't think it is aware of what the numbers actually mean or have any understanding of classes.

Brian.
 
  • Like
Reactions: sainti

    sainti

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top