5 Porting ATWINC15x0 to Third Party MCU

This use case describes how to integrate the ATWINC15x0 solution with the third party MCU via SPI (Serial peripheral interface). The user needs to use the Atmel Software Framework (ASF3) ATWINC15x0 driver for adding support for the third party MCU. Perform the following steps to generate the ATWINC15x0 driver from ASF3.

  1. Open Atmel Studio.
  2. Open the basic reference application from File > New > Example Project.
  3. Select the “WINC1500 AP Scan Example-SAMD21 Xplained Pro”.
  4. Navigate to <Root_folder_path>\WINC1500_AP_SCAN_EXAMPLE7\WINC1500_AP_SCAN_EXAMPLE7\src\ASF\common\components.
  5. Copy the wifi folder to the third party MCU development environment.
  6. Add the wifi folder to the third party MCU application. The folder structure of the ATWINC15x0 driver displays as follows:
    Figure 5-1. Folder Structure of ATWINC15x0 Driver
  7. Modify the files (nm_bus_wrapper_samd21.c, nm_bsp_samd21.c and nm_bsp_samd21.h) for porting the ATWINC15x0 driver to the third party MCU.