LPIT-TRIGMUX-PDB-ADC-DMA

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

LPIT-TRIGMUX-PDB-ADC-DMA

2,007件の閲覧回数
syam
Contributor I

Hi,

iam using s32k146 , in our project we use ADC0 Channel 6, 7 & 12. For adc0 channel 12 PDB0 is used for triggering and for ADC0 channel 6 & 7 PDB1 is used for triggering. then now using  seperate channels in LPIT0 channel 0 for triggering PDB0 and  LPIT0 channel 1 for triggering PDB1. please support in this cofiguration for LPIT-TRIGMUX-PDB-ADC-DMA.

0 件の賞賛
返信
7 返答(返信)

1,970件の閲覧回数
syam
Contributor I

kindly help me to solve  mentioned issue

0 件の賞賛
返信

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

Please specify a question or issue. Thanks

0 件の賞賛
返信

1,990件の閲覧回数
syam
Contributor I

In our project we need to trigger PDB0 and PDB1 individually. Here we are using LPIT0 channel 0 for PDB0 and LPIT0 channel 1 for PDB1.

PDB0 is triggering successfully by LPIT0 channel0.

but i can't able to trigger PDB1 by using LPIT0 channel1.

Here screenshots for configuration settings of PDB1, LPIT0 and TRIGMUX is attached, please support to do this.

0 件の賞賛
返信

1,969件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

components setting you share looks normal, so be sure all necessary init is done in software.
However, one ADC and one PDB work as one pair: PDB0-ADC0, PDB1-ADC1. So you cannot trigger ADC0 from PDB1, you mentioned.

You can refer to below example. It just trigger both PBDs from single LPIT channel, but can be easily modified.https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-PDB-ADC-DMA-S32DS-ARM-2018-R1/ta-p/...

BR, Petr

0 件の賞賛
返信

1,966件の閲覧回数
syam
Contributor I

thanks for reply,

i already got the example you shared now.

I already configured PDB0-ADCO for triggering channel 12 and collected data successfully.

in my project we only using ADC0 channels channel 12 , channel 6 and channel 7.  but not need to trigger all channel in same time . based on my requirements i need to trigger ADC0 channel 12  at some conditions and another conditions  i need trigger ADC0 channel 6 & 7. Is it possible to do like this.

 

0 件の賞賛
返信

1,926件の閲覧回数
syam
Contributor I

Hi,

Kindly  inform me is it possible to do like this.

0 件の賞賛
返信

1,917件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

this will not be possible using single PBD module. Either sample all channels together or use second PDB-ADC modules for rest of channels.

BR, Petr

0 件の賞賛
返信