4.3.1 Wi-Fi MAC Address

The WINC firmware provides two methods to assign the WINC MAC address:

  • Assignment from the host MCU – this method occurs when the host MCU application calls the m2m_wifi_set_mac_address API after initialization using m2m_wifi_init API.
  • Assignment from the WINC OTP (One-Time-Programmable) memory – the WINC supports an internal MAC address assignment method through a built-in OTP memory. If MAC address is programmed in the WINC OTP memory, the WINC working MAC address defaults to the OTP MAC address unless the host MCU application programmatically sets a different MAC address after initialization using the API m2m_wifi_set_mac_address.
Note:
  • OTP MAC address is programmed in the WINC OTP memory at the time of manufacturing.
  • Use m2m_wifi_get_otp_mac_address API to check if there is a valid programmed MAC address in the WINC OTP memory. The host MCU application can also use the same API to read the OTP MAC address octets. m2m_wifi_get_otp_mac_address API is not to be confused with the m2m_wifi_get_mac_address API, which reads the working WINC MAC address in the WINC firmware regardless of whether it is assigned from the host MCU or from the WINC OTP.
  • For more details on API, refer to the Advanced Software Framework for ATWINC1500 (Wi-Fi).