Enhanced Modular Input/Output Subsystem (eMIOS)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
16-63
shows the timing for the A1 and B1 loading. A1 and B1 use the same signal to trigger a load,
which is generated based on the selected counter reaching one. This event is defined as the cycle boundary.
The load signal pulse has the duration of one system clock cycle and occurs at the first system clock period
of every cycle of the counter. If A2 and B2 are written within cycle (
n
), their values are loaded into A1 and
B1, respectively, at the first clock of cycle (
n
+1). The update disable bits, EMIOS_OUDR, can be used to
control the update of these registers, thus allowing the delay of A1 and B1 update for synchronization
purposes.
During the load pulse A1 still holds its old value, which is updated on the following system clock cycle.
During the A1 load pulse, an internal by-pass allows the use of A2 instead of A1 for matches if A2 is either
0 or 1, thus allowing matches to be generated even when A1 is being loaded. This approach allows a
uniform channel operation for any A2 value, including 1 and 0.
it is assumed that the channel and global prescalers are set to one, meaning that the channel
internal counter transition at every system clock cycle. FLAGs can be generated only on B1 matches when
MODE[5] is cleared, or on both A1 and B1 matches when MODE[5] is set. Since B1 FLAG occurs at the
cycle boundary, this flag can be used to indicate that A2 or B2 data written on cycle (
n
) were loaded to A1
or B1, respectively, thus generating matches in cycle (
n
+1).
Figure 16-46. eMIOS OPWFMB Mode Example — A1/B1 Updates and Flags
Cycle n
Cycle n+1
Cycle n+2
A1 value
B1 value
B2 value
0x000008
0x000002
0x000006
0x000008
0x000001
EMIOS_CCNTR
n
0x000004
0x000006
MODE[0] = 1
A2 value
0x000002 0x000004
0x000006
0x000002
0x000004
0x000006
0x000008
0x000006
Output flip-flop
Write to B2
Match A1
Match B1
Match B1
A1/B1 load signal
Due to B1 match
FLAG set event
cycle n-1
Time
Write to A2
Match A1
Write to A2
Match B1
EDPOL = 0
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...