工具与软件:
我可以 DMA 连接到端口 A (32位)。
我可以通过 DMA 连接到端口 B (32位)。
由于端口 A 地址为 0x400A0000、端口 B 为 0x400A2000 (连续)、因此我认为64位 DMA 至0x400A0000会写入两个端口...
但它不...
有什么想法吗?
——
Phil
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.
工具与软件:
我可以 DMA 连接到端口 A (32位)。
我可以通过 DMA 连接到端口 B (32位)。
由于端口 A 地址为 0x400A0000、端口 B 为 0x400A2000 (连续)、因此我认为64位 DMA 至0x400A0000会写入两个端口...
但它不...
有什么想法吗?
——
Phil
您看到了什么结果? DMA 对 GPIO 空间的访问非常有限。 另请参阅:
您好、Philip:
请参阅 Bruce 的共享线程、了解 MSPM0中 GPIO 的 DMA 行为。
至于您的问题、GPIOA 和 GPIOB 端口具有单独的闪存区域。
例如、如果要将数据传输到 GPIOA DOUT、则使用目标地址0x400A1280、对于 GPIOB、应使用地址0x400A3280。
因此、将64位数据写入 GPIOA 地址区域对 GPIOB 端口内容没有影响。
此致、
Pengfei