2012-01-09 04:27 AM
Is it possible to have a ethernet port and open a socket port where a PC can send/receive a stream of data with the ARM processor?
How should I do this? Do you have a tutorial/sample for me? Thank you #socket-ethernet2012-01-09 05:12 AM
You need a TCP/IP protocol stack. A lightweight one like LwIP might suffice. Google around a bit and find one that fits your needs/costs.
2012-01-09 08:23 AM
Do you think I can setup a socket and send/receive stream of strings data using that?
Thank you2012-01-09 08:51 AM
Do you think I can setup a socket and send/receive stream of strings data using that?
I can't speak to your skills to implement/port code, but most of the STM32 Ethernet TCP/IP examples come with a simple HTTP web server which clearly demonstrate an ability to send/receive data via sockets. The professionally written/licensed solutions are likely to come with more clean/clear examples. Look for one of the many STM32 Development Kits with Ethernet, and demo applications. How familiar are you with socket programming in general? For example have to implemented a HTTP client/server, POP or SMTP? Here's an OS example of FTP2012-01-09 11:01 PM
Some useful Application notes: AN3376, AN3384 and AN3365:
http://www.st.com/internet/mcu/product/250176.jsp2012-01-10 12:06 AM
Thanks to everybody for the tips!
I'll get inside