cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while updating the DCR register in ART 2 of Lite2x

anshulgrover415
Associate II
Posted on June 02, 2004 at 06:39

Problem while updating the DCR register in ART 2 of Lite2x

3 REPLIES 3
anshulgrover415
Associate II
Posted on June 01, 2004 at 09:46

When I change the DCR value in my code, I notice that it is not getting updated at the overflow. Can anyone suggest what could be the problem.

anshul
Associate II
Posted on June 01, 2004 at 09:56

In Lite2 ART Timer you have a TRAN bit in TRANCR register which should be set at the time of overflow so that the DCR preloaded values are transferred to the DCR shadow register.

The reset value of this bit is 1, so the first time in your application the DCR would have been updated even though you are not setting this bit; but once a transfer is completed this bit is cleared by hardware so you need to set it if you want your DCR register to be updated at overflow.

anshulgrover415
Associate II
Posted on June 02, 2004 at 06:39

Thanks a lot, setting the TRAN bit has solved my problem