AnsweredAssumed Answered

SDK for configuring eDMA in a multicore app

Question asked by Milan Brejl Employee on May 20, 2020
Latest reply on May 25, 2020 by Lukas Zadrapa

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.