S32K146 Multi-ADC:

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

S32K146 Multi-ADC:

1,487 次查看
lizboxy
Contributor I
About the problem of S32K146 adc:

Could you share the samples program?of multi-ADC with PDB?

Now we want to read the multi-ADC with 2K?sampling rates, but can't meet it by software triggering in order.

So we tried to use the ADC_DRV_ConfigChan  to configu the multi-channel with PDB to trigger ADC,but just only read the result of index=0 in ADC?interrupt and the others data is 0.
Pls advise and how to reslove it,TKs!fe5e57d3710ed23c374521ddd3b6749.png7d4a765a5a56466edc7014ac203cd6d.png

0 项奖励
回复
1 回复

1,479 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

there is "adc_hwtrigger" demo example within S32 Design Studio.

The purpose of this demo application is to show you the usage of the ADC module triggered in hardware by the Programmable Delay Block using SDK. Single channel is used, but you can add another one.

Also you can refer to below example...

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-PDB-ADC-DMA-S32DS-ARM-2018-R1/ta-p/...

 

BR, Petr

0 项奖励
回复