[ARM] stm32 interfacing with enc28j60

Status
Not open for further replies.

sainti

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};
 

enc28j60 is just a phy. It has nothing to do with ethernet data.
IP processing have to be done by sw.
 
Reactions: sainti

    sainti

    Points: 2
    Helpful Answer Positive Rating
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.
 
Reactions: sainti

    sainti

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

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…