Part Number: TMS320F28379D Tool/software: Code Composer Studio I want to read signal of rotating shaft which gives frequency from 20Hz to 1.73Khz. I have initialized GPIO 16 pin as eCAP. I am reading signal but in between eCAP is reading noise. I am using two DCDC conveters in my circuit to supply +/- 12 V. I have feeling that because of high switching frequency in DCDC converter causing noise reading in eCAP. I have doubt that eCAP frequency is 200MHz and shaft frequency is less than 2KHz. Shall i use prescaler for eCAP so that it will not read signal frequency above 2KHz. If this works then how to use eCAP prescaler in program ?
↧