S32k144 ADC multiple channels with PDB back to back

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

S32k144 ADC multiple channels with PDB back to back

2,717 次查看
yeeshiangkhor
Contributor I

Dear Sir,

Currently I am using S32k144 EVB board. S32 Design Studio 2.0.

I had go through sample code named

1) "adc_hwtrigger_s32k144" with using PDB but single channel only.

2) "adc_pal_example_s32k144" with able to read multiple channel in ADC0 with hardware trigger LPTMR

I am looking for example code extended form either above item 1 or 2 which able to read multiple channels in ADC0 with PDB back to back mode by S32k application (API) version. Including how to configure PDB component library for back to back mode. I believed besides only checked (ticked) on the "back to back mode" the should be some setting to correlate too.

Thanks in advance.

2 回复数

1,918 次查看
PetrS
NXP TechSupport
NXP TechSupport

1,918 次查看
yeeshiangkhor
Contributor I

Hi Petr,

Thanks. Your reply really helpful and now I know about PDB in back to back mode for ADC multiple channels.

How about using ADC_PAL (adcpal1:adc_pal) with PDB as hardware trigger? May I know how the configuration should be?

Do you have sample code?

Is that any advantage by using PDB as harware triggered as compared with LPTMR in ADC_PAL?

PDB.png

ADC_PAL having back to back mode? I found if drag in PDB component library, the ADC_PAL icon will shows "conflict" sign as below.

conflict.png

0 项奖励
回复