Modular Input/Output Subsystem (MIOS14)
MPC561/MPC563 Reference Manual, Rev. 1.2
17-4
Freescale Semiconductor
— Possible use of signal as I/O port when MDASM function is not needed
•
MIOS14 pulse width modulation submodule (MPWMSM):
— Output pulse width modulated (PWM) signal generation with no software involvement
— Built-in 8-bit programmable prescaler clocked by the MCPSM
— PWM period and pulse width values provided by software:
– Double-buffered for glitch-free period and pulse width changes
– Two-cycle minimum output period/pulse-width increment
(50 ns @ 40 MHz)
– 50% duty-cycle output maximum frequency: 10 MHz
– Up to 16 bits output pulse width resolution
– Wide range of periods:
•
16 bits of resolution: period range from 3.27 ms (with 50-ns steps) to
6.71 s (with 102.4
µ
s steps)
•
Eight bits of resolution: period range from 12.8
µ
s (with 50-ns steps) to
26.2 ms (with 102.4-
µ
s steps)
– Wide range of frequencies:
•
Maximum output frequency at f
SYS
= 40 MHz with 16 bits of resolution
and divide-by-2 prescaler selection: 305 Hz (3.27 ms)
•
Minimum output frequency at f
SYS
= 40 MHz with 16 bits of resolution
and divide-by-4096 prescaler selection: 0.15 Hz (6.7 s)
•
Maximum output frequency at f
SYS
= 40 MHz with eight bits of
resolution and divide-by-2 prescaler selection: 78125 Hz (12.8
µ
s)
•
Minimum output frequency at f
SYS
= 40 MHz with 8 bits of resolution
and divide-by-4096 prescaler selection: 38.14 Hz (8.2 ms)
— Programmable duty cycle from 0% to 100%
— Possible interrupt generation after every period
— Software selectable output pulse polarity
— Software readable output signal status
— Possible use of signal as I/O port when PWM function is not needed
•
MIOS14 16-bit parallel port I/O submodule (MPIOSM):
— Up to 16 parallel I/O signals per MPIOSM
— Uses four 16-bit registers in the address space, one for data and one for direction and two
reserved
— Simple data direction register (DDR) concept for selection of signal direction
17.2.1
Submodule Numbering, Naming, and Addressing
A block is a group of four 16-bit registers. Each of the blocks within the MIOS14 addressing range is
assigned a block number. The first block is located at the base address of the MIOS14. The blocks are
numbered sequentially starting from 0.
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...