about PDB1 block

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

about PDB1 block

1,144件の閲覧回数
adigei
Contributor I

Hi all,

 Anyone can handle PDB1 (not PDB0) on KV10&KV11 series? It seems this can not tied to FTMx to acquire ADC conversation. The target application is consist of two ADC conversations on PWM on high&low levels regarding to delay val of PDB (centeret alligement is not helps)

 PDB0 can handle the job listed above but PDB1 is not. A simple init rouitne will be sufficent.

Regards.

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

1,028件の閲覧回数
adigei
Contributor I

pratically; the code which is listed below can work on PDB1 ?

SDK_2.2_MKV10Z128***7\boards\twrkv11z75m\demo_apps\thermistor_lab

*** = see triple 'x' due to pass forum security :smileyhappy:

0 件の賞賛
返信

1,028件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

You can test the ftm_pdb_adc16 demo. (C:\SDK_2.3.0_TWR-KV11Z75M\boards\twrkv11z75m\demo_apps\ftm_pdb_adc16)

Additional configuration needs to be written when PDB1 module is used:

    SIM->SOPT7 |=SIM_SOPT7_ADC0ALTTRGEN(0x01)|SIM_SOPT7_ADC1ALTTRGEN(0x01);

alternative conversion triggers for ADC.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信