1.3.1.4 Running Demonstration Steps

  1. Build and download the demonstration project on the target board.

  2. Terminal interface setup:

    • A virtual COM port will be detected on the computer, when the USB cable is connected to USB-UART connector.

    • Open a standard terminal application on the computer (like Hyper-terminal or Tera Term) and configure the virtual COM port.

    • Set the serial baud rate to 115200 baud in the terminal application.

    • See that the initialization prints on the serial port terminal.

  3. Execution:

    • After the successful broad bring up and press Enter key, the console output becomes
      Figure . Putty serial console
      PuttyStart
    • Send Help command
      Figure . Help command output
      PuttyHelp
    The following command examples have been sent after applying certain V and I parameters and performing a calibration of a PIC32CXMTH-DB board.
    Figure . Voltage and Current settings
    Putty_WECO
    .
    • Read the metrology control registers.
      Figure . DCR command output
      Putty_DCR
    • Read the metrology accumulators registers.
      Figure . DAR command output
      Putty_DAR
    • Read voltage.
      Figure . Voltage measurements
      Putty_PARU
    • Read current.
      Figure . Current measurements
      Putty_PARI
    • Read angle.
      Figure . Angle measurements
      Putty_PARA
    • Read frequency.
      Figure . Frequency measurements
      Putty_PARF
    • Read Active power.
      Figure . Active power measurements
      Putty_PARP
    • Read Reactive power.
      Figure . Reactive power measurements
      Putty_PARQ