SDK for configuring eDMA in a multicore app

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK for configuring eDMA in a multicore app

509 Views
MilanBrejl
NXP Employee
NXP Employee

SDK Guys,

my question is about using SDK (on MPC5777C, but general) for configuring eDMA in a multicore application.

There are many DMA channels configured which move data from peripherals to RAM within Core 0 application. But there is a need to configure one additional DMA channel which would move data between the Core 0 application and Core 1 application. Specifically, the eTPU (configured by Core 0 application) triggers a DMA transfer and Core 1 application executes the eDMA channel interrupt.

The sequence is:  

  1. eDMA ch53 is triggered by eTPU (generally any DMA channel is triggered by the Core 0 application)
  2. Data are transefered from (eTPU) RAM to RAM used by Core 1
  3. On data tranfer finish, an interrupt routine is activated on Core 1

I know to achieve this by writing the eDMA and INTC registers directly. But I don't know how to achieve this configuration using SDK 3.0 for Power Architecture.

Regards,

Milan

0 Kudos
1 Reply

458 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Milan,

take a look at this example:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.0\examples\MPC5777C\driver_examples\system\interrupt_control_multicore\

The documentation can be found on page 130 in:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.0\doc\S32SDK_MPC5777C_UserManual.pdf

I guess this could answer your question.

Regards,

Lukas

0 Kudos