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.

[参考译文] AM263P4-Q1:128 字节对齐

Guru**** 2430620 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1546350/am263p4-q1-128-byte-alignment

器件型号:AM263P4-Q1


工具/软件:

尊敬的团队:

我的客户正在查看 ospi_flash_io.c 文件。

您能告诉我缓冲区为什么是 128 字节对齐而不是 32 字节对齐吗? 32 字节似乎就足够了。 这有什么原因吗?

此致、

Mari Tunnoda

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Mari

    ospi_flash_io.c 中的代码也是其他 MPU 器件共享的通用代码、其中 DMA 需要 128B 对齐。  对于 AM263Px、突发大小默认为 32B、因此可以进行 32B 对齐、但如果 EDMA 突发大小增加到 128B、则在这种情况下需要 128B 对齐。 因此、为了涵盖所有情况、驱动器中进行了 128B 对齐。