Part Number: TMS320F28388S Tool/software: Hi experts, I ask this question for my customer, they want to use clb to realize below function: they need to detect the DB time between EPWMA and EPWMB, and if DB less than set value, it will let DB time keep in min DB time. And I found our SDK provide this demo: clb_ex4_pwm_protection, and it says it can realize it. 1. I'm not sure if my understand is correct, can it realize the function that customer need? 2. But when I run it and use the simulation, I have some question, in my understanding, the input of TILE boundary input should be same? In CLB, its input is show in below: EPWMA and EPWM A and EPWMB and EPWMB, it should be a pair of complementary signals, but in boundary input, the input signal has different period. 3. And when I watch the output of this demo, the input waveform and output waveform are not what I expected。 4. So, I think it may have wrong boundary input , I change the boundary input, let them is a pair of complementary signals, but the output also not as my expected, I don't know where I'm wrong 5. For find out the reason, I try to understand the CLB logic, it will capture the falling edge of EPWMA and EPWMB, and when it capture, it will start to count, and when it exceeds, it will change output to gruateen the min DB time. Do we have some design file about this demo? I want to clarify the whole logic, but just according to the block diagram I think it may a bit hard to me. BRs Shuqing
↧