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.

[参考译文] TMS570LS3137:EMIF 端口

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1457079/tms570ls3137-emif-port

器件型号:TMS570LS3137

工具与软件:

 TMS570LS3137的异步 EMIF 端口、尝试将1字节数据写入一个地址(0x640000368)、但 EMIF 总线会自动向从设备发送5个字节、地址是0x368至0x36C

这看起来像是对齐操作。

C 代码 (*(volatile uint8*)(0x64000368U))=(ucChkSum + 1U);

CCS 中的 DISASSEMBLY 窗口:asm 代码: strb R12、[R13、#0x10]

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

    EMIF 异步控制器正常模式下、CS 信号会在0x368至0x36C 范围内保持低电平、这意味着0x368~0x36C 属于整个异步访问周期。

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

    应将 MPU 区域配置为这样的地址 严格排序

    更改 sys_mpu.asm 中的配置后、 问题将得到解决

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

    或者在 HAL 代码生成器中配置区域参数。

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

    尊敬的 Javen:

    我对迟交的答复表示歉意。

    [报价用户 id="636864" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1457079/tms570ls3137-emif-port/5590858 #5590858"]

    应将 MPU 区域配置为这样的地址 严格排序

    更改 sys_mpu.asm 中的配置后、 问题将得到解决

    [报价]

    很高兴听到您自己解决了问题。

    做得好、继续保持。

    ——
    谢谢、此致、
    Jagadish。