SDK for configuring eDMA in a multicore app

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SDK for configuring eDMA in a multicore app

919 次查看
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

标记 (3)
0 项奖励
回复
1 回复

868 次查看
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 项奖励
回复