NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Dman3 usingExternalRM

From Texas Instruments Wiki
Jump to: navigation, search

DMAN3 using the EDMA3 Low Level Resource Manager[edit]

Introduction[edit]

As of the Framework Components 2.20 release, DMAN3 supports a new configuration parameter that allows the DMAN3 resources to be managed by (and allocated from) the EDMA3 Low Level Resource Manager.

The EDMA3 Low Level Resource Manager is a part of the PSP (Platform Support Package) offering for new C64x+ platforms. Using the PSP provided Low Lever Resource Manager and Driver packages is the recommended way of accessing EDMA3 resources from the DSP side.

The idea is that having a single resource manager will allow for centralized management of EDMA3 resources on the system.

New DMAN3 configuration[edit]

The option of allowing DMAN3 to obtain resources via the EDMA3 Low Level Resource Manager has been introduced while maintaining backward compatibility. This new feature is available via a new configuration option on DMAN3: useExternalRM Setting this parameter to TRUE will create a conditional dependency on the Meta-config EDMA3 module (ti.sdo.fc.edma3.Settings) that configures and sets up the EDMA3 Low Level Resource Manager package.

1. The following DMAN3 configuration parameters will become "Don't Cares". when DMAN3's useExternalRM parameter is set to true

  • qdmaPaRamBase - No longer required to select the base address of the PaRams, the externalRM provides this information.
  • maxPaRamEntries - No longer need SOC specific information via configuration
  • maxQdmaChannels - -"-
  • qdmaQueueMap - Default register mappings etc are now done via the LLD
  • queueTCMap - -"-
  • queuePri - -"-
  • paRamBaseIndex - No longer specify which paRams are to be used by DMAN3
  • nullPaRamIndex - -"-
  • qdmaChannels - No longer specify which qdma channels are to be used by DMAN3
  • tccAllocationMaskL/H - No longer specify which TCCs are to be used by DMAN3
  • numTccGroup - No longer specify group assignments here
  • numParamGroup - -"-

2. The EDMA3 Meta-config module (ti.sdo.fc.edma3.Settings) will need to be configured properly for the application and the device you are running on. (See the Configuration of EDMA3 RM article, section: "Configuration of ti.sdo.fc.edma3.Settings" for details)

3. The API DMAN3_grantDmaChannels() does not allow granting DMA channels to "multiple algorithms in a single call" when .useExternalRM is set to true. <syntaxhighlight lang='c'> Int DMAN3_grantDmaChannels(Int groupId, IALG_Handle algHandle[], IDMA3_Fxns *dmaFxns[], Int numAlgs); </syntaxhighlight> You should always call this API with numAlgs = 1. If multiple algorithms need to be serviced, this call can be made multiple times.

Other EDMA3 modules in FC[edit]

See the DMA Overview article for details on other EDMA3 related modules in FC

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Dman3 usingExternalRM here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Dman3 usingExternalRM here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Dman3 usingExternalRM here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Dman3 usingExternalRM here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Dman3 usingExternalRM here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Dman3 usingExternalRM here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Dman3 usingExternalRM here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Dman3 usingExternalRM here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Dman3 usingExternalRM here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity