Shared memory and eDMA-EQADC dependency ??

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Shared memory and eDMA-EQADC dependency ??

1,571件の閲覧回数
rahulmankumbare
Contributor II

Hi,

We are using S32 DS with MPC5777C.

We have 22 analog channels on EQADC_A and 7 channels on EQADC_B.

We are using eDMA for EQADC in continuous scan using eMIOS trigger.

We also have shared memory.

We want to share the variables in both Core 0 and Core 1.

When we try eDMA with EQADC we get all conversions of 22 plus 7 channels properly.

When we use shared memory  we are able to share multiple variables properly.

Now when we integrate the  eDMA with EQADC code with shared memory, EQADC results gets swapped.

So is there any special precaution that we need to take while using eDMA with EQADC and shared memory in sigle project.

Please suggest.

Thanks.

Rahul

2 返答(返信)

1,443件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

That's really interesting issue.

Do you have enable enabled caches for that area. Have you tried it turn it off (i.e. set to cache inhibited?

1,443件の閲覧回数
rahulmankumbare
Contributor II

Hi,

We have resolved the issue.

We were making mistake in linker  file while assigning shared memory section base address.

Thanks for reply.

Rahul.