by: NXP Semiconductors1 IntroductionNXP’s MPC574xR is a dual-core 32-bit microcontroller intended for scalableengine control and powertrain applications. This application note will refer toany device in the MPC574xR family, MPC5743R, MPC5745R, and MPC5746R,as simply “MPC5746R.”The MPC5746R supports an 8-40 MHz external oscillator (XOSC), a 16 MHzinternal RC oscillator (IRCOSC), and two phase locked loops (PLL) for amaximum operating frequency of 200 MHz. The IRCOSC is selected out ofreset so increasing the operating frequency from 16 MHz requires additionalconfiguration. The MPC574xR Clock Calculator is meant to complement thereference manual. It seeks to simplify the clock configuration process by providing a graphical, interactive tool to help the userfind the correct register settings in order to achieve the desired clock frequencies.Accompanying this application note is the clock calculator. You can download it from MPC574xR_Clock_Calculator.The clock calculator makes use of macros to perform functions like resetting the spreadsheet to initial values, configuring all clockfrequencies to the maximum allowable settings, and copying generated code. Macros must be enabled in the user’s MS Excel toaccess these features. If macros are turned off, however, the tool will still be able to calculate clock frequencies, but theaforementioned features will be disabled. To turn on macros in MS Excel 2016, go to the Developer tab on the top toolbar andclick on Macro Security. A popup window will appear, select Enable all macros.Figure 1. Enable macros2 Clock calculator designThe MPC574xR clock calculator takes the form of an interactive Microsoft Excel spreadsheet organized into multiple tabs as shownin the following figure.Contents1 Introduction..........................................12 Clock calculator design...................... 13 Clock tool example use sase:Configure FlexCAN to XOSC at40 MHz protocol clock and PLL050 MHz BIU/Module clock............... 144 Conclusion......................................... 265 Revision history.................................26AN12020MPC574xR Clock Calculator GuideHow to use MPC574xR tool to easily calculate device frequency domainsRev. 5 — October 2018 Application Note