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.
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:
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);
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------