tmp88ps42ng TOSHIBA Semiconductor CORPORATION, tmp88ps42ng Datasheet - Page 138

no-image

tmp88ps42ng

Manufacturer Part Number
tmp88ps42ng
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
driver)
13. Motor Control Circuit (PMD: Programmable motor
13.3.1 Configuration of the position detection unit
• The position detection unit is controlled by the Position Detection Control Register (PDCRA,
• When unmatch detection mode is selected for position detection, the unit stores the sampled status of
• In unmatch detection mode, the port status at start of sampling can be read (PDCRC<PDTCT>).
• When starting and stopping position detection synchronously with the timer, position detection is
• Sampling mode can be selected from three modes available: mode where sampling is performed only
• When sampling mode is selected for detecting position while the lower phases are conducting current,
PDCRB). After the position detection function is enabled, the unit starts sampling the position detec-
tion port with Timer 2 or in software. For the case of ordinary mode, when the status of the position
detection input port matches the expected value of the PMD Output Register, the unit generates a posi-
tion detection interrupt and finishes sampling, waiting for start of the next sampling.
the position detection port in memory at the time it started sampling. When the port input status
changes from the status in which it was at start of sampling, an interrupt is generated.
started by Timer 2 and position detection is stopped by Timer 3.
while PWM is on, mode where sensors such as Hall elements are sampled regularly, and mode where
sampling is performed while the lower side is conducting current (when performing sampling only
while PWM is on, DUTY must be set for all three phases in common).
sampling is performed for a period from when the set sampling delay time has elapsed after the lower
side started conducting current till when the current application is turned off. Sampling is performed
independently at each phase, and the sampling result is retained while sampling is idle. If while sam-
pling at some phase is idle, the input and the expected value at other phase being sampled match, posi-
tion is detected and an interrupt is generated.
Figure 13-4 Configuration of the Position Detection Circuit
Page 128
TMP88PS42NG

Related parts for tmp88ps42ng