Other Parts Discussed in Thread: HALCOGEN, TMS570LS0332
Hi,
I am using the TMS570LS0332, CCS6 and Halcogen 4.1
Is there a way in halcogen to set the control value for a given instruction? For instruction 57 I want to set the control value to (0x04000064U). Right now the halcogen het init code sets it to (0x00000004U), but I don't see anywhere that I can change this value.
I can change it manually, but it would be nice not to need to.
[EDIT] Perhaps it would be helpful to explain what I am trying to do, as there may be a better way.
I am generating pwm pulses through the het, and need to monitor the period and duty cycle. This works fine, but if I break the signal path (so there is no pulse coming in) capGetSignal returns a bogus (but non-zero) duty cycle and period (ie duty cycle of 94%, period of 3.4 ms).
I am not the original designer, so I don't know why we want to set it up to capture on the rising and falling edge instead of always. What is the difference? What is the proper way to know if a signal has flat lined (always high or always low) through capGetSignal?
Thanks

