3.2 Prover Application Flow

For the Prover application, perform the following steps after the program starts:

  1. Initialize the system and enable the 1.25V DC/DC converter.
  2. Initialize the UWB device using the uwb_device_init() function.
    1. Release the nRESET signal.
    2. Copy the default SPI register data from the Flash/EEPROM into the SRAM working structure.
    3. Read the UWB device version number.
  3. Check the UWB device version.
  4. Set up the UWB device for the Prover or Verifier operating mode using the uwb_setup_analog () function:
    1. Load the SPI working structure into the SPI register of the ATA8352.
    2. Set up the PLL (and check the crystal operation).
    3. Set up the FLL for the RX function.
    4. Set up the FLL for the TX function.
    5. Configure the turnaround mode for the Prover or Verifier operation.
  5. Initialize the Prover operation using the init_prover_mode() function:
    1. Load the SSID data into the device SRAM.
    2. Configure the IRQ mask of the device.
    3. Clear the data buffer.
  6. Execute the Prover mode within an endless loop using run_prover_mode() function:
    1. Load the RNR data into the device SRAM.
    2. Read the IRQ register of the device to clear the interrupt signal.
    3. Clear the data buffer.
    4. Wait until the IRQ pin is active.
    5. Read the IRQ register of the device to clear the interrupt signal.
    6. Clear the data buffer.