Other Parts Discussed in Thread: TMS570LS3137
Hello
While programming for the HET-Module of TMS570LS3137, I discovered that the PWCNT-Instuction decrements Data Field at the LSB (Bit 0) . This means, the instruction is decrementing the HR portion of the 32 bits instead of the LR Portion only, as I expected. Can somebody tell me the reason for this and how I can change that. The manual tells me, that the hr_lr bit ignores the LR part when set . (is this statement only related to pin-actions) What ever HIGH or LOW means in realtion to set and reset of he_lr, I tried both and neither worked as I expected. LOW = set = 1 and HIGH = rest = 0 in this context.
do I have to rewrite my whole code or is there a way out?
regards, matthias