This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ethernet communication between pc and multiple arm microcontroller

HI,

I need help regarding Ethernet communication. I am using stm32f107 arm microcontroller for ethernet communication.the commincation between pc to single microcontroller works fine.When multiple microcontrollers are connected to single pc occurs problem.

How to overcome this isuue.Please help.thank you

Parents
  • Hi,

    The communication between single microcontroller and pc is works fine through ethernet tcp/ip . problem occurs only when i connect two microcontroller to a single pc via ethenet cable,Here d-link 5-port 10/100 desktop (www.etcuae.com/d-link-des1005a-5-port-10-100-switch-fast-ethernet.html) is used for multiple connection.when connection made for multiple microcontroller ,the communication doesn't work properly.Either one connection will be in active condition other will be inactive.

    I need solution to overcome this issue.My requirment is from pc it sends query to microcontroller-1 after receiving response from microcontroller-1 .It has to send next query to Microcontroller-2.Process should be repeat.

    I gave different ip address for microcontroller.
    I have two microcontroller boars ie stm32f107 arm microcontrollers.

    1.First controller having ip address for one microcontroller to 192.168.1.252, port number 23 and modbus communication slave id 1.

    2.Second microcontroller having an ip address 192.168.1.251, port number 22 and modbus communication slave id 2.

    Pc ip address 192.168.1.154.

    Is it possible? If yes please please guide me. Please anyone reply as soon as possible......

    Thanking You....

Reply
  • Hi,

    The communication between single microcontroller and pc is works fine through ethernet tcp/ip . problem occurs only when i connect two microcontroller to a single pc via ethenet cable,Here d-link 5-port 10/100 desktop (www.etcuae.com/d-link-des1005a-5-port-10-100-switch-fast-ethernet.html) is used for multiple connection.when connection made for multiple microcontroller ,the communication doesn't work properly.Either one connection will be in active condition other will be inactive.

    I need solution to overcome this issue.My requirment is from pc it sends query to microcontroller-1 after receiving response from microcontroller-1 .It has to send next query to Microcontroller-2.Process should be repeat.

    I gave different ip address for microcontroller.
    I have two microcontroller boars ie stm32f107 arm microcontrollers.

    1.First controller having ip address for one microcontroller to 192.168.1.252, port number 23 and modbus communication slave id 1.

    2.Second microcontroller having an ip address 192.168.1.251, port number 22 and modbus communication slave id 2.

    Pc ip address 192.168.1.154.

    Is it possible? If yes please please guide me. Please anyone reply as soon as possible......

    Thanking You....

Children