Other Parts Discussed in Thread: HALCOGEN
Tool/software: TI C/C++ Compiler
Hi
Im working with the Hercules TMS570LS1114 and I need to connect 9 quadrature encoders with the N2HET. I saw the application note http://www.ti.com/lit/an/spna228/spna228.pdf with the state machine. I also read this post: http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/536444/2021979 and found it quite helpful but today I was using Halcogen and on the het.h file I saw some functions for edge detection and also counters.
I was wondering if, even when Halcogen only supports 7 captures or 7 interrupts per HET and I need 14 on HET1 and 4 in HET2, I could use C functions to do the code or if there is another code for the module to be able to do the task since I tried to replicate the post I added here and had some problems.
Also how can I get the information about the encoders back to the CPU to use them? Do you have a C code for 1 quadrature encoder I could replicate to get the amount of quadrature readings I need?
Thanks and best regards!
C@