EasyManua.ls Logo

Freescale Semiconductor MPC5604B - Configuring the NDI for Nexus Messaging

Default Icon
934 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MPC5604B/C Microcontroller Reference Manual, Rev. 8
Freescale Semiconductor 817
33.7.3 Configuring the NDI for Nexus Messaging
The NDI is placed in disabled mode upon exit of reset. If message transmission via the auxiliary port is
desired, a write to the port configuration register (PCR) located in the NPC is then required to enable the
NDI and select the mode of operation. Asserting MCKO_EN in the PCR places the NDI in enabled mode
and enables MCKO. The frequency of MCKO is selected by writing the MCKO_DIV field. Asserting or
negating the FPM bit selects full-port or reduced-port mode, respectively. When writing to the PCR, the
PCR LSB must be written to a logic zero. Setting the LSB of the PCR enables factory debug mode and
prevents the transmission of Nexus messages.
Table 33-13 describes the NDI configuration options.
33.7.4 Programmable MCKO Frequency
MCKO is an output clock to the development tools used for the timing of MSEO and MDO pin functions.
MCKO is derived from the system clock, and its frequency is determined by the value of the MCKO_DIV
field in the port configuration register (PCR) located in the NPC. Possible operating frequencies include
one-quarter and one-eighth system clock speed.
Refer to the MCKO_DIV [2:0] field description in Table 33-4 for the MCKO_DIV encodings, where
SYS_CLK represents the system clock frequency. The default value selected if a reserved encoding is
programmed is SYS_CLK2.
33.7.5 Nexus Messaging
Most of the messages transmitted by the NDI include an SRC field. This field is used to identify which
source generated the message. Table 33-14 shows the values used for the SRC field by the different clients
on the MPC5604B. These values are specific to the MPC5604B. The size of the SRC field in transmitted
messages is 4 bits. This value is also specific to the MPC5604B.
33.7.6 EVTO Sharing
The NPC block controls sharing of the EVTO output between all Nexus clients that generate an EVTO
signal. The sharing mechanism is a logical AND of all incoming EVTO signals from Nexus blocks,
Table 33-13. NDI configuration options
MCKO_EN bit of PCR FPM bit of PCR Configuration
0 X Disabled
11Full-Port Mode
1 0 Reduced Port Mode
Table 33-14. SRC Packet Encodings
SRC[3:0] MPC5604B Client
0b0000 e200z0
All other combinations Reserved

Table of Contents

Other manuals for Freescale Semiconductor MPC5604B

Related product manuals