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.

rtiSetPeriod and COMPx register

Other Parts Discussed in Thread: HALCOGEN

Hello,

I should first state that I'm using HalCoGen 3.06 because I wasn't able to figure out how to get the lwip example to work with any of the HalCoGen versions after it. So this may have already been fixed.

In my application on the RM48, I need to change the period for my RTI interrupt. The process seemed pretty easy - stop the counter, reset the counter, set the new period, then start the counter again. However I found that in the setPeriod function I actually needed to add the line:

    rtiREG1->CMP[compare].COMPx = period;

in order to get it to function correctly. But I came across this http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/267520.aspx where it seemed to make something not work anymore.  Is there a different step I should have taken? It's a low priority because it seems to function correctly now, but I wasn't sure if it's specific to my application or if it's a bug worth pointing out to the HalCoGen team. 

Thanks