tmp88ph40mg TOSHIBA Semiconductor CORPORATION, tmp88ph40mg Datasheet - Page 90

no-image

tmp88ph40mg

Manufacturer Part Number
tmp88ph40mg
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP88PH40MG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp88ph40mg(KYZ)
Manufacturer:
TOSHIBA
Quantity:
10
driver)
MDCRB
MDCRA
DTR
MDOUT
E, D, C
11.5.2 Register Functions of the Waveform Synthesis Circuit
3, 2
7, 6
5, 4
3, 2
1, 0
7
6
5
4
1
0
F
B
A
9
8
PWMCK
MDCNT
MDPRD
DTR
PWMMD
PWMEN
UPDWN
DTYMD
HLFINT
PDEXP
PSYNC
WPWM
SYNCS
VPWM
UPWM
POLH
POLL
WOC
PINT
VOC
UOC
Select PWM counter clock
Dead time
PWM counter
Set PWM period
Select half-period interrupt
DUTY mode
Upper-phase port polarity
Lower-phase port polarity
PWM interrupt frequency
PWM mode
Enable/Disable waveform
generation circuit
PWM counter flag
Mode compare register
Select PWM synchronization
Control UVW-phase PWM
outputs
Select port output sync signal
Control UVW-phase outputs
Select PWM counter clock.
When this bit is set to 1, INTPWM is generated every half period (at triangular wave peak
and valley) in the case of center PWM output and PINT = 00. In other cases, this setting
has no meaning.
Select whether to set the duty cycle independently for three phases using the CMPU to W
Registers or in common for all three phases by setting the CMPU Register only.
Select the upper-phase output port polarity. Make sure the waveform synthesis function
(MDCRA Register bit 0) is idle before selecting this port polarity.
Select the lower-phase output port polarity. Make sure the waveform synthesis function
(MDCRA Register bit 0) is idle before selecting this port polarity.
Select the frequency at which to generate a PWM interrupt from four choices available:
every PWM period or once every 2, 4, or 8 PWM periods. When setting of this bit is
altered while operating, an interrupt may be generated at the time the bit is altered.
Select PWM mode. PWM mode 0 is an edge PWM (sawtooth wave), and PWM mode 1 is
a center PWM (triangular wave).
When enabling this circuit (for waveform output), be sure to set the output port polarity
and other bits of this register (other than MDCRA bit 0) beforehand.
Set the dead time between the upper-phase and lower-phase outputs.
This bit indicates whether the PWM counter is counting up or down. When edge PWM
(sawtooth wave) is selected, it is always set to 0.
Set the data to be compared with the position detection input port. The comparison data is
adopted as the expected value simultaneously when port output sync settings made with
MDOUT are reflected in the ports.
(This is the expected position detection input value for the output set with MDOUT next
time.)
Select whether or not to synchronize port output to PWM period after being synchronized
to the synchronizing signal selected with SYNCS. If selected to be synchronized to PWM,
output is kept waiting for the next PWM after being synchronized with SYNCS. Waveform
settings are overwritten if new settings are written to the register during this time, and out-
put is generated with those settings.
Set U, V, and W-phase port outputs. (See the Table 11-3)
Select the synchronizing signal with which to output UVW-phase settings to ports. The
synchronizing signal can be selected from Timers 1 or 2, position detection, or asynchro-
nous. Select asynchronous when the initial setting, otherwise the above setting isn’t
reflected immediately.
Set U, V, and W-phase port outputs. (See the Table 11-3)
This is a 12-bit read-only register used to count PWM periods.
This register determines PWM period, and is dual-buffered, allowing PWM period to be
altered even while the PWM counter is operating. The buffers are loaded every PWM
period. When 100 ns is selected for the PWM counter clock, make sure the least signifi-
cant bit is set to 0.
Page 80
TMP88PH40MG

Related parts for tmp88ph40mg