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:PCRx特权外设存储器帧MasterID保护寄存器描述令人困惑

Guru**** 2468560 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1097467/tms570lc4357-pcrx-privileged-peripheral-memory-frame-masterid-protection-register-decription-is-confusing

部件号:TMS570LC4357

各位专家,您好!

我在这里记录了象限映射: https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/109.7215万/tms570lc4357-masterid-filtering-which-peripheral-is-in-which-quadrant</s>4357

我了解寄存器的描述以及如何配置大多数寄存器,但 特权外设内存帧主ID保护寄存器(技术参考2.5 .3.39 和2.5 .3.40)与其它寄存器非常不同,并且非常混乱。

我假设这两个程序的工作方式与所有其他程序相同。以_L结尾的寄存器将是象限0和1,以_H结尾的寄存器将是象限2和3。
但是,如果我们以PPC[0]的DMA RAM为例,这是一个4KB的帧,而看看 寄存器PPCS0MSTID,描述中提到1个寄存器。

此寄存器的描述为PPC[2n]和PPC[2n+1]的MasterId过滤

(Q1)您能否解释如何使用注册PC[0-31]MSTID和PPC[0-7]MSTID?

谢谢,顺祝商祺!
最大

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

    您好,Max,

    它们类似于PSxMSTID_L/H PS和 PPSxMSTID_L/H

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

    QJ:您好!

    因此,允许DMA完全访问其RAM和CPU,可以执行如下操作:

    PPCS0MSTID = 0x5.0005万U;

    这是否正确?

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

    正确:已设置PCSxMSTID或PPCSxMSTID的位0和位2