Leon Thürnau

KV4x: trigger ADC at different times over a PWM period

Discussion created by Leon Thürnau on Mar 26, 2018
Latest reply on Apr 20, 2018 by Leon Thürnau

Hello,

 

I'm using the Simulink Toolbox for Model-Based Design with KV4x but now there is a question which is placed here better.

As I asked here https://community.nxp.com/thread/469445#comment-993599 I want to know if it is possible to trigger the ADC at different times over one pwm period with KV4x.

 

I found out that with an additional pre-Trigger in the PDB_Config block the End of Scan Interrupt occures two times, so with every pre Trigger all configured samples are read. This is not what I want !

So in simultaneous mode the both converters adca and adcb should read one specific sample pair with each trigger but not directly after each other.

 

For example:

Trigger0 - ADCA: I_phA ; ADCB: I_phB

Trigger1 - ADCA: U_dcb ; ADCB: I Temp

 

Best regards

 

Leon

Outcomes