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