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.

TMS570LC4357: EMIF Access

Part Number: TMS570LC4357

Hello. Can the long word unit of the lead to the external memory from the MPU? For example, if a long word unit(32bits) is read from address 0 of the external memory from the MPU, is the word unit(16bits) read at address 0 and address 2 output twice? Best Regards.
  • Hello,

    When reading from SDRAM, the EMIF module issues a READ command to output the starting column address and signals the SDRAM to begin the burst read operation.

    When performing a double word reading, the  "ldm  r12, {r0, r1}" will be used to read two 32-bit words from address starting at r12, and store the value to r0 and r1

    When performing a 32-bit word reading, the  "ldr  r2, [r12]" will be used to read one 32-bit word from address at r12, and store the data to r2

    When performing a 8-bit byte reading, the  "ldrb  r2, [r12, #3]" will be used to read one byte from address at r12+3, and store the data to r2

  • For 16-bit half-word reading, "ldrh   r2, [r12, #2]" is used to read 16-bit data and store to r2.