MCUXpresso SDK Documentation

powerquad_benchmark_vector

powerquad_benchmark_vector#

Overview#

This example shows how to use powerquad driver vector functions. The powerquad driver API results are compared to the reference result.

Supported Boards#

EVK9-MIMX8ULP
Hardware requirements
  • Micro USB cable

  • MIMX8ULP-EVK/EVK9 board

  • J-Link Debug Probe

  • 5V power supply

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect 5V power supply and J-Link Debug Probe to the board, switch SW10 to power on the board.

  2. Connect a micro USB cable between the host PC and the J17 USB port on the cpu board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Launch the debugger in your IDE to begin running the example.

Running the demo

NOTE: Depending on the toolchain configuration, the benchmark result might be different.

CMSIS DSP benchmark vector test start.
PQ_VectorLnF32Test: xxx
PQ_VectorLnQ31Test: xxx
PQ_VectorInvF32Test: xxx
PQ_VectorInvQ31Test:  xxx
PQ_VectorSqrtF32Test: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorInvSqrtF32Test: xxx
PQ_VectorInvSqrtQ31Test: xxx
PQ_VectorEtoxF32Test: xxx
PQ_VectorEtoxQ31Test: xxx
PQ_VectorEtonxF32Test: xxx
PQ_VectorEtonxQ31Test: xxx
PQ_BiquadCascadedf2F32Test: xxx
PQ_BiquadCascadedf2Q31Test: xxx
PQ_VectorLnFPTest: xxx
PQ_VectorLnFXTest: xxx
PQ_VectorInvFPTest: xxx
PQ_VectorInvFXTest: xxx
PQ_VectorSqrtFPTest: xxx
PQ_VectorSqrtFXTest: xxx
PQ_VectorInvSqrtFPTest: xxx
PQ_VectorInvSqrtFXTest: xxx
PQ_VectorEtoxFPTest: xxx
PQ_VectorEtoxFXTest: xxx
PQ_VectorEtonxFPTest: xxx
PQ_VectorEtonxFXTest: xxx
PQ_16ByteBiquadCascadedf2FPTest: xxx
PQ_16ByteBiquadCascadedf2FXTest: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorSqrtQ15Test: xxx
PQ_VectorSinF32Test: xxx
PQ_VectorSinQ31Test: xxx
PQ_VectorSinQ15Test: xxx
PQ_VectorCosF32Test: xxx
PQ_VectorCosQ31Test: xxx
PQ_VectorCosQ15Test: xxx

CMSIS DSP benchmark vector test succeeded.
EVK-MIMX8ULP
Hardware requirements
  • Micro USB cable

  • MIMX8ULP-EVK/EVK9 board

  • J-Link Debug Probe

  • 5V power supply

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect 5V power supply and J-Link Debug Probe to the board, switch SW10 to power on the board.

  2. Connect a micro USB cable between the host PC and the J17 USB port on the cpu board.

  3. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  4. Download the program to the target board.

  5. Launch the debugger in your IDE to begin running the example.

Running the demo

NOTE: Depending on the toolchain configuration, the benchmark result might be different.

CMSIS DSP benchmark vector test start.
PQ_VectorLnF32Test: xxx
PQ_VectorLnQ31Test: xxx
PQ_VectorInvF32Test: xxx
PQ_VectorInvQ31Test:  xxx
PQ_VectorSqrtF32Test: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorInvSqrtF32Test: xxx
PQ_VectorInvSqrtQ31Test: xxx
PQ_VectorEtoxF32Test: xxx
PQ_VectorEtoxQ31Test: xxx
PQ_VectorEtonxF32Test: xxx
PQ_VectorEtonxQ31Test: xxx
PQ_BiquadCascadedf2F32Test: xxx
PQ_BiquadCascadedf2Q31Test: xxx
PQ_VectorLnFPTest: xxx
PQ_VectorLnFXTest: xxx
PQ_VectorInvFPTest: xxx
PQ_VectorInvFXTest: xxx
PQ_VectorSqrtFPTest: xxx
PQ_VectorSqrtFXTest: xxx
PQ_VectorInvSqrtFPTest: xxx
PQ_VectorInvSqrtFXTest: xxx
PQ_VectorEtoxFPTest: xxx
PQ_VectorEtoxFXTest: xxx
PQ_VectorEtonxFPTest: xxx
PQ_VectorEtonxFXTest: xxx
PQ_16ByteBiquadCascadedf2FPTest: xxx
PQ_16ByteBiquadCascadedf2FXTest: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorSqrtQ15Test: xxx
PQ_VectorSinF32Test: xxx
PQ_VectorSinQ31Test: xxx
PQ_VectorSinQ15Test: xxx
PQ_VectorCosF32Test: xxx
PQ_VectorCosQ31Test: xxx
PQ_VectorCosQ15Test: xxx

CMSIS DSP benchmark vector test succeeded.
EVK-MIMXRT595
Hardware requirements
  • Micro USB cable

  • EVK-MIMXRT595 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J40) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

The message about error or success will be output to the terminal.

EVK-MIMXRT685
Hardware requirements
  • Micro USB cable

  • EVK-MIMXRT685 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

NOTE: Depending on the toolchain configuration, the benchmark result might be different.

CMSIS DSP benchmark vector test start.
PQ_VectorLnF32Test: xxx
PQ_VectorLnQ31Test: xxx
PQ_VectorInvF32Test: xxx
PQ_VectorInvQ31Test:  xxx
PQ_VectorSqrtF32Test: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorInvSqrtF32Test: xxx
PQ_VectorInvSqrtQ31Test: xxx
PQ_VectorEtoxF32Test: xxx
PQ_VectorEtoxQ31Test: xxx
PQ_VectorEtonxF32Test: xxx
PQ_VectorEtonxQ31Test: xxx
PQ_BiquadCascadedf2F32Test: xxx
PQ_BiquadCascadedf2Q31Test: xxx
PQ_VectorLnFPTest: xxx
PQ_VectorLnFXTest: xxx
PQ_VectorInvFPTest: xxx
PQ_VectorInvFXTest: xxx
PQ_VectorSqrtFPTest: xxx
PQ_VectorSqrtFXTest: xxx
PQ_VectorInvSqrtFPTest: xxx
PQ_VectorInvSqrtFXTest: xxx
PQ_VectorEtoxFPTest: xxx
PQ_VectorEtoxFXTest: xxx
PQ_VectorEtonxFPTest: xxx
PQ_VectorEtonxFXTest: xxx
PQ_16ByteBiquadCascadedf2FPTest: xxx
PQ_16ByteBiquadCascadedf2FXTest: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorSqrtQ15Test: xxx
PQ_VectorSinF32Test: xxx
PQ_VectorSinQ31Test: xxx
PQ_VectorSinQ15Test: xxx
PQ_VectorCosF32Test: xxx
PQ_VectorCosQ31Test: xxx
PQ_VectorCosQ15Test: xxx

CMSIS DSP benchmark vector test succeeded.
FRDM-MCXN947
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXN947 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a type-c USB cable between the PC host and the MCU-Link USB port (J17) on the board

  2. Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The message about error or success will be output to the termial.

FRDM-MCXN947T
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXN947T board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a type-c USB cable between the PC host and the MCU-Link USB port (J17) on the board

  2. Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The message about error or success will be output to the termial.

FRDM-RW612
Hardware requirements
  • Micro USB cable

  • FRDM-RW612 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J10) on the board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the example.

Running the demo

The message about error or success will be output to the terminal.

LPCXpresso55S36
Hardware requirements
  • Mini/micro USB cable

  • LPCXpresso55s36 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J1) on the board

  2. Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The message about error or success will be output to the termial.

LPCXpresso55S69
Hardware requirements
  • Mini/micro USB cable

  • LPCXpresso55s69 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (P6) on the board

  2. Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The message about error or success will be output to the termial.

MCX-N5XX-EVK
Hardware requirements
  • Mini/micro USB cable

  • MCX-N5XX-EVK board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J5) on the board

  2. Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The message about error or success will be output to the termial.

MCX-N9XX-EVK
Hardware requirements
  • Mini/micro USB cable

  • MCX-N9XX-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J5) on the board

  2. Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The message about error or success will be output to the termial.

MIMXRT685-AUD-EVK
Hardware requirements
  • Micro USB cable

  • MIMXRT685-AUD-EVK board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

NOTE: Depending on the toolchain configuration, the benchmark result might be different.

CMSIS DSP benchmark vector test start.
PQ_VectorLnF32Test: xxx
PQ_VectorLnQ31Test: xxx
PQ_VectorInvF32Test: xxx
PQ_VectorInvQ31Test:  xxx
PQ_VectorSqrtF32Test: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorInvSqrtF32Test: xxx
PQ_VectorInvSqrtQ31Test: xxx
PQ_VectorEtoxF32Test: xxx
PQ_VectorEtoxQ31Test: xxx
PQ_VectorEtonxF32Test: xxx
PQ_VectorEtonxQ31Test: xxx
PQ_BiquadCascadedf2F32Test: xxx
PQ_BiquadCascadedf2Q31Test: xxx
PQ_VectorLnFPTest: xxx
PQ_VectorLnFXTest: xxx
PQ_VectorInvFPTest: xxx
PQ_VectorInvFXTest: xxx
PQ_VectorSqrtFPTest: xxx
PQ_VectorSqrtFXTest: xxx
PQ_VectorInvSqrtFPTest: xxx
PQ_VectorInvSqrtFXTest: xxx
PQ_VectorEtoxFPTest: xxx
PQ_VectorEtoxFXTest: xxx
PQ_VectorEtonxFPTest: xxx
PQ_VectorEtonxFXTest: xxx
PQ_16ByteBiquadCascadedf2FPTest: xxx
PQ_16ByteBiquadCascadedf2FXTest: xxx
PQ_VectorSqrtQ31Test: xxx
PQ_VectorSqrtQ15Test: xxx
PQ_VectorSinF32Test: xxx
PQ_VectorSinQ31Test: xxx
PQ_VectorSinQ15Test: xxx
PQ_VectorCosF32Test: xxx
PQ_VectorCosQ31Test: xxx
PQ_VectorCosQ15Test: xxx

CMSIS DSP benchmark vector test succeeded.
RD-RW612-BGA
Hardware requirements
  • Micro USB cable

  • RD-RW612-BGA board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J7) on the board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the example.

Running the demo

The message about error or success will be output to the terminal.