MCUXpresso_MIMXRT1021xxxxx/boards/evkmimxrt1020/wifi_examples/wifi_setup
Yilin Sun 763d32be90
Updated SDK to v2.15.000
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-03-15 22:23:36 +08:00
..
armgcc Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00
FreeRTOSConfig.h Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
app_config.h Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00
board.c Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00
board.h Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00
clock_config.c Updated to SDK v2.14.0 2023-08-31 23:30:31 +08:00
clock_config.h Updated to SDK v2.14.0 2023-08-31 23:30:31 +08:00
dcd.c Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
dcd.h Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
lwipopts.h Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00
pin_mux.c Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
pin_mux.h Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
readme.md Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00
readme_modules.txt Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
sdmmc_config.c Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
sdmmc_config.h Updated to SDK v2.14.0 2023-08-31 23:30:31 +08:00
wifi_bt_config.c Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
wifi_bt_config.h Initial SDK v2.12.0 2022-08-23 23:00:33 +08:00
wifi_config.h Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00
wifi_setup.c Updated to SDK v2.14.0 2023-08-31 23:30:31 +08:00
wifi_setup_v3_14.xml Updated SDK to v2.15.000 2024-03-15 22:23:36 +08:00

readme.md

Overview

This demo implements a simple Wi-Fi station setup. The application will automatically scan local wireless networks at startup, then the user will be able to connect to one of the available networks and setup a ping task that will test the connection.

Before building the example application select Wi-Fi module macro in the app_config.h. (see #define WIFI_BOARD). For more information about Wi-Fi module connection see: readme_modules.txt Getting started guide on supported modules configuration: https://www.nxp.com/document/guide/getting-started-with-nxp-wi-fi-modules-using-i-mx-rt-platform:GS-WIFI-MODULES-IMXRT-PLATFORM

SDK version

  • Version: 2.15.000

Toolchain supported

  • IAR embedded Workbench 9.40.1
  • Keil MDK 5.38.1
  • GCC ARM Embedded 12.2
  • MCUXpresso 11.8.0

Hardware requirements

  • Micro USB cable
  • evkmimxrt1020 board
  • Personal Computer

Board settings

Prepare the Demo

  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board
  2. Open a serial terminal with the following settings:
    • 115200 baud rate
    • 8 data bits
    • No parity
    • One stop bit
    • No flow control
  3. Connect the Wi-Fi module.
  4. Download the program to the target board.
  5. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

  1. When the demo starts, basic initialization proceeds - this might take several seconds.
  2. After wifi is initialized, the application will try to scan nearby networks.
  3. Once the scan is finished, the user will be prompted to enter SSID and password for one of the scanned networks to join.
  4. After successfully joining the network, the user will be requested to specify a valid IPv4 address, which will be used for ping test.