What's Remap ePWMs for DMA access (Requires silicon revision A and above) means?

1 回表示 (過去 30 日間)
Xu Liu
Xu Liu 2019 年 7 月 4 日
コメント済み: Xu Liu 2019 年 7 月 4 日
hello everyone,im doing code generation with c2000 devices,
when I make the model of 28377d to relocated 28335,im facing this choise :Remap ePWMs for DMA access (Requires silicon revision A and above)
whether i need to choise it? does there anyone have the same doubt?

採用された回答

Venkatesh Chilapur
Venkatesh Chilapur 2019 年 7 月 4 日
Hi Xu,
You find DMA configuration under hardware Implementation pane:
Capture.JPG
  2 件のコメント
Xu Liu
Xu Liu 2019 年 7 月 4 日
that's the point,it's very kind of you ,thanks.i guess i need to study harder.
Xu Liu
Xu Liu 2019 年 7 月 4 日
it looks like you are quite good at 335,i wonder whether use DMA could be better for my project? as i know DMA seems a enrich function for data transfer and reducing cpu time, so if its so useful, whether just choise this function with my work is better?

サインインしてコメントする。

その他の回答 (1 件)

Venkatesh Chilapur
Venkatesh Chilapur 2019 年 7 月 4 日
Hi Xu,
From device data sheet if the silicon version is >='A' then we have the following details.
"By default, ePWM and HRPWM registers are mapped to Peripheral Frame 1 (PF1). Table 6-4 shows this
configuration. To re-map the registers to Peripheral Frame 3 (PF3) to enable DMA access, bit 0 (MAPEPWM) of
MAPCNF register (address 0x702E) must be set to 1. Table 6-5 shows the remapped configuration" of section 6.2.3.
So to use DMA with ePWM module we need to enable the re-map.
HTH,
Regards,
Venkatesh C
  1 件のコメント
Xu Liu
Xu Liu 2019 年 7 月 4 日
Thank you very much for your answer!
Another question is that I haven't seen dma module, is embedded coder automatically optimized for use?

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by