Part Number: TMS320F2800137
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
wanted to Capture events on the Gpio0 pin. i'm not able to capture the events, does the input xbar selected properly, can you please verify the the configuration.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F2800137
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
wanted to Capture events on the Gpio0 pin. i'm not able to capture the events, does the input xbar selected properly, can you please verify the the configuration.
Can you scope out the signal you're trying to capture on an oscilloscope first?
You're setup seems fine with inputxbar1 used to capture GPIO0. Did you change your default GPIO0 peripheral mux configurations?
Have you tried starting off with our C2000WARE examples using eCAP to capture a ePWM signal? This is found here: C:\ti\c2000\C2000Ware_x_xx_xx_xx\driverlib\f280013x\examples\ecap\ecap_ex2_capture_pwm.c
Best,
Ryan Ma

gpio configurations.
I'm trying to decode a RF signal, the method was working with the code that was generated by Ti sysconfig, but when i try with bitfield it is not working, and i have to make this ecap module work with bitfield only.
Hi Manoj,
If you're trying to decode an RF signal, what does the signal look like? Can you provide a screenshot?
If the overflow is occurring, then there is no rising edge occurring for your first capture polarity. Can you please try using your code to capture a PWM signal first to confirm your eCAP configurations? Can you generate an interrupt when the first capture event is achieved?
Also, can you diff the register dump of our existing C2000WARE example's eCAP registers and compare that with your bitfield project eCAP registers?
Best,
Ryan Ma