2004-06-01 09:39 PM
Problem while updating the DCR register in ART 2 of Lite2x
2004-06-01 12:46 AM
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.
2004-06-01 12:56 AM
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.2004-06-01 09:39 PM
Thanks a lot, setting the TRAN bit has solved my problem