MCUXpresso SDK Documentation

ce_lite_fft_test

ce_lite_fft_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
Test 1: CFFT 32 F16 Test Passed: Status=DD000002, Reply=AA000003
Test 2: CFFT 512 F32 Test Passed: Status=DD000003, Reply=AA000004
Test 3: IFFT 256 F16 Test Passed: Status=DD000004, Reply=AA000005
Test 4: IFFT 256 F32 Test Passed: Status=DD000005, Reply=AA000006
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
Test 1: CFFT 32 F16 Test Passed: Status=DD000002, Reply=AA000003
Test 2: CFFT 512 F32 Test Passed: Status=DD000003, Reply=AA000004
Test 3: IFFT 256 F16 Test Passed: Status=DD000004, Reply=AA000005
Test 4: IFFT 256 F32 Test Passed: Status=DD000005, Reply=AA000006