AN2667 Freescale Semiconductor / Motorola, AN2667 Datasheet
![no-image](/images/no-image-200.jpg)
AN2667
Related parts for AN2667
AN2667 Summary of contents
Page 1
... Application Note AN2667/D Rev. 0. 12/2003 Multi-Controller Hardware Development for the MPC5xx Family Application Note This application note details how to configure the Steven McQuade microcontrollers to satisfy the requirements of a multi-controller system. It also describes the hardware for such a system by using an example of TECD Applications the dual MPC561-4 evaluation board (EVB) that was developed to demonstrate multi-controller functionality ...
Page 2
Freescale Semiconductor, Inc. 1. Introduction In a multi-MPC5xx system, each controller shares the same external bus where each MPC5xx has its own internal space (4 Mbytes) and each controller can access any memory or peripheral even located ...
Page 3
Freescale Semiconductor, Inc. 2. System Overview TEA TS RETRY TSIZ0 TSIZ1 R/W ADDRESS DATA CS0:3 CLKOUT RSTCONF OE WE I/O HRESET SRESET MPC5xx GND Communication between devices does not require the chip selects.If more than ...
Page 4
Freescale Semiconductor, Inc. 3. System Configuration Issues The following is a list of questions commonly asked when designing a multi-MPC5xx system: 1. How do the MPC5xx devices communicate with one another? 2. How is each device differentiated? 3. How is ...
Page 5
Freescale Semiconductor, Inc. need to program an SIUMCR [EARP] field as well. The SIUMCR [EARP] field determines the priority of external arbitration request. 1 The letters refer to 2 different devices in a system. It does not matter which device ...
Page 6
Freescale Semiconductor, Inc. accesses therefore only 3 slaves are allowed in the system. The only possible way to use more than four devices (1 Master & 3 Slaves) in the system is to configure additional four devices ...
Page 7
Freescale Semiconductor, Inc. EMCR[SLVM When in master mode no external master can access the MPC5XX internal address space. • Slave Mode (RCPU Core Is Active) To select Slave mode EMCR[PRPM & EMCR[SLVM Application code ...
Page 8
Freescale Semiconductor, Inc. Another possibility is that every MPC5xx in the system will take the RCW from its own internal flash (RSTCONF=1 for all devices). This way may be preferable, since there is no requirement to drive the external data ...
Page 9
... The master then executes it own code from internal or external flash memory. The compile and link tools(in this case DIAB from Windriver) used to link the application code provides the ability to partition the code between the slave and master devices. ...
Page 10
Freescale Semiconductor, Inc. 3.7 System Debug The tool used for debugging this system was Lauterbach TRACE32. This tool has the capability for debugging multiple microcontrollers simultaneously. It can be seen from the figure above that with this tool there can ...
Page 11
Freescale Semiconductor, Inc. The following applies to the MPC56x when using Lauterbach TRACE32. Lauterbach was used for the development of this apps note however any other toolchain could be used. NEXUS will not work with Risc Trace as per the ...
Page 12
Freescale Semiconductor, Inc. The debugger software knows which device should be controlled by monitoring the USE bitmask that is used to describe the controlled devices. • 1 means control the device • 0 means skip the device For the EVB ...
Page 13
Freescale Semiconductor, Inc. Interrupt Handling 4.2 The MPC5xx that is configured to operate in peripheral mode does not handle interrupts that are generated by its timers and peripherals. This task must be performed by a device in master or slave ...
Page 14
Freescale Semiconductor, Inc. 7 Performance Impact On a Dual Controller System The following analysis considers the MPC561/3 as per the EVB. The points highlighted also apply to the MPC555 and MPC565 MPC561: There is a performance hit when ...
Page 15
Freescale Semiconductor, Inc. – AMD AM29BDD160 (512K x 32) Flash(socketed) – M58BW016 (512K x 32) Flash – IDT IDT71T016(64K x 16) SRAM(No Burst) – CYPRESS CY7C1339(128K x 32) SRAM(Burstable) – 1 ...
Page 16
... PowerPC name is a trademark of IBM Corp. and is used under license. All other product or service names are the property of their respective owners. Motorola, Inc Equal Opportunity/Affirmative Action Employer. © Motorola, Inc. 2003 AN2667/D, Rev 0, 12/2003 MOTOROLA Multi-Controller Hardware Development for the MPC5xx Family For More Information On This Product, Go to: www ...