Link Search Menu Expand Document

MCHP

Azure NetX Duo Demo Wi-Fi

This example implements a TCP echo server using a Wi-Fi connection.

Description

This demonstration implements a TCP echo server using a Wi-Fi connection.

Refer to the full Microsoft documentation for this application: TBD.

Downloading and building the application

To clone or download these applications from Github, go to the main page of this repository and then click Clone button to clone this repository or download as zip file. This content can also be downloaded using content manager by following these instructions

Path of the application within the repository is apps/netxduo/tcp_echo_server_wifi/firmware/

To build the application, refer to the following table and open the project using its IDE.

Azure NetX Duo Demo Wi-Fi Application

Project Name Description
sam_e54_xpro.X MPLABX Project for SAM E54 Xplained Pro Evaluation Kit with ATWINC1500 XPRO

Setting up SAM E54 Xplained Pro Evaluation Kit

  • Connect the Debug USB port on the board to the computer using a micro USB cable
  • Connect the EXT1 extension port on the board to the WINC1500 XPRO

Running the Application

  1. Update the file \apps\iot\tcp_echo_server_wifi\firmware\src\app_wifi.c with your AP credentials
  2. Build and program the application using the MPLAB X IDE
  3. The board has a SERCOM configuration:
    1. A virtual COM port will be detected on the computer, when the USB cable is connected to USB-UART connector.
    2. Open a standard terminal application on the computer (like Hyper-terminal or Tera Term) and configure the virtual COM port.
    3. Set the serial baud rate to 115200 baud in the terminal application.
    4. See that the initialization prints on the serial port terminal.
  4. Connect with a client TCP socket to the board IP address, using port 7
  5. Type a message to the server. The server will echo back the message to the client and close the connection.
  6. Another connection can then be started.
  7. Refer to the full Microsoft documentation for this application: TBD.


Copyright © 2020 Microchip Technology.