Community Translation - Debugging DMA Registers in PSoC 3 and PSoC 5 – KBA226876

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Kenshow
Level 8
Level 8
Distributor - Marubun (Japan)
50 solutions authored 25 solutions authored 10 solutions authored

Hello,

I would like to translate KBA226876 into Japanese.

Thanks,

Kenshow

Debugging DMA Registers in PSoC 3 and PSoC 5 – KBA226876

Translated by Kenshow

==============================

タイトル: PSoC 3およびPSoC 5でのDMAレジスタのデバッグ - KBA224514


バージョン:**

質問:

PSoC®3およびPSoC 5DMA転送が進行中の場合、DMAチャネルの中間値(転送カウントなど)を表示するにはどうすればよいですか?

回答:

DMAチャネル番号がxで、TDの保持が有効になっている場合、PHUB_TDMEMx_ORIG_TD0DMACのプライベート使用のために予約されます。したがって、TDが実行されているとき、チャネル番号を含むPHUB_TDMEMレジスタはデータを一時的に保持します。オリジナルのTDを処理する代わりに、DMACはオリジナルのTDをこの別の作業領域にコピーして処理します。

たとえば、DMAチャネルのチャネル番号が0で、TDの保持が有効になっている場合、レジスタのワーキングセットはPHUB_TDMEM0_ORIG_TD0になります。PHUB_TDMEM0_ORIG_TD0レジスタのxfrcnt [11:0]が中間値を保持します。したがって、この値(xfrcnt-> [11:0])を読み取ると、中間のカウントが得られます。DMAチャネルのチャネル番号は、ビルドが成功した後、PSoC Creator™cydwrタブから確認できます。

==============================

10-Apr-2020

Kenshow

0 Likes
1 Reply
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Kenshow-san

We receive your translation, it will be internally reviewed and be published to KBA to Community.

After upload, You will receive the points as the word of KBA.

Please note that due to the current volume of works, Please bear with me for the delayed the response.

It can be delayed, but it will be surely processed.

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo