AD conversion trigger

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

AD conversion trigger

1,128件の閲覧回数
Hozumi
Contributor I

I'm investigating how to efficiently perform multiple AD conversions.

There are environment sensors connected to ADC0 and ADC1, which is necessary to trigger the AD conversion at the same time with the exact cycle (e.g. every 10 ms) and transfer the AD value to memory via DMA.

In addition, different sensors for system diagnostics are also connected to ADC0 and ADC1, and need to read the AD value in the gap of the periodic AD conversion of the environment sensor.

If we need to read the two environment sensors at the correct cycle, how is it best to trigger it?

Also, what is the better trigger when reading the system diagnostic sensor in the gap between the readings of the environment sensor?

Please give me some advice on how to configure S32K.

0 件の賞賛
返信
1 返信

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

Hi,

if the environment sensors have to be sampled at exact rate on both  ADC0 and ADC1 then you will need to use PDB to trigger both ADCs. Other sensors should be added to this which simplifies this a lot.

You can refer to below example which shows possible implementation of multiple ADC conversions using SDK.

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

Hope it helps.

BR, Petr

0 件の賞賛
返信