The MPC56xxS family is the latest generation of 32-bit
Power Architecture microcontrollers (MCUs) that
address color thin-film transistor (TFT) displays in
automotive instrument cluster applications. It offers a
cost-effective entry-level instrument cluster solution
with the ability to scale your designs to fit your
performance needs.
1.1Specific MPC5606S Key
Features
•e200 32-bit Book E compliant CPU core
complex built on Power Architecture technology
•Display Control Unit (DCU) for direct drive of
TFT displays up to WQVGA resolution
•Stepper motor drivers (for driving up to six
instrumentation gauges)
•1 MB on-chip flash with separate 64 k Data Flash for the EEPROM Emulation
•48 KB on-chip SRAM with ECC
•160 KB on-chip graphics SRAM (no ECC)
•Parallel Data Interface (PDI) for digital video input
•Sound generation and playback using PWM channels and DMA
•QuadSPI Serial Flash Controller
The MPC5606S-DEMO-V2 allows testing most of the MPC5606S MCUs features, especially graphics.
The following block diagram shows the functionality and architecture of the board.
Figure 1-1. MPC5606S-DEMO-V2 block diagram
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor2
Figure 1-2. MPC5606S-DEMO-V2 functional blocks
Power
2Power
Power to the MPC5606S-DEMO-V2 is applied through a 2.1 mm center-positive barrel jack marked J69.
It includes a resettable poly-fuse F50 that provides protection from excessive current. A Transient Voltage
Suppression (TVS) device provides input protection from excessive voltage. Table 2-1 shows the input
voltages accepted by the board.
Table 2-1. Accepted voltage ranges
Voltag e M o d eVoltag e r a n ge
Nominal7.0V to 18.0V
Over voltage18.0V to 21.0V
Nominal voltage mode — Is when the board operates normally without any risk of damage. All the devices
operate according to their specification.
Over voltage mode — Is a voltage level where the power bus “battery switch” needs to be turned off by
the microcontroller and by setting low the pin PC13. The MCU can continuously sense the battery voltage.
When the voltage range is again nominalit is safe to turn on the battery switch.
The EVB includes a set of power buses that correctly distribute power to all the devices on the board.
Table 2-2 shows the different buses and the jumpers that enable and disable them.
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor3
Video
Table 2- 2. Po w e r b u s es
Power BusJumperComments
5V_MCUJ605V to certain power pins in the MCU.
3_MCUJ623.3V to certain power pins in the MCU.
5V_LEDJ545V to the LEDs in the board.
Battery SwitchJ65Battery power branch without any
regulation
3V_MEMJ573.3V to the serial flash memories installed.
5V_AudioJ585V to the audio circuit.
3V3_LCDJ613.3V digital power to the TFT display
5V_LCDJ665V analog power to the TFT display
The MCU requires both 5 V and 3.3 V because it is connected to the TFT display logic which is 3.3V. The
stepper motor module requires 5 V. Always install both J60 and J62 when using the MCU.
The 5V_Audio and 3V3_LCD require the battery switch J65 to be enabled in order to work.
The 5V_LCD requires that pin PC12 be set on high to turn on the voltage branch.
3Video
The MPC5606S has the capability to drive TFT Displays directly using the DCU module interface.
3.1Display
The display is powered by three buses: 3.3 V, 5 V, and the backlight voltage which is 28 V. The
specification of the display requires the power to be supplied in the following order:
1. 5 Volts for analog power (enabled with pin PC12)
2. 3.3 V for digital power (enabled with the battery switch bus with pin PC13)
3. Backlight (not mandatory, enable backlight circuit using pin PG12)
The display also includes a Resistive Touch Interface connected on J71 through the ADC channels from
the MCU.
The MPC5606S-DEMO-V2 provides a port for a custom adapter board for different display connectivity,
that is a 38 pin MICTOR on J68 with all the RGB, clocks, power, and touch interface signals.
For more details about the specification of the display read the LQ043T1DG01 datasheet.
3.2Backlight Circuitry
The MPC5606S-DEMO-V2 has a Freescale MC34845 which is an analog device to drive LED strings. In
this case, the display included has a 9 LED string for the backlight. The circuit is designed to be supplied
from 7 V to 18 V and provide a stable 20 mA current to either eight or nine LEDs in a string.
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor4
Input and Output
The MC34845 can handle up to six strings. The anodes and cathodes can be accessed from J67. When
building an adapter to drive a different kind of display requiring more LED strings, J67 can be accessed
for that functionality.
The MC34845 is controlled using the MPC5606S MCU as shown in the table below:
Table 3-3. Control signals for the MC34845
SignalFunctionality
Battery Switch
(PC13)
PWM_WAKE_BACKLIGHT
(PG12)
Provides power to the chip, must be
turned off when the system is not in
nominal voltage
PWM for controlling the intensity of the
backlight
The PWM frequency has to be below 100 KHz but preferably above 20 KHz to avoid an audible vibration
from the components. If dimming is not needed then pin PG12 can be set to high and to low to turn on and
off the backlight.
For more details refer to the MC34845 datasheet.
3.3Parallel Data Input (PDI)
The MPC5606S can receive digital video as input. The J50 connector is provided matching signals to the
J72 connector. The J72 is an output port to the display. This allows performing simple interface testing by
connecting the output of one MPC5606S-DEMO-V2 board (J72) into another MPC5606S-DEMO-V2
board (J50).
It is possible to provide power to the J50 connector by setting jumpers on the J52 and J53. Never set the
jumpers if the other board already has them installed. They can only act as power sources but not as power
sinks.
4Input and Output
The MPC5606S-DEMO-V2 provides some basic controls for interfacing, switch buttons, LEDs, and a two
row pin header with the remaining signals of the unused modules from the microcontroller.
There are five general input switch buttons and one reset button as shown in Table 4–4.
Table 4-4. Switch buttons
NameMCU PIN
DOWN (SW5)PF8
RIGHT (SW4)PF3
LEFT (SW3)PF9
TOP (SW2)PF4
ENTER (SW6)PF1
Reset (SW7)RESET
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor5
Input and Output
The board has three LEDs which are powered with the 5 V_LED bus. The signals driving the LEDs are in
the following table.
Table 4-5. LEDs signal connections
NameMCU PIN/signal
LED1 (red)PK10
LED2 (red)PK11
LED3 (green)GND
The connector J51 is a two-row standard 100 mm pin header where all the unused pins from the
microcontroller are routed to. The following table shows the pin assignation of the J51 connector.
Table 4-6. Connector J51 pin assignment
Pin NumberMCU SignalPin NumberMCU Signal
1PD02PD1
3PD24PD3
5PD46PD5
7PD68PD7
9PD810PD9
11PD1012PD11
13PD1214PD13
15PD1416PD15
17PE018PE1
19PE220PE3
21PE422PE5
23PE624PE7
25NC26NC
27PB428PB6
29PB1030PB11
31NC32PC11
33NC34NC
35PC1436NC
37PC1538PF2
39PF040PF6
41PF542NC
43PF744PH5
45PJ1446PJ15
47PK048NC
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor6
Memory
It is then possible to use the stepper motor control functionality by getting the signals from the J51
connector.
5Memory
The MPC5606S-DEMO-V2 has an external serial flash memory that connects to the microcontroller using
a quad serial peripheral interface (QSPI) at high clock speeds (max 52 MHz). By using a multiplexer that
selects between the memories using a GPIO pin from the microcontroller it is possible to have two QSPI
memories installed on the board and to be able to access independently.
Table 5-7. QSPI select multiplexer
SignalDevice
PC2 logic 1U51 (S25FL064P0XMFV001)
PC2 logic 0U50 (Not populated)
6Communications
The MPC5606S-DEMO-V2 implements CAN, LIN, and TTL-UART physical interfaces.
6.1CAN
The EVB uses the Freescale MC33902 high speed (from 40 kbps to 1 Mbps) CAN physical interface
transceiver that can be directly connected to the battery line. The J64 male DB-9 connector provides the
physical connectivity. The table below shows the connector pin mapping.
Table 6-8. J64 CAN connector pin mapping
SignalPins
CANH7
CANL2
GND6, 3, 5, M1, M2
NC9, 4, 8, 1
The CAN bus termination is specified to be 60 ohms. If the MPC5606S-DEMO-V2 is going to be used as
the node with the 60 ohm CAN bus termination on J63 shunt pins 1 and 2 and shunt pins 3 and 4.
The CAN transceiver is connected to the MCU via the pins shown in Table 6-9.
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor7
Communications
Table 6-9. MC33902 pin connection to the MCU
MC33902MCU pins
TXDPB0
RXDPB1
NERRPB7
ENPB8
STBYPB9
6.2LIN
The physical LIN interface for the MPC5606S-DEMO-V2 is implemented with a Freescale MC33661 LIN
transceiver . The physical connectivity is provided by a four slot mini-fit Molex connector . The table below
shows the connections on the J56 connector.
Table 6-10. J56 LIN connector pin mapping
SignalPins
LIN Power3
GND1
LIN signal4
NC2
Providing or receiving power through a LIN cable is optional with the configuration jumper J59. Be careful
when configuring:
Close J59 1 and 3 to either provide or receive power. If receiving power, the power input at J69
must be disconnected.
Close J59 2 and 4 for Master mode. When it is open the device works as a slave.
Connections from the MC33661 to the MCU are as follows:
Table 6-11. MC33661 pin connection to MCU
MC33902MCU pins
TXDPB2
RXDPB3
ENPC8
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor8
Debug
6.3UART
UART connectivity is provided through JP50 directly from the microcontroller at the 5 V level. The pin
connections on the JP50 are as follows:
Table 6-12. JP50 UART pin mapping
SignalJP50 pinMCU pins
TXD5PB13
RXD4PB12
CTS2PC0
RTS6PC1
GND1N/A
NC3N/A
7Debug
The MPC5606S-DEMO-V2 supports both the JTAG and Nexus for application development and debug
for the MPC5606S.
The JTAG connector is located in the back (bottom layer) of the board at J55. Be careful with the pin
numbering because connecting it wrongly may cause damage to the board (J55 Pin 1 must match Pin 1
from the debugging tool). The Nexus port J1 is located in front with a MICTOR 38 connector.
8Sound
The MPC5606S-DEMO-V2 provides a loud-speaker with an amplifier that allows to generate sounds with
the microcontroller.
The potentiometer R10 allows to control the gain in the amplifier. The input sound signal comes from
MCU pin PC10. The audio amplifier is fed with a separate regulator because the current consumption of
the circuit on some cases can be high. The circuit can deliver up to 1 W of power to the loud-speaker.
9Initialization Code
The hardware architecture on the MPC5606S-DEMO-V2 allows independent power on different modules
of the board. The following code listing provides the C code necessary to power the peripherals included
on the board.
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor9
Revision History
Code List 1—Initialization code:
// Init of Ext. peripheral on MPC5606S-DEMO-V2
// Set data output pins to 0 first
SIU.GPDO[PC13].R = 0;
SIU.GPDO[PC12].R = 0;
SIU.GPDO[PG12].R = 0;
// QSPI Memory Mux
SIU.GPDO[PC2].R = 0;// 0 for U51, (set to 1 for U50)
SIU.PCR[PC2].R = 0x0200;// EN QSPI Mux select pin
// CAN transceiver activation
SIU.GPDO[PB8].R = 1; // Enable CAN_EN signal
SIU.PCR[PB8].R = 0x0200;// Set CAN_EN pin as output
SIU.GPDO[PB9].R = 1; // Enable CAN_STBY signal */
SIU.PCR[PB9].R = 0x0200; // Set CAN_STBY pin as output
// LIN transceiver activation
SIU.GPDO[PC8].R = 1; // Enable LIN_ENABLE signal
SIU.PCR[PC8].R = 0x0200; // Set LIN_ENABLE pin as output
10Revision History
Revision
Number
0October 2010Initial Version
Revision DateDescription of Changes
Added MPC5606S information on
• overview section
• initialization code
•index
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor10
Revision History
MPC5606S-DEMO-V2 User Guide, Rev. 0
Freescale Semiconductor11
How to Reach Us:
Home Page:
www.freescale.com
Web Support:
http://www.freescale.com/support
USA/Europe or Locations Not Listed:
Freescale Semiconductor, Inc.
Technical Information Center, EL516
2100 East Elliot Road
Tempe, Arizona 85284
+1-800-521-6274 or +1-480-768-2130
www.freescale.com/support
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064
Japan
0120 191014 or +81 3 5437 9125
support.japan@freescale.com
Asia/Pacific:
Freescale Semiconductor China Ltd.
Exchange Building 23F
No. 118 Jianguo Road
Chaoyang District
Beijing 100022
China
+86 10 5879 8000
support.asia@freescale.com
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
1-800-441-2447 or 303-675-2140
Fax: 303-675-2150
LDCForFreescaleSemiconductor@hibbertgroup.com
Information in this document is provided solely to enable system and software
implementers to use Freescale Semiconductor products. There are no express or
implied copyright licenses granted hereunder to design or fabricate any integrated
circuits or integrated circuits based on the information in this document.
Freescale Semiconductor reserves the right to make changes without further notice to
any products herein. Freescale Semiconductor makes no warranty, representation or
guarantee regarding the suitability of its products for any particular purpose, nor does
Freescale Semiconductor assume any liability arising out of the application or use of any
product or circuit, and specifically disclaims any and all liability, including without
limitation consequential or incidental damages. “Typical” parameters that may be
provided in Freescale Semiconductor data sheets and/or specifications can and do vary
in different applications and actual performance may vary over time. All operating
parameters, including “Typicals”, must be validated for each customer application by
customer’s technical experts. Freescale Semiconductor does not convey any license
under its patent rights nor the rights of others. Freescale Semiconductor products are
not designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support or sustain life,
or for any other application in which the failure of the Freescale Semiconductor product
could create a situation where personal injury or death may occur. Should Buyer
purchase or use Freescale Semiconductor products for any such unintended or
unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and
its officers, employees, subsidiaries, affiliates, and distributors harmless against all
claims, costs, damages, and expenses, and reasonable attorney fees arising out of,
directly or indirectly, any claim of personal injury or death associated with such
unintended or unauthorized use, even if such claim alleges that Freescale
Semiconductor was negligent regarding the design or manufacture of the part.
RoHS-compliant and/or Pb-free versions of Freescale products have the functionality
and electrical characteristics as their non-RoHS-compliant and/or non-Pb-free
counterparts. For further information, see http://www.freescale.com or contact your
Freescale sales representative.
For information on Freescale’s Environmental Products program, go to