3.1.1.1 Execution

main.c - Initialize the ATWINC15x0/ATWINC3400 and retrieve information.

  1. Code summary:
    • nmi_get_chipid() function returns the chip ID of the ATWINC15x0/ATWINC3400.
    • nmi_get_rfrevid() function returns the RF revision ID.
    /* Display WINC1500 chip information. */
    printf("Chip ID : \r\t\t\t%x\r\n", (unsigned int)nmi_get_chipid());
    printf("RF Revision ID : \r\t\t\t%x\r\n", (unsigned int)nmi_get_rfrevid());
  2. Build the program and download it into the board.
  3. Start the application.