Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hi
I had some problems with the other post and I couldn't figure out how to make them work.
I also had to pause the project at work before and I'm being requested to finish that area in particular as fast as possible.
We are controlling 11 DC motors using quadrature encoders without Index pin.
Before we were trying to use the HET IDE to program it and use the application note on quadrature encoders as well as other posts to make the code. We had some problems with the simulation and the retrieving of the data from the co-processor.
I was reading the previous posts and I still have this question:
Please take a look at the red rectangle. There is a set of instructions for edge detection. The encoders (rising and falling edges) provide 14453 pules per revolution, at 25.8RPM, having a frequency of 6214.79pulses per second, 6.2kHz, which is quite slow.
Can I use that specific set of instructions to make a code in C to read the 11 quadrature encoders?
if the answer is yes, could you please explain to me what is the meaning on hetREG (is it the pin I want to use?) and the edge? like, what to write in there. And what is the hetRAM? like... how can I retrieve the count in a specific encoder using that instruction?
Thanks