MC9S12E128CPV Freescale Semiconductor, MC9S12E128CPV Datasheet - Page 397

Microcontrollers (MCU) 16 Bit 16MHz

MC9S12E128CPV

Manufacturer Part Number
MC9S12E128CPV
Description
Microcontrollers (MCU) 16 Bit 16MHz
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC9S12E128CPV

Data Bus Width
16 bit
Program Memory Type
Flash
Program Memory Size
128 KB
Data Ram Size
8 KB
Interface Type
SCI, SPI
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
92
Number Of Timers
16 bit
Operating Supply Voltage
3.135 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
LQFP-112
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
On-chip Dac
8 bit, 2 Channel
Lead Free Status / Rohs Status
No RoHS Version Available

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S12E128CPVE
Manufacturer:
FREESCALE
Quantity:
1 560
Part Number:
MC9S12E128CPVE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S12E128CPVE
Manufacturer:
FREESCALE
Quantity:
1 560
12.3.2.12 PWM Channel Counter Registers (PWMCNTx)
Each channel has a dedicated 8-bit up/down counter which runs at the rate of the selected clock source.
The counter can be read at any time without affecting the count or the operation of the PWM channel. In
left aligned output mode, the counter counts from 0 to the value in the period register – 1. In center aligned
output mode, the counter counts from 0 up to the value in the period register and then back down to 0.
Any value written to the counter causes the counter to reset to 0x0000, the counter direction to be set to
up, the immediate load of both duty and period registers with values from the buffers, and the output to
change according to the polarity bit. The counter is also cleared at the end of the effective period (see
Section 12.4.2.5, “Left Aligned Outputs,”
details). When the channel is disabled (PWMEx = 0), the PWMCNTx register does not count. When a
channel becomes enabled (PWMEx = 1), the associated PWM counter starts at the count in the
PWMCNTx register. For more detailed information on the operation of the counters, reference
Section 12.4.2.4, “PWM Timer Counters.”
In concatenated mode, writes to the 16-bit counter by using a 16-bit access or writes to either the low- or
high-order byte of the counter will reset the 16-bit counter. Reads of the 16-bit counter must be made by
16-bit access to maintain data coherency.
Freescale Semiconductor
Reset
Reset
Reset
W
W
W
R
R
R
Bit 7
Bit 7
Bit 7
0
0
0
0
0
0
7
7
7
Writing to the counter while the channel is enabled can cause an irregular
PWM cycle to occur.
Figure 12-15. PWM Channel Counter Registers (PWMCNT0)
Figure 12-16. PWM Channel Counter Registers (PWMCNT1)
Figure 12-17. PWM Channel Counter Registers (PWMCNT2)
6
0
0
6
0
0
6
0
0
6
6
6
MC9S12E128 Data Sheet, Rev. 1.07
5
0
0
5
0
0
5
0
0
5
5
5
and
Section 12.4.2.6, “Center Aligned Outputs,”
NOTE
4
0
0
4
0
0
4
0
0
4
4
4
3
0
0
3
0
0
3
0
0
3
3
3
Chapter 12 Pulse-Width Modulator (PWM8B6CV1)
2
0
0
2
0
0
2
0
0
2
2
2
1
0
0
1
0
0
1
0
0
1
1
1
for more
Bit 0
Bit 0
Bit 0
0
0
0
0
0
0
0
0
0
397

Related parts for MC9S12E128CPV