Renesas M16C/6NL Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 293 of 314
REJ09B0126-0102
M16C/6N Group (M16C/6NL, M16C/6NN) 22. Usage Precaution
Under development
This document is under development and its contents are subject to change.
22.10 Thee-Phase Motor Control Timer Function
If there is a possibility that you may write data to TAi-1 register (i = 1, 2, 4) near Timer B2 overflow, read the
value of TB2 register, verify that there is sufficient time until Timer B2 overflows, before doing an immediate
write to TAi-1 register.
In order to shorten the period from reading TB2 register to writing data to TAi-1 register, ensure that no
interrupt will be processed during this period.
If there is not enough time till Timer B2 overflows, only write to TAi-1 register after Timer B2 overflowed.