PDB period

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

PDB period

227件の閲覧回数
sarwath
Contributor IV

Hello Community,

Can anyone explain the Pdb period. I read from some examples but I didn't understand that. I am attaching the example ss for your reference.

1.sarwath_0-1669710560283.png

 

2.sarwath_1-1669710593838.png

Consider I want to set the PDB period to 1 milli second / 1 micro second then what are the configuration I have to make in PDB module.

Thanks in advance,

Sarwath

 

 

タグ(2)
0 件の賞賛
3 返答(返信)

206件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @sarwath 

To offer better support, could you tell me which example you are using?

 

B.R.

VaneB

0 件の賞賛

204件の閲覧回数
sarwath
Contributor IV

Hi @VaneB ,

1. I read from the ADC (AN12217) document.

2. S32K144_PDB_ADC_DMA_sdk_rtm_300

In my project I have to sense the analog signal. To do that I am using both ADC0 and ADC1 and to  trigger the ADC I am using the PDB.

By using below instruction I am setting the MOD value and Delay value.

PDB_DRV_SetTimerModulusValue(INST_PDB1,2000);
PDB_DRV_SetAdcPreTriggerDelayValue(INST_PDB1,0 ,0 ,180);

Consider If I want to read the ADC result at every 1ms, then how to configure the PDB to trigger the ADC.

BR,

Sarwath

0 件の賞賛

192件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Take a look at these examples using ADC, PDB, and DMA. They will be useful to you.

Example S32K144 PDB ADC trigger DMA ISR S32DS 

Example S32K144 PDB ADC DMA S32DS.ARM.2018.R1 

0 件の賞賛