![Freescale Semiconductor MPC5632M Manual Download Page 707](http://html.mh-extra.com/html/freescale-semiconductor/mpc5632m/mpc5632m_manual_2330659707.webp)
MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
707
Preliminary—Subject to Change Without Notice
Note that it is possible to add one more UC channel in this slice since there are memory locations available.
If a new UC is added it should be placed in the Channel [7] slot.
Figure 22-77. Wheel Speed Channel Interconnection
The maximum number of Wheel Speed channels used by an integration is limited by the memory map
available. Note that for an 8 channels slice the maximum number of Wheel Speed channels is 4 since the
WSC requires the double of the memory space address required by an UC. The time base for the WSC in
this case should be the Counter Bus A which is the Global time base, since there is no slot available for an
additional UC to drive a time base.
22.5.2.3
Wheel Speed Channel Flags Operation
The Wheel Speed Channel flags in the Status Register indicate when events from several sources had
occurred. In order to clear a flag one has some alternatives:
•
write to the correspondent Flag Clear bit (see
);
•
access the appropriate register (EMIOSWSCAEC[n], EMIOSWSEV[n], EMIOSWSPW[n]), that
clears the one flag (see
Section 22.4.2.15, “eMIOS200 WSC Status Register (EMIOSWSS[n])
description) which requires special care from software application to access those registers only if
a clear flag operation is also desired.
•
perform a DMA transfer that responds to the flag request (ipd_done asserted) if DMA is active in
the device (bit DMA of EMIOSWSC1[n] register set).
In general
set
events have precedence over
clear
events for flags, which means that if a certain event that
sets the flag occurs, then the flag will be set regardless of events that cleared the flag. Additionally, the flag
pin_1
channel
logic
counter bus
a
coun
ter bus b
channel
logic
channel
logic
driven by UC[23] channel
Channel [0] - UC in MC mode
Channel [1] - WSC
Channel [5] -WSC
Input pins
pin_3
channel
logic
Channel [3] - WSC
pin_5