參數(shù)資料
型號: M38B57
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 49/69頁
文件大?。?/td> 1011K
代理商: M38B57
MITSUBISHI MICROCOMPUTERS
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
49
PRELIMINARY
Notice: This s not a final specification.
Some parametric imits are subject to change.
1. Data setup
The PWM output pin also function as port P8
7
. Set port P8
7
to be the
PWM output pin by setting bit 0 of the PWM control register (address
0026
16
) to “1.” The high-order 8 bits of output data are set in the
high-order PWM register PWMH (address 0014
16
) and the low-order
6 bits are set in the low-order PWM register PWML (address 0015
16
).
2. PWM operation
The timing of the 14-bit PWM function is shown in Figure 56.
The 14-bit PWM data is divided into the low-order 6 bits and the
high-order 8 bits in the PWM latch.
The high-order 8 bits of data determine how long an “H” level signal
is output during each sub-period. There are 64 sub-periods in each
period, and each sub-period t is 256
τ
(= 64 μs) long. The signal’s
“H” has a length equal to N times
τ
, and its minimum resolution = 250
ns.
The last bit of the sub-period becomes the ADD bit which is specified
either “H” or “L,” by the contents of PWML. As shown in Table 8, the
ADD bit is decided either “H” or “L.”
That is, only in the sub-period tm shown in Table 8 in the PWM cycle
period T = 64t, the “H” duration is lengthened during the minimum
resolution width
τ
period in comparison with the other period.
For example, if the high-order eight bits of the 14-bit data are “03
16
and the low-order six bits are “05
16
,” the length of the “H” level output
in sub-periods t
8
, t
24
, t
32
, t
40
and t
56
is 4
τ
, and its length 3
τ
in all other
sub-periods.
Time at the “H” level of each sub-period almost becomes equal be-
cause the time becomes length set in the high-order 8 bits or be-
comes the value plus
τ
, and this sub-period t (= 64
μ
s, approximate
15.6 kHz) becomes cycle period approximately.
3. Transfer from register to latch
Data written to the PWML register is transferred to the PWM latch
once in each PWM period (every 4096 μs), and data written to the
PWMH register is transferred to the PWM latch once in each sub-
period (every 64 μs). When the PWML register is read, the contents
of the latch are read. However, bit 7 of the PWML register indicates
whether the transfer to the PWM latch is completed; the transfer is
completed when bit 7 is “0.”
Table 8 Relationship between Low-order 6-bit Data and Setting
Period of ADD Bit
Low-order
6-bit data
Sub-periods tm lengthened (m = 0 to 63)
LSB
0 0 0 0 0 0
0 0 0 0 0 1
0 0 0 0 1 0
0 0 0 1 0 0
0 0 1 0 0 0
0 1 0 0 0 0
1 0 0 0 0 0
None
m = 32
m = 16, 48
m = 8, 24, 40, 56
m = 4, 12, 20, 28, 36, 44, 52, 60
m = 2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62
m = 1, 3, 5, 7, .................................................., 57, 59, 61, 63
Fig. 54 PWM Timing
15.75
μ
s
64
μ
s
64
μ
s
64
μ
s
64
μ
s
64
μ
s
m = 0
m = 7
m = 8
m = 9
m = 63
16.0
μ
s
15.75
μ
s
15.75
μ
s
15.75
μ
s
15.75
μ
s
15.75
μ
s
Pulse width modulation register H: 00111111
Pulse width modulation register L: 000101
Sub-periods where “H” pulse width is 16.0
μ
s: m = 8, 24, 32, 40, 56
Sub-periods where “H” pulse width is 15.75
μ
s: m = all other values
4096
μ
s
相關PDF資料
PDF描述
M38B53M4-059FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B53M4-060FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57MC-111FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57MC-132FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57MC SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關代理商/技術(shù)參數(shù)
參數(shù)描述
M38B57E1XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57E1XXXFS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57E2XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57E2XXXFS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57E3XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER