Yilin Sun
763d32be90
Signed-off-by: Yilin Sun <imi415@imi.moe> |
||
---|---|---|
.. | ||
armgcc | ||
FreeRTOSConfig.h | ||
app_config.h | ||
board.c | ||
board.h | ||
clock_config.c | ||
clock_config.h | ||
dcd.c | ||
dcd.h | ||
lwipopts.h | ||
pin_mux.c | ||
pin_mux.h | ||
readme.md | ||
readme_modules.txt | ||
sdmmc_config.c | ||
sdmmc_config.h | ||
wifi_bt_config.c | ||
wifi_bt_config.h | ||
wifi_config.h | ||
wifi_setup.c | ||
wifi_setup_v3_14.xml |
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
- Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board
- Open a serial terminal with the following settings:
- 115200 baud rate
- 8 data bits
- No parity
- One stop bit
- No flow control
- Connect the Wi-Fi module.
- Download the program to the target board.
- Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
- When the demo starts, basic initialization proceeds - this might take several seconds.
- After wifi is initialized, the application will try to scan nearby networks.
- Once the scan is finished, the user will be prompted to enter SSID and password for one of the scanned networks to join.
- After successfully joining the network, the user will be requested to specify a valid IPv4 address, which will be used for ping test.