This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28034: Question about MARCH Test

Part Number: TMS320F28034

Dear team:

My customer what to know how does STL_MARCH_TEST_testRam perform MARCH Test on RAM? Is it tested 4 by 4 bytes?

In addition, in the routines provided by IEC60730 2803x, is there a routine for cross-checking the clock using two independent clock sources?

Best regards

Green

  • how does STL_MARCH_TEST_testRam perform MARCH Test on RAM? Is it tested 4 by 4 bytes?

    The memory is walked through in increments of 32-bit words. In terms of pseudocode, it looks something like this--

    1. fill memory with ~pattern

    ascending_test:
    2. read 32-bit word
    3. compare to ~pattern, exit if not equal
    4. write pattern to 32-bit word
    5. read 32-bit word
    6. compare to pattern, exit if not equal
    7. increment 32-bit word's address

    8. repeat 2-7 for all 32-bit words

    9. repeat 2-8 again once more but instead step 2-3 will use pattern and steps 4-6 will use ~pattern

    (note that this point, we're pointing to the last address of the memory range and the memory contains ~pattern)

    descending_test:
    10. read 32-bit word
    11. compare to ~pattern, exit if not equal
    12. write pattern to 32-bit word
    13. read 32-bit word
    14. compare to pattern, exit if not equal
    15. decrement 32-bit word's address

    16. repeat 10-15 for all 32-bit words

    17. repeat 10-16 again once more but instead step 10-11 will use pattern and steps 12-14 will use ~pattern

    is there a routine for cross-checking the clock using two independent clock sources?

    This is what STL_OSCILLATOR_TEST is intended for. Since CPU Timer 2 can be configured to run from different sources than the SYSCLK, it can be used to check the clock.

    Whitney