ATWILC1000/ATWILC3000 Wi-Fi® Link Controller Linux® User Guide Introduction This user guide describes how to run Wi-Fi on the ATWILC1000 SD card or the ATWILC3000 Shield ® board on the SAMA5D4 Xplained Ultra running with the Linux kernel 4.9. Note: All references to the ATWILC module includes all the devices listed below unless otherwise noted: •...
2.4. Building Linux Kernel Individually....................6 3. Updating Binary and System Image into the Target Board........7 4. Updating ATWILC Firmware..................9 4.1. ATWILC1000 and ATWILC3000 Driver Modules................9 4.2. ATWILC1000 and ATWILC3000 Firmware Binaries..............9 5. Running ATWILC..................... 10 5.1. Accessing the Console.......................10 5.2.
The build prerequisite for Linux is a host PC with Linux operating system. The hardware prerequisites are the following: • Linux – SAMA5D4 Xplained Ultra – ATWILC1000 SD Pro card – ATWILC3000 Shield board – USB to Serial adapter (for DEBUG port) • Common –...
After the system boots, add the ATWILC driver modules wilc-sdio.ko, or wilc-spi.ko to /lib/ modules/4.9.xx-XX/kernel/drivers/staging/wilc1000/ directory or copy to any location on the file system. ATWILC1000 and ATWILC3000 Firmware Binaries Add the ATWILC1000 firmware wilc1000_wifi_firmware.bin to the /lib/firmware/ mchp/ directory. Add the ATWILC3000 Wi-Fi firmware, wilc3000_wifi_firmware.bin to the/lib/firmware/ mchp/ directory.
ATWILC1000/ATWILC3000 Running ATWILC Running ATWILC This chapter describes how to use the ATWILC1000 and ATWILC3000 on the SAMA5D4 Xplained Board or any similar Linux platform. Accessing the Console The user can access the serial console through the on board serial-to-USB converter. In fact, the Embedded Debugger (EDBG) chip on the evaluation kit acts as a serial-to-USB converter and is loaded with a firmware that can communicate via USB-CDC protocol.
5.2.1 SD Express Board Before performing the boot-up operation, ensure that the ATWILC1000 SD Express board is connected in the SD slot (J24) of the SAMA5D4 Xplained board (see following figure). Figure 5-1. SAMA5D4 SD Connection The Secure Digital Input/Output (SDIO) Express card is recognized during boot-up with the following lines.
ATWILC1000/ATWILC3000 Running ATWILC 5.2.2 Serial Peripheral Interface Board The ATWILC1000 Serial Peripheral Interface (SPI) board must be connected to SPI1 interface at J17 as shown in the following figure. Figure 5-2. SAMA5D4 SPI Connection Table 5-2. SPI Pin Descriptions SPI Pins Header J17 Pins...
Running in the ATWILC Station Mode The following example shows how to run the ATWILC device in Station mode, and connect to an AP. Initialize the ATWILC1000 and ATWILC3000 driver module, using the following command: Welcome to Buildroot buildroot login: root...
Start the DHCP server using the #/etc/init.d/S80dhcp-server start command. The user can now connect the PC or smartphone to the ATWILC1000 access point. To configure AP in the WPS mode, use the same steps for WPA/WPA2 settings, then use the...
Page 24
# echo GPIO_NUM > /sys/wilc/antenna2 ( for dual antenna switch) where, GPIO_NUM is any valid GPIO for antenna diversity. Valid GPIOs for the ATWILC1000 are 0, 1, 4 and 6. Valid GPIOs for the ATWILC3000 are 3, 4, 17, 18, 19 and 20.
Page 26
#echo mem > /sys/power/state 5.12.2 Set Transmit Power The user can control the Tx power of ATWILC1000 or ATWILC3000 using the iw tool with the following command line arguments. $ iw dev wlan0 set txpower fixed x Where x is the desired Tx level.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
Need help?
Do you have a question about the ATWILC1000 and is the answer not in the manual?
Questions and answers