MCUXpresso SDK Documentation

ce_matevd_test

ce_matevd_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
FULL WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000003
COMP WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000004
FULL LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000005
COMP LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000006
FULL WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000007
COMP WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000008
FULL LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000009
COMP LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000A
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
FULL WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000003
COMP WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000004
FULL LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000005
COMP LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000006
FULL WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000007
COMP WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000008
FULL LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000009
COMP LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000A
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
FULL WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000003
COMP WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000004
FULL LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000005
COMP LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000006
FULL WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000007
COMP WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000008
FULL LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000009
COMP LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000A
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
FULL WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000003
COMP WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000004
FULL LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000005
COMP LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000006
FULL WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000007
COMP WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000008
FULL LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000009
COMP LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000A
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
FULL WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000003
COMP WGN 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000004
FULL LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000005
COMP LOC 40 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000006
FULL WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000007
COMP WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000008
FULL LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000009
COMP LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000A