MCUXpresso SDK Documentation

ce_basic_test

ce_basic_test#

Overview#

This application is a test vehicle for interfacing CM33 with ZV2117. This implements:

  1. Basic loopback test Send a “NULL” command from CM33 to ZV. ZV simply reads the command and returns. Status[0] echoes the command, Status[1] writes “0x5CCE55” to indicate “success”

  2. Data loopback test Send a “COPY” command from CM33 to ZV. ZV copies source buffer to destination buffer based on arguments send from CM33. Status[0] echoes the command, Status[1] writes “0x5CCE55” to indicate “success”.

cmd buffer is placed at MEM address: 0x20028000 status buffer is placed at MEM address: 0x20028400

This test is based on memory polling from both sides (CM33 and ZV)

Supported Boards#

KW47-EVK
Hardware requirements
  • Type-C USB cable

  • KW47-EVK Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed.

Status=DD000001, Reply=AA000002
VECADD F32 Test Passed: Status=DD000002, Reply=AA000003
VECADD Q31 Test Passed: Status=DD000003, Reply=AA000004
VECADD Q15 Test Passed: Status=DD000004, Reply=AA000005
VECMULT Test Passed: Status=DD000005, Reply=AA000006
KW47-LOC
Hardware requirements
  • Type-C USB cable

  • KW47-LOC Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed.

Status=DD000001, Reply=AA000002
VECADD F32 Test Passed: Status=DD000002, Reply=AA000003
VECADD Q31 Test Passed: Status=DD000003, Reply=AA000004
VECADD Q15 Test Passed: Status=DD000004, Reply=AA000005
VECMULT Test Passed: Status=DD000005, Reply=AA000006
MCX-W72-EVK
Hardware requirements
  • Type-C USB cable

  • MCX-W72-EVK Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J14.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed.

Status=DD000001, Reply=AA000002
VECADD F32 Test Passed: Status=DD000002, Reply=AA000003
VECADD Q31 Test Passed: Status=DD000003, Reply=AA000004
VECADD Q15 Test Passed: Status=DD000004, Reply=AA000005
VECMULT Test Passed: Status=DD000005, Reply=AA000006
FRDM-MCXW72
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW72 Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J10.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed.

Status=DD000001, Reply=AA000002
VECADD F32 Test Passed: Status=DD000002, Reply=AA000003
VECADD Q31 Test Passed: Status=DD000003, Reply=AA000004
VECADD Q15 Test Passed: Status=DD000004, Reply=AA000005
VECMULT Test Passed: Status=DD000005, Reply=AA000006
MCXW72-LOC
Hardware requirements
  • Type-C USB cable

  • MCXW72-LOC Board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the LOC board J3.

  2. Open a serial terminal on PC for the serial device with these settings:

    • 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 following lines are printed to the serial terminal when the demo program is executed.

Status=DD000001, Reply=AA000002
VECADD F32 Test Passed: Status=DD000002, Reply=AA000003
VECADD Q31 Test Passed: Status=DD000003, Reply=AA000004
VECADD Q15 Test Passed: Status=DD000004, Reply=AA000005
VECMULT Test Passed: Status=DD000005, Reply=AA000006