MCUXpresso SDK Documentation

ce_lite_matevd_test

ce_lite_matevd_test#

Overview#

This application is a test vehicle for interfacing CM33 with ZV2118. 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#

FRDM-KW43
Hardware requirements
  • Type-C USB cable

  • FRDM-KW43 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 J28.

  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 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000003
COMP WGN 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000004
FULL LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000005
COMP LOC 17 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000006
FULL WGN 18 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000007
COMP WGN 18 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000008
FULL LOC 18 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA000009
COMP LOC 18 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000A
FULL WGN 20 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000B
COMP WGN 20 CF32 MAT EVD Test Passed: Status=DD000001, Reply=AA00000C
FRDM-MCXW70
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW70 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 J28.

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