Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I'm having a problem with the software example:
eqep_pos_speed_cpu1 (v210, but tried with different versions)
I'm trying to use the example to use the encoder of the TI 2-MTR-Dyno package. The eQEP1A and eQEP1B are registered correctly, however, QEP1I is not registered under any circumstance. I tried:
- Connecting GPIO pin 4 to EQEP1I pin to simulate an index pulse
- Connecting the encoder to the pin header directly
- Directly connecting 3.3V to the EQEP1I pin to force an index detection
None of these seem to work, so once theta_raw overflows, it creates an erroneous generation of theta_mech rendering the encoder useless.
Information on my setup:
- Code Composer 10.0
- Compiler TI v20.2.1.LTS
Thanks for your help in advance!
