PWMA_SMnVAL1 field descriptions
Field
Description
VAL1
Value Register 1
The 16-bit signed value written to this buffered, read/write register defines the modulo count value
(maximum count) for the submodule counter. Upon reaching this count value, the counter reloads itself
with the contents of the INIT register and asserts the local sync signal while resetting PWM_X. This
register is not byte accessible.
NOTE: The VAL1 register is buffered. The value written does not take effect until MCTRL[LDOK] is set
and the next PWM load cycle begins or CTRL[LDMOD] is set. VAL1 cannot be written when
MCTRL[LDOK] is set. Reading VAL1 reads the value in a buffer. It is not necessarily the value
the PWM generator is currently using.
NOTE: When using FRACVAL1, limit the maximum value of VAL1 to 0xFFFE for unsigned applications
or to 0x7FFE for signed applications, to avoid counter rollovers caused by accumulating the
fractional period defined by FRACVAL1.
NOTE: If the VAL1 register defines the timer period (Local Sync is selected as the counter initialization
signal), a 100% duty cycle cannot be achieved on the PWMX output. After the count reaches
VAL1, the PWMX output is low for a minimum of one count every cycle. When the Master Sync
signal (only originated by the Local Sync from sub-module 0) is used to control the timer period,
the VAL1 register can be free for other functions such as PWM generation without the duty cycle
limitation.
37.4.8 Fractional Value Register 2 (PWMA_SMnFRACVAL2)
Address: 4003_3000h base + 10h (96d × i), where i=0d to 3d
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
PWMA_SMnFRACVAL2 field descriptions
Field
Description
15–11
FRACVAL2
Fractional Value 2
These bits act as a fractional addition to the value in the VAL2 register which controls the PWM_A turn on
timing. It is also used to control the fractional addition to the turn off delay of PWM_B when
MCTRL[IPOLx]=0 in complementary mode, CTRL2[INDEP]=0.
NOTE: The FRACVAL2 register is buffered. The value written does not take effect until MCTRL[LDOK] is
set and the next PWM load cycle begins or CTRL[LDMOD] is set. FRACVAL2 cannot be written
when MCTRL[LDOK] is set. Reading FRACVAL2 reads the value in a buffer and not necessarily
the value the PWM generator is currently using.
NOTE: FRCTRL[FRAC23_EN] should be set to 0 when the values of VAL2 and VAL3 cause the high or
low time of the PWM output to be 3 cycles or less.
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
Chapter 37 Pulse Width Modulator A (PWMA/eFlexPWM)
KV4x Reference Manual, Rev. 2, 02/2015
Freescale Semiconductor, Inc.
Preliminary
787
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...