ModusToolbox Safety Test Library
Loading...
Searching...
No Matches
DMA (DMA STL module)

General Description

The DMA test performs test on DMA block using DW transfers.

More Information

 The DMA block test procedure:

 1) A destination 64-byte block is set to 0 with DW transfers using 16 x 32-bit
    transfers from a fixed address.
 2) The destination block is verified to be all 0.
 3) The same destination block is filled with 00 00 ff by using an 8-bit DMA from a fixed
    address with increment 3 and length 22 (64+(3-1))/3.
 4) The destination block is verified to contain the correct pattern (shown below with the lowest
    address first):
    ff0000ff0000ff0000ff0000ff0000ff0000ff0000ff0000…

API Reference

 Functions
 

Macros

#define SELFTEST_DMA_DW_TIMEOUT   (50UL)
 Timeout in microseconds for DMA transfer completion.