Sensorless vector control for permanent magnetic
synchronous motor - 1shunt current detection
3.1.7.2 Shunt resistance current measurement method using RA6T2 function
When measuring the current with one shunt resistor as shown in 3.1.7.1, it is necessary to control the
conversion timing of the A / D converter according to the PWM duty setting. In the sample software, this is
realized by GTADTRA of RA6T2 GPT module and A / D conversion start request function by compare match
of GTADTRB register and GTCNT counter.
R01AN6840EJ0100 Rev.1.00
May 23, 2023
Figure 3-4 GPT ADC trigger setting
For Renesas Flexible Motor Control Series
Page 39 of 73