MPC5xxx Knowledge Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5xxx Knowledge Base

Labels

Discussions

Sort by:
MPC55xx MPC5554 MPC5566                     MPC56xx MPC5602D MPC5604B MPC5604E MPC5606S MPC5604P MPC5607B MPC5646C MPC5634M MPC5642A MPC5644A MPC5643L MPC5668G MPC5674F MPC5675K MPC5676R                   MPC57xx MPC5744P MPC5777C MPC5777M MPC5746R MPC5748G MPC5746C MPC5775K S32R274             MPC5554   Codewarrior Classic Example MPC5554EVB PinToggleStationery CW210  Example MPC5554 eQADC+INTC Single Scan CW210 Go to the top of the page        MPC5566   Codewarrior Classic Example MPC5566EVB PinToggleStationery CW210  Example MPC5566 Hardware vector mode CW210  Go to the top of the page        MPC5602D   GreenHills MULTI Example MPC5602D FMPLL GHS614  Go to the top of the page        MPC5604B   Codewarrior Classic Example MPC5604B PinToggleStationery CW210  Example MPC5604B LINFlex LIN Master-Slave communication demo CW210  Example MPC5604B Shadow Flash Reprogramming CW210  Example MPC5604B Flash Array Integrity Check CW210 - using SSD flash drivers  Example MPC5604B Censorship CW210 Example MPC5604B ADC-Pot-ADCWatchDog-INTC-printf CW210  Example MPC5604B SWT Windowed mode CW210 Go to the top of the page        MPC5604E   Codewarrior Classic Example MPC5604E PinToggleStationery CW210  Go to the top of the page        MPC5606S   Codewarrior Classic Example MPC5606S-DEMO LM75B+TFT CW210  Example MPC5606S-DEMO HIH-5030+TFT CW210  Example MPC5606S-DEMO PCA8565+TFT CW210  Demo application MPC5606S-DEMO + LM75B + HIH-5030 + PCA8565 + GUI CW210  Example MPC5606S-STOP_mode_implementation CW210 Go to the top of the page        MPC5604P    Codewarrior Classic Example MPC5604P PinToggleStationery CW210 Example TRK-MPC5604P Initialization of SBC chip MC33905 and FlexCAN CW210  Example MPC5604P ADC setting for scan mode on TRK board CW210  Example MPC5604P FlexPWM Initialization on TRK board CW210 Go to the top of the page        MPC5607B    Codewarrior Classic Example MPC5607B PinToggleStationery CW210  Example MPC5606B SIUL External interrupt CW210  Example MPC5607B CAN sampler and STOP mode  Example MPC5607B-DMA+LinFlex CW210  Example MPC5607B SRAM_keep_data_over_SW_reset CW210   Go to the top of the page        MPC5646C    Codewarrior Classic Example MPC5646C PinToggleStationery CW210  Example MPC5646C Standby Wakeup To SRAM CW210  Example MPC5646C eMIOS frequency measurement CW210   GreenHills MULTI Example MPC5646C PIT ISR GHS614  Go to the top of the page        MPC5634M    Codewarrior Classic Example XPC563MKIT PinToggleStationery CW210  Example TRK-MPC5634M Initialization of SBC chip MC33905 and FlexCAN CW29  Example MPC5634M_2b_RAM_ECC_error_injection CW210  Go to the top of the page        MPC5642A    Codewarrior Eclipse Example XPC5642AKIT PinToggleStationery CW10.6  Go to the top of the page        MPC5644A    S32 Design Studio Example MPC5644A BookE PinToggle - S32DS Power 2017.R1    Codewarrior Eclipse Example MPC5644A External SRAM - CodeWarrior for MCUs v10.5    Codewarrior Classic Example XPC564AKIT PinToggleStationery CW210  Example XPC564AKIT324S External SRAM test CW210  Example MPC5644A eQADC channel 146 conversion+calibration CW210  Example MPC5644A TSENS Temperature calculation CW210 Example MPC5644A Censorship CW210   GreenHills MULTI Example MPC5644A EMIOS shifted PWM GHS614  Go to the top of the page        MPC5643L    Codewarrior Classic Example XPC5643LKIT PinToggleStationery LSM CW210  Example XPC5643LKIT PinToggleStationery DPM CW210  Example MPC5643L Flash_program_simple CW210  Example MPC5643L TSENS Temperature_calculation CW210  Example MPC5643L-LVD_HVD_self_test+FCCU_F CW210  Example MPC5643L 1b_RAM_ECC_error_injection CW210  Example MPC5643L 2b RAM and 2b FLASH ECC error injection CW210    GreenHills MULTI Example MPC5643L eTimer DMA GHS614  Go to the top of the page        MPC5668G    Codewarrior Classic Example MPC5668G PinToggleStationery CW210  Go to the top of the page        MPC5674F    Codewarrior Classic Example XPC567XFKIT PinToggleStationery CW210  Example MPC5674F eQADC+eDMA Single_Scan CW210  Example MPC5674F eQADC+eDMA-Single+Differential+GAIN CW210  Example MPC5674F eQADC+eDMA Continuous_Scan CW210  Example MPC5674F eQADC-Streaming Mode CW210  Example MPC5674F eQADC_PMC_chnl_conv+calib CW210  Example MPC5674F_1b+2b_RAM_ECC_error_injection CW210  Example MPC5674F MPU Initialization CW210  Example MPC5674F TSENS-Temperature_calc CW210  Go to the top of the page        MPC5675K    Codewarrior Classic Example MPC5675K PinToggleStationery LSM CW210 Example MPC5675K PinToggleStationery DPM CW210  Example MPC5675K Data_flash_program_simple CW210  Example MPC5675K-2b_RAM+2b_FLASH_ECC_error_injection CW210  Example MPC5675K TSENS Temperature calculation CW210  Go to the top of the page      MPC5676R    Codewarrior Classic Example XPC567XRKIT PinToggleStationery CW210  Example MPC5676R DSPI MasterSlave DMA CW210  Example MPC5676R DSPI-ext_SPI_memory-S25FL129P CW210  Example MPC5676R-eQADC_PMC_chnl_conv+calib CW210  Example MPC5676R-eQADCA_STAC_timestamp_eTPUC CW210 Example MPC5676R-eQADC_DECFILTER_integrator_eTPU CW210   S32 Design Studio Example MPC5676R HardwareVectorMode Multicore S32DS_2017.R1   GreenHills MULTI Example MPC5676R BIST core1 GHS716  Example MPC5676R BIST Core0&1 GHS716 (multicore) Go to the top of the page        MPC5744P    S32 Design Studio Example MPC5744P PinToggleStationery S32DS_1.0  Example MPC5744P LINFlex UART with DMA S32DS_1.0  Example MPC5744P ETimerCountMode S32DS_1.0  Example MPC5744P HardwareVectoreMode S32DS_1.0  Example MPC5744P STM timer S32DS Power 2017.R1  Example MPC5744P eTimer ADC injected conversion S32DS_2.1   Example MPC5744P FlexPWM Init Capture test S32DS21  Example MPC5744P Flash_Overlay_SRAM S32DS Power.2.1   GreenHills MULTI Example MPC5744P FlexCAN simpleTXRX GHS614  Example MPC5744P eTimer frequency measurement GHS614  Example MPC5744P FlexPWM CTU ADC synchronization GHS614  Example MPC5744P FlexPWM SGEN synchronization GHS614  Example MPC5744P TSENS temperature calculation GHS614  Example MPC5744P LINFlex UART echo SW polling GHS614  Example MPC5744P FlexPWM init with DMA reload GHS614  Example MPC5744P FlexPWM CTU SGEN triggering GHS614  Example MPC5744P DMA multiple minor transfers GHS614  Example MPC5744P DMA GHS614  Example MPC5744P XBIC0 Error injection on XBAR_0 (Core access to SRAM) GHS614  Example MPC5744P XBIC_1 fault injection on DMA transfer GHS614  Example MPC5744P eTimer CTU ADC synchronization GHS614  Example MPC5744P PIT triggering interrupts GHS614  Example MPC5744P FCCU fault injection GHS614  Example MPC5744P ADC GHS614  Example MPC5744P CTU triggered by eTimer0 GSH614  Example MPC5744P LIN Master Slave test GHS614  Example MPC5744P 1b+2b_FLASH_ECC_error_by_UTEST_area_read GHS614  Example MPC5744P 1b+2b_RAM_ECC_error_injection GHS714  Example MPC5744P 1b+2b_PERRAM_ECC_error_injection GHS614  Example MPC5744P EDC_after_ECC_error_by_UTEST_area_read GHS714  Example MPC5744P_2b_DMEM_ECC_error_injection GHS714  Example MPC5744P 1b+2b_FlexCAN_ECC_error_injection GHS714 Example MPC5744P CGM GHS614  Example MPC5744P eTimer DMA frequency measurement GHS614  Example MPC5744P FlashArrayIntegrityCheck test SSD GHS614 Example MPC5744P SWT Short reset GHS614  Example MPC5744P SWT Long reset GHS614  Example MPC5744P FCCU alarm state GHS614  Example MPC5744P FCCU clear faults GHS614  Example MPC5744P ADC DMA GHS614  Example MPC5744P FlexPWM shifted PWM GHS616  Example MPC5744P PMC SW triggered self-test GHS614  Example MPC5744P PMC Single VD self-test GHS614  Example MPC5744P BIST On-line GHS614 Example MPC5744P EIM RAM ECC error injection GHS614 Example MPC5744P FlexCAN TX RXFIFO ISR GHS614  Example MPC5744P CMPU Initialization GHS614  Example MPC5744P FlexPWM_0&1 synchronization GHS716  Example MPC5744P ADC Self Test GHS716 Go to the top of the page        MPC5777C    S32 Design Studio Example MPC5777C Single ELF multi-core Pin Toggling - S32DS Power 2017.R1  Example MPC5777C DSPI master TX/RX DMA S32DS Power 2.1  Example_MPC5777C-External_SRAM-test-S32DS.Power.2017.R1    GreenHills MULTI Example MPC5777C-PinToggleStationery GHS714  Example MPC5777C-SIUL_External_IRQ GHS714  Example MPC5777C-1b+2b_RAM_ECC_error_injection GHS614  Example MPC5777C FCCU-FOSU-error-injection GHS714 Example MPC5777C TSENS Temperature calculation GHS614  Example MPC5777C eMIOS-eQADC Continuous external trigger mode GHS614  Example MPC5777C-SDADC_simple GHS614  Example MPC5777C-SDADC_eTPU_triggered GHS714  Example MPC5777C-eQADC_Simple GHS714  Example MPC5777C-eQADC_Simple+Calibration GHS714  Example MPC5777C-eQADC_Simple+Calibration_bandgap GHS714 Example MPC5777C eQADC_Simple+Calibration+Timestamp GHS714 Example MPC5777C-eQADC_A+B-Calibration GHS714  Example MPC5777C FlexCAN simpleTXRX SW poll GHS616  Example MPC5777C MCAN simpleTXRX GHS616  Example MPC5777C MCAN-FD simpleTX RX-ISR GHS616  Example MPC5777C FlexCAN simple TXRX ECC enabled GHS616  Example MPC5777C External SRAM_test GHS714  Example MPC5777C-eTPU_GPIO_test GHS714  Example MPC5777C eTPU_FPM_test GHS714  Example MPC5777C Progresive clock switching GHS716 Example MPC5777C eMIOS IGF test GHS614  Example MPC5777C-Clock_setting_change GHS714 Example MPC5777C-SRAM_keep_data_over_SW_reset GHS714   Go to the top of the page        MPC5777M    S32 Design Studio Example MPC5777M PinToggleStationery S32DS_1.0  Processor Expert RAppID Suite for MPC5777M and S32DS_1.1 Integration Multicore Example   GreenHills MULTI Example-MPC5777M-CGM (clock configuration) GHS614  Example MPC5777M-DPM-PLL-200MHz GHS614  Example MPC5777M PIT ISR GHS614  Example MPC5777M LINFlex UART Echo SW polling GHS614  Example MPC5777M DSPI_SimpleTXRX S32DS_1.1  Example MPC5777M FCCU Fake fault injection GHS614  Example MPC5777M MCAN simple TX/RX GHS614  Example MPC5777M TSENS Temperature Calculation GHS616  Example MPC5777M FCCU alarm state GHS614 Go to the top of the page        MPC5775K    S32 Design Studio Example MPC5775K PinToggleStationery S32DS_1.0  Example MPC5775K-DMA_Transfer S32DS_1.0  Example MPC5775K UART_with_DMA S32DS_1.0  Example MPC5775K-UART_with_Interrupts S32DS_1.0  Example MPC5775K FlexCAN_with_interrupts_v1.1 S32DS_1.1  Example MPC5775K Semaphores S32DS_1.0  Example MPC5775K eTimer_PWM S32DS_1.0  Example MPC5775K ADC_example S32DS_1.0  Example MPC5775K IIC Communication with RTC PCA8565TS/1 S32DS_1.0  Example MPC5775K DSPI_with_interrupts S32DS_1.0    GreenHills MULTI Example MPC5775K CGM (clock configuration) GHS614  Example MPC5775K PIT ISR GHS614  Example MPC5775K Multicore GHS614 Go to the top of the page        MPC5748G    S32 Design Studio Example MPC5748G-FlexCAN_with_interrupts S32DS_1.0  Example MPC5748G Overlay SRAM Overlay Flash config S32DS  Example MPC5748G FlexCAN RXFIFO SDK PA RTM200 S32DS.Power.2017.R1 Example MPC5748G PretendedNetworkingCAN S32DS_1.0  Example MPC5748G SIUL External Interrupt SDK PA BETA290 S32DS.Power.2017.R1  Example MPC5748G Low power modes S32DS_2017.R1  Example MPC5748G eMIOS BCTU ADC trigger S32DS2.1  Example MPC5748G FlexCAN TX/RX FreeRTOS S32DS2.1  Example MPC5748G FlexCAN FD TX/RX S32DS2.1  Example MPC5748G FlexCAN RXFIFO DMA SDK303 S32DS21    GreenHills MULTI Example MPC5748G PinToggleStationery GHS614  Example MPC5748G FlexCAN DMA ISR  Example MPC5748G SMPU initialization GHS614  Example MPC5748G SMPU initialization + Process ID test GHS614  Example MPC5748G Flash RW SSD GHS614  Example MPC5748G Flash RW GHS614  Example MPC5748G PIT ISR GHS614  Example MPC5748G ADC driver GHS614  Example MPC5748G BCTU GHS614 Example MPC5748G + PCF8885 Touch sensing demo GHS614 Example MPC5748G CRC32 GHS614  Example MPC5748G Standby mode GHS614 Example MPC5748G Register Protection GHS614  Example MPC5748G FlexCAN FD simple TX/RX GHS614  Example MPC5748G DSPI extended mode GHS614  Example MPC5748G FMPLL Frequency Modulation GHS614  Example MPC5748G DPM Multicore GHS614  Example MPC5748G LINFlex LIN Master Slave test GHS616  Go to the top of the page        MPC5746C    GreenHills MULTI Example MPC5746C PIT ISR GHS614 Example MPC5746C eMIOS Shifted PWM GHS716 Example MPC5746C FMPLL modulation GHS716 Example MPC5746C FCCU EOUT GHS716   Go to the top of the page        MPC5746R    S32 Design Studio Example MPC5746R PinToggleStationery - S32DS Power 2017.R1  Example MPC5746R FlexCAN_with_interrupts S32DS_1.1  Example MPC5746R eTPU_original_set1_integration PWM_test S32DS.Power.2017.R1 Example MPC5746R DSPI simple TX RX S32DS Power 2017.R1  Example MPC5746R DSPI_serialization S32DS.Power.2.1     GreenHills MULTI Example MPC5746R CGM (clock configuration) GHS614  Example MPC5746R DPM (multicore) GHS614 Example MPC5746R Online BIST GHS614 Example MPC5746R PIT ISR GHS614 Example MPC5746R FCCU Alarm State GHS716 Example MPC5746R ADC Self-test GHS716   Standalone Debugger Script Example MPC5746R Off-line BIST Lauterbach script  Go to the top of the page        S32R274    S32 Design Studio Example S32R274 Multi-core shared memory S32DS_1.2  Example S32R274 FlexCAN_with_Interrupts S32DS_1.1  Example S32R274 Watchdog_example S32DS_1.1    GreenHills MULTI Example S32R274 CGM GHS716 Example S32R274 SWT_2 reset trigger GHS716  Example S32R274 PIT ISR Example S32R274 FCCU read faults GHS716 Go to the top of the page     
View full article
MPC5xxx   Documents Links to source codes for eTPU functions eQADC - avoiding unintended result swap  External Bus Interface FAQs  FlexCAN bit timing calculation   Excel configurators MPC5xxx/S32Kxx: CAN / CAN FD bit timing calculation    SW Drivers MPC5xxx I2C communication driver   MPC55xx/56xx   Documents e200 Core Training relevant to MPC55xx and MPC56xx device family  Error Correcting Codes Implemented on MPC55xx and MPC56xx   Excel configurators Excel MPC55xx/MPC56xx PLL Calculator  MMU Assist Register CONFIGURATOR   Debugger Scripts Example JTAG access – Addendum to application notes AN3283 and AN4365    MPC57xx   Excel configurators Core MPU configurator  MPC57xx - DCF records   Debugger Scripts MPC57xx FCCU Utility scripts for Lauterbach debugger   MPC5643L   Documents MPC5643L PWM_ADC measurement concept GSH614    MPC5744P   Documents MPC5744P_System_IO_Definition Using the Built-in Self-Test (BIST) on the MPC5744P  Error Correcting Codes Implemented on MPC5744P  MPC574xP - FCCU configuration guide   Excel configurators Excel MPC5744P Clock Configurator MPC5744P DCF Configurator    MPC5746R   Documents MPC5746R STCU2 BIST configuration guide   Excel configurators MPC5746R DCF Configurator     MPC574xG/C   Documents MPC5646C to MPC574xG Migration - Rev. 0, 09/2013 Draft only   Excel configurators MPC5746C DCF Configurator  MPC5748G DCF Configurator    MPC5775K   Excel configurators MPC5775K DCF Configurator    MPC5777C   Documents MPC5777C - Online BISTs Error Correction Codes Implemented on MPC5777C   Excel configurators Excel MPC5777C clock configurator MPC5777C DCF Configurator    MPC5777M   Excel configurators MP5777M DCF Configurator    S32R274   Excel configurators S32R274 DCF Configurator    IDEs (CodeWarrior, S32 Design Studio)   Documents How to program QSPI flash using CodeWarrior 10.x  How to use CRCgen in CodeWarrior for MCU  How to download separate elf/srec/hex file to microcontroller using S32 Design Studio  How to use printf function in S32DS for Power Architecture using EWL library  How to debug code using CodeWarrior 10.5  How to flash two .elf files using CodeWarrior 10.6  How to create FreeRTOS project in S32 Design Studio  How to create new configuration in CodeWarrior for MCU   For more HOWTOs related to S32 Design Studio, visit S32DS for Power - list of HOWTOs 
View full article
Document describes possible reasons of result swap in eQADC's result FIFO and how to avoid it. Very preliminary version!
View full article
* Detailed Description: * This example demonstrates frequency modulation at 20kHz with 250 steps. * Test HW: xPC57xx EVB + MPC5746C minimodule * Maskset: 1N06M * Target : Internal Flash * Fsys: 160 MHz PLL * ******************************************************************************** Revision History: 1.0 Oct-29-2014 b21190(Vlna Peter) Initial Version 1.1 Nov-20-2014 b21190(Vlna Peter) Modified for Cut2.0 1.2 Apr-23-2015 b21190(Vlna Peter) Added INTC driver and PIT ISR 1.3 May-14-2015 b21190(Vlna Peter) Dissabling SWT in Startup code 1.4 Jun-06-2017 b21190(Vlna Peter) ported for MPC5746C 1.5 Sep-29-2020 b21190(Vlna Peter) Added 20kHz frequency modulation *******************************************************************************/
View full article
* Example of eMIOS configuration for shifted PWM mode ******************************************************************************** * Test HW: MPC5746C minimodule + MPC57xx Motherboard * Maskset: 1N06M * Target : Internal Flash * Fsys: 160 MHz PLL * ******************************************************************************** Revision History: 1.0 Oct-29-2014 b21190(Vlna Peter) Initial Version 1.1 Nov-20-2014 b21190(Vlna Peter) Modified for Cut2.0 1.2 Apr-23-2015 b21190(Vlna Peter) Added INTC driver and PIT ISR 1.3 May-14-2015 b21190(Vlna Peter) Dissabling SWT in Startup code 1.4 Jun-06-2017 b21190(Vlna Peter) ported for MPC5746C 1.5 Jun-06-2017 b21190(Vlna Peter) eMIOS example with shifter PWM *******************************************************************************/
View full article
This config tool simplifies PLL setting calculation and clock configuration for MPC5777C device. Version 1.3 added option to select between 264/300 MHz MCU versions.                 Follow these steps                 Note: Macros have to be enabled!                 1. Enter frequency of used XOSC and desired PLL0 and PLL1 output.      - put values into cells B14, Q13 and Q20 of the "Clocks" sheet      - check if it is Valid or Invalid      - "PLLconfig" sheet shows possible PLLs configurations                   2. Configure System and AUX clock selectors and its Dividers      - check calculated frequency of System/Peripheral clocks      - if Invalid change source clock and Divider value to keep Max freq                 3. Copy generated code by pressing "Copy Code" button
View full article
This example content a basic FMPLL initialization and configuration of Mode Entry module and Clock Generation module. By default active is core 2 -> e200z4 Demonstration of PIT triggering an interrupt on timeout. ******************************************************************************** * Test HW: MPC57xx + S32R274RRUEVB * Maskset: 1N58R * Target : internal_FLASH * Fsys: 240 MHz PLL with 40 MHz crystal reference for z7 and 120MHz for z4 ******************************************************************************** Revision History: 1.0 Apr-02-2019      b21190        (Vlna Peter) Initial Version 1.1 Sep-19-2019     nxa13250    (Vlna Peter) Added PIT + interrupts *******************************************************************************/
View full article