Other Parts Discussed in Thread: TMS320F28379D, INA240, , TMS320F28388D
Hi,
I think this is probably a noob question,
We have situation similar to TIDA-01629: INA240 with the TMS320F28379D (except we are looking at a TMS320F28388D), the 32kHz PWM frequency and 64 kHz current sampling frequency. In your answer to TIDA-01629 it says that you should sample at the beginning and center of the PWM. Sounds good... Then later is says that "By sampling when no PWM switching occurs we actually avoid switching noise." Our duty cycle can be 0 to 100%. How can you guarantee that you are not sampling when PWM occurs, do you limit your PWM range? Due to other reasons, I can not sample current too much faster than 64 kHz. If you are sampling during a PWM switching event, what is the best way to get rid of the short glitch at the output of the INA240 caused by the PWM switching?
Thanks,
Jennifer