3.1 BSP Initialization

The BSP is initialized by calling the nm_bsp_init API. The BSP initialization routine performs the following steps:

  • Resets the WINC1 using the corresponding host MCU control GPIOs.
  • Initializes the host MCU GPIO which connects to the WINC interrupt line. It configures the GPIO as an interrupt source to the host MCU. During runtime, the WINC interrupts the host to notify the application of events and data pending inside the WINC firmware.
  • Initializes the host MCU delay function used within nm_bsp_sleep implementation.
1 Refer to the ATWINC15x0-MR210xB Data Sheet (DS70005304) for more information about the hardware power-up/down sequence.