MPC5xxx Knowledge Base

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

MPC5xxx Knowledge Base

Labels

Discussions

Sort by:
Demo application MPC5606S-DEMO + LM75B + HIH-5030 + PCA8565 + GUI Simple weather station demo using 2 external sensors and  external real time clock/calendar   For detailed description SEE ATTACHED document. ------------------------------------------------------------------------------ Test HW:            MPC5606S-DEMO-V2 + LM75BD + HIH-5030 + PCA8565 sensors MCU:             PPC5606SEF OMLU 0M25V DD68391 XOTAC1003 Fsys:            64MHz Debugger:        Lauterbach Trace32 Target:          internal_FLASH Terminal:        none EVB connection:  1) Temperature sensor LM75B:                        J51.40 - F[6] -> LM75B SDA                        J51.43 - F[7] -> LM75B SCL                        J52.1  - 3.3V -> LM75B Vcc                        J50.1  - GND  -> LM75B Gnd                   2) Humidity sensor HIH-5030:                        J52.1  - 3.3V -> HIH-5030 Ve+                        J50.1  - GND  -> HIH-5030 Ve-                        J50.1  - ANS0 -> HIH-5030 Out                   3) External Real Time Clock:                        J51.40 - F[6] -> PCA8565 SDA                        J51.43 - F[7] -> PCA8565 SCL                        J52.1  - 3.3V -> PCA8565 Vcc                        J50.1  - GND  -> PCA8565 Gnd                                        *******************************************************************************
View full article
******************************************************************************** * Detailed Description: * Application performs basic initialization, setup PLL to maximum allowed freq., * initializes interrupts, blinking one LED by interrupt, second LED by software * loop, initializes and display notice via UART terminal and then terminal ECHO. * The example configures the device for maximum performance (OPTIMIZATIONS_ON). * * ------------------------------------------------------------------------------ * Test HW:        MPC5554EVB * MCU:            MPC5554MVR132 * Fsys:           132/112/80/12 MHz * Debugger:       Lauterbach Trace32 *                 PeMicro USB-ML-PPCNEXUS * Target:         RAM, internal_FLASH * Terminal:       19200-8-no parity-1 stop bit-no flow control on eSCI_A * EVB connection: TPU_PORT_37 -> USER_LED_8 *                 TPU_PORT_38 -> USER_LED_7 (to see blinking LEDs)   * ********************************************************************************
View full article
Hello    If you want to do nothing on MCU, no-operation is used generally.     Additional mnemonics are provided for the preferred forms of no-op, like nop, e_nop, se_nop. (Where the semantics are similar but the binary encoding differ, the standard mnemonic is typically preceded with an e_ to denote a VLE instruction. To distinguish between similar instructions available in both 16- and 32-bit forms under VLE and standard instructions, VLE instructions encoded with 16 bits have an se_ prefix.)    When you compile these code within IDE, you can get the results as below. The code could run correctly except __asm__ ("nop").  Some MPC5xxx will stop at __asm__ ("nop").    "nop"         gives Book E NOP instruction which isn't valid on VLE only cores. "e_nop"     gives 32bit VLE instruction. "se_nop"   gives 16bit VLE instruction. Based on the summary within AN4802 (thanks for Randy Dee's working), Qorivva MPC57xx e200zx Core Differences, Book E is not supported by MPC57xx. VLE instruction set is supported only.   This is the reason that user should use "e_nop" or "se_nop" except "nop" on MPC57xx or S32R2xx. Cheers! Oliver
View full article
This simple example shows usage of the FlexPWM module on the TRK board. If a PWM output is connected to the LED you can see its dimming.   Regards, Petr   ******************************************************************************** * Detailed Description: * * This example shows usage of FlexPWM module. * The Submodule0 is set to generate independent PWMA and PWMB signals and vary * its duty cycles. The PWMX is also enabled as output and is set for fixed 50% * duty. *   * You can remove LED_EN jumpers and connect FlexPWM A an B outputs to LEDs to see * its dimming. * * ------------------------------------------------------------------------------ * Test HW: TRK-MPC5604P * Maskset:  0M36W * Target : internal_RAM * Terminal: no * Fsys:     64 MHz with 8 MHz XOSC reference * Debugger: IDCPPCNEXUS * * TRK board connection: * * P4.10 - D[9]  .. FlexPWM X[0] output * P1.11 - A[10] .. FlexPWM B[0] output * P1.12 - A[11] .. FlexPWM A[0] output * *   ********************************************************************************
View full article
This document describes MPC57xx DCF (device configuration record) in details.   Before MPC57xx devices can be used by application they must pass a complex system reset sequence. During system reset sequence device initialization is done. Various self-test mechanism, configuration and trimming is executed during this time. In order to prepare correct device operation, it is necessary to configure device during reset phase. For this purpose, MPC57xx implements DCF records located in special one-time programable flash memory (UTEST).   To easy the work with DCF records we have created a DCF records calculators for each MPC57xx ad S32R274 device. Links to calculators: MPC5746R: https://community.nxp.com/docs/DOC-334130 MPC5777C: https://community.nxp.com/docs/DOC-335523 MPC5744P: https://community.nxp.com/docs/DOC-341538 MPC5746C:  https://community.nxp.com/docs/DOC-341539 MPC5748G: https://community.nxp.com/docs/DOC-341540 MPC5775K: https://community.nxp.com/docs/DOC-341541 MPC5777M: https://community.nxp.com/docs/DOC-341542 S32R274: https://community.nxp.com/docs/DOC-341633
View full article
******************************************************************************** * Detailed Description: * This example demonstrates PMC SW triggered self-test configuration and execution * ------------------------------------------------------------------------------ * Test HW:  MPC57xx * Maskset:  1N15P and 0N15P * Target :  internal_FLASH * Fsys:     200 MHz PLL with 40 MHz crystal reference *            ******************************************************************************** Revision History: 1.0     Apr-04-2016     b21190(Vlna Peter)  Initial Version 1.1     Apr-20-2017     b21190(Vlna Peter)  added software PMC self-test *******************************************************************************/
View full article
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
******************************************************************************** * Detailed Description: * * * This example demonstrate functionality of XBIC_0 error injection *  capability on XBAR_0. The fault is generated on Core access to SRAM. *  After fault generation it is propagated to FCCU unit as NCF[38]. * * ------------------------------------------------------------------------------ * Test HW:  MPC57xx * Maskset:  1N65H * Target :  internal_FLASH * Fsys:     16MHz IRC * ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * Application performs basic initialization, setup PLL to maximum allowed freq., * initializes interrupts. STM_0 channel 0 is initialized to generate 100ms * periodic interrupt. Notice that STM is free running up counter, so it's * necessary to add calculated value to compare register each time in ISR handler. * * Test HW:         X-MPC5744PE257DC, MPC57xx motherboard * MCU:             SPC5744PGMMM9 1N15P * Fsys:            200 MHz * Debugger:        Lauterbach Trace32 *                  PeMicro USB-ML-PPCNEXUS * Target:          internal_FLASH (debug mode, release mode) * EVB connection:  User LED 1 connected to A0 (P8.0), * ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * This example demonstrates PMC Single VD self-test configuration and execution * ------------------------------------------------------------------------------ * Test HW:  MPC57xx * Maskset:  1N15P and 0N15P * Target :  internal_FLASH * Fsys:     200 MHz PLL with 40 MHz crystal reference *            ******************************************************************************** Revision History: 1.0     Apr-04-2016     b21190(Vlna Peter)  Initial Version 1.1     Apr-20-2017     b21190(Vlna Peter)  added software PMC self-test 1.2     Aug-31-2017    b21190(Vlna Peter)  added PMC self-test configuration fix *******************************************************************************/
View full article
******************************************************************************** * Detailed Description: * This example demonstrates how to use lauterbach multicore project. * All MPC5748G cores (z4a, z4b, z2) are active. Micro boots with core z4a. * On z4a is micro configuration executed and then in Core_Init(); function * are started other 2 cores (z4b and z2). * Example also include Lauterbach multicore (multi powerview) example script * + T32 configuration file * ------------------------------------------------------------------------------ * Test HW:  MPC57xx MB + * Maskset:  1N81M * Target :  SRAM * 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    Nov-20-2014    b21190(Vlna Peter)  Added SWT_0 dissabling in startup 1.3    Feb-12-2016    b21190(Vlna Peter)  Modified for multicore project *******************************************************************************/
View full article
Detailed Description:                      This config tool simplifies DCF records calculation for MPC5748G device.                 Look at HowToUse sheet for simple guideline, then work with DCF sheet                 Notes: - Macros have to be enabled!         BR, Petr
View full article
******************************************************************************** * File main.c * Owner David Tosenovjan * Version 0.1 * Date May-31-2023 * Classification General Business Information ******************************************************************************** * Detailed Description: * The purpose of this example is show how to keep data in SRAM memory over SW * reset. * INIT_Derivative (file MPC5607B_HWInit.c) is modified to skip ECC RAM * initialization for SW reset source. Linker command file defines my_ram * section, a data being kept over reset are accesses as address pointer to this * location. After initialization SW resets are periodically triggered, * incrementing data on address test_address_3. * * ------------------------------------------------------------------------------ * Test HW: XPC5607B 176LQFP, XPC56XX EVB MOTHEBOARD Rev.C * MCU: PPC5607BMLUAM03Y * Terminal: 19200-8-no parity-1 stop bit-no flow control on LINFLEX_0 * Fsys: 64/48 MHz * Debugger: Lauterbach Trace32 * PeMicro USB-ML-PPCNEXUS * Target: RAM, internal_FLASH * EVB connection: none * ********************************************************************************
View full article
/******************************************************************************** Detailed Description: Configures the FlexCAN 0 to transmit and receive a CAN message Baudrate to is set to 500kbps. In this config, RXFIFO is used to receive a messages. 8 filter elements are defined in the RXFIFO table. Both standard and extended IDs are used. DMA is enabled in component inspector to read RXFIFO. MB9 is moreover used to receive a message with given standard ID and MB8 is used to transmit a message upon buttons press. The callback function is installed as well and is it called each time message is received in MB9, RXFIFO or message is transmitted. * ------------------------------------------------------------------------------ * Test HW: DEVKIT-MPC5748G * MCU: PPC5748GSMKU6 0N78S * Target: Debug_FLASH * EVB connection: PCAN-View with PCAN-USB Pro connected to CAN port P5 * Compiler: S32DS.Power.2.1 * SDK release: S32_SDK_S32PA_RTM_3.0.3 * Debugger: OpenSDA, Lauterbach Trace32 ******************************************************************************** Revision History: Ver Date Author Description of Changes 1.0 02-May-2023 Petr Stancik Initial version, based on SDK demo example *******************************************************************************/
View full article
An excel sheet helping to locate eTPU source code for eTPU functions offered by eTPU Function Selector https://www.nxp.com/webapp/etpu/ or CodeWarrior eTPU Function Selector https://www.nxp.com/webapp/etpu_cw/ Status valid for May 2023
View full article
Error Correction Codes Implemented on MPC5777C PRELIMINARY INFORMATION, Subject to Change without Notice   Related code examples can be found here: Example MPC5777C-1b+2b_RAM_ECC_error_injection GHS614 Example MPC5777C-1b+2b_FLASH_ECC_error_injection GHS614  
View full article
******************************************************************************** * Detailed Description: * Purpose of the example is to show how to maintain SRAM data over reset types * that is not destroying SRAM content (for instance software reset) * Changes are done in linker command files (adding new section), because * .BSS and .SBSS section are always cleared by compiler. * Another changes are done in init.s file where SIU_RSR reset flags are * tested and RAM is initialized only conditionally. * Variable 'test_variable' is maintained over SW reset and then incremented * once per reset cycle and displayed over terminal window. * * ------------------------------------------------------------------------------ * Test HW: MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C * MCU: PPC5777CMM03 2N45H CTZZS1521A * Fsys: PLL1 = core_clk = 264MHz, PLL0 = 192MHz * Debugger: Lauterbach Trace32 * Target: internal_FLASH * Terminal: 19200-8-no parity-1 stop bit-no flow control on eSCI_A * EVB connection: ETPUA30 (PortP P23-15) --> USER_LED_1 (P7-1) * ETPUA31 (PortP P23-14) --> USER_LED_2 (P7-2) * ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * Initializes eQADC module, performs calibration and converts channel 145 * (bandgap voltage chosen as a source for the channel) and displays it into * terminal window. No external connection required excluding terminal via eSCI. * * ------------------------------------------------------------------------------ * Test HW: MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C * MCU: PPC5777CMM03 2N45H CTZZS1521A * Fsys: PLL1 = core_clk = 264MHz, PLL0 = 192MHz * Debugger: Lauterbach Trace32 * Target: internal_FLASH * Terminal: 19200-8-no parity-1 stop bit-no flow control on eSCI_A * ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * Application performs basic initialization, initializes interrupts, blinking * one LED by Core0, second by Core1 (by interrupt), initializes and display * notice via UART terminal and then terminal ECHO. * An example re-configures default clock setting to first and then second * configuration to shows necessary steps to perform this transtition. * * ------------------------------------------------------------------------------ * Test HW: MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C * MCU: PPC5777CMM03 2N45H CTZZS1521A * Fsys: PLL1 = core_clk = 264MHz, PLL0 = 192MHz * Debugger: Lauterbach Trace32 * Target: internal_FLASH * Terminal: 19200-8-no parity-1 stop bit-no flow control on eSCI_A * EVB connection: ETPUA30 (PortP P23-15) --> USER_LED_1 (P7-1) * ETPUA31 (PortP P23-14) --> USER_LED_2 (P7-2) ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * The example performs basic initialization, setup PLL to maximum allowed freq., * setup clock for peripherals, GPIO pins. * DSPI_M1 is configured as master and for DSI function to serialize eTPU channels' * outputs. eTPU to DSI routing is done by SIU configuration. * User can see SPI waveform on the scope or logic analyzer. * ------------------------------------------------------------------------------ * Test HW: MPC5746R-252DC, MPC57xx Motherboard * MCU: SPC5746RMMT5 CTQG1740 1N83M HKBGCTB * Fsys: PLL 200MHz * Debugger: Lauterbach Trace32 * Target: internal_FLASH, RAM * Terminal: 19200-8-no parity-1 stop bit-no flow control * EVB connection: connect following pins to scope or logic analyzer * PA7: DSPI_M1 SOUT (motherboard pin PP[7]) * PA9: DSPI_M1 SCLK (motherboard pin PP[9]) * PA13: DSPI_M1 CS0 (motherboard pin PP[13]) ********************************************************************************
View full article