CAN we communicate two Microcontrollers via TCP IP Protocol?

Status
Not open for further replies.

nagarajanj21

Member level 1
Joined
Aug 24, 2010
Messages
37
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Chennai, INDIA
Activity points
1,492
I am using IAR LPC2378 development board. i want to communicate two LPC2378 development board via TCP IP protocol. i am using uIP embedded TCP IP stack for PC to LPC22378 communication and its working well. now i want to communicate with two LPC2378 development boards. is it possible to communicate via TCP IP . if possible means how can i acheive it.....need a quick reply. Thanks in advance.




Regards,
NAGARAJAN.J
 

What a bizarre question. TCP/IP doesn't care what device you use - How would it know? it doesn't have to be a PC. If it is working well to a PC then it will work well with any other device that can communicate with the same set of protocols.
 

It must work, but you must have all necessary hardwer. How I see on **broken link removed**. So, you have ethernet ready devices. Maybe, you will need some LAN switch, but for that purpose you can use and WiFi router with LAN ports (and switch in box). Of course, you will set static IP address for your devices, because you will not have DHCP to do that for you.
 

Yes , you can
I tested that by myself
It was raw communication without TCP/IP , UDP ... headers
Here's the sample code for LPC1768 on IAR and Uvision4
 

Attachments

  • EmacRaw.rar
    530.4 KB · Views: 75

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…