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.

Big endian value

Hello all, 

A simple doubt. While configuring EDMA in big endian mode, I ran in to a small confusion.

Suppose in EDMA, my A_cnt = 1 and B_cnt = 0x400, how should i put the value in A_B_CNT register?

Considering the endianness, should I give it as 0x04000001 or should it be 0x00040100 or 0x01000004?

Thanks and regards.

  • 0x04000001

    For all peripherals, the 32-bit value written should always be the same regardless of endianess.

    In a Memory Window in CCS when viewing with 32-bit hex format, this number will also appear as 0x04000001 regardless of endianess.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.