This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can't set initial compare value for RTI

Other Parts Discussed in Thread: HALCOGEN, TMS570LS0332

Hi,

I am using Halcogen 4.2 with the TMS570LS0332.

I am setting up RTI compare interrupts.  I want the first compare to occur at one time, and then all subsequent compares to occur at a different frequency.   However, when I modify the "Compare X" box (it lets me change the text) and click somewhere else, it goes back to the same value as the "Update Compare X" box.  Is this a bug?

 

I know I can manually change the registers, but it would nice to not have to.

 

Thanks,

David

  • David,

    Halcogen only generates a basic initialization function. For most users, the compare interrupts is set to occur at the same period. I believe that it is reason for the behavior you observe. User can always override those settings.

    Thanks and regards,

    Zhaohong