about PDB1 block

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

about PDB1 block

869 Views
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 Kudos
Reply
2 Replies

753 Views
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 Kudos
Reply

753 Views
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 Kudos
Reply