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
This config tool simplifies PLL setting calculation and clock configuration for MPC5744P device.                  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 B11, Q10 and Q17 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
******************************************************************************** * Detailed Description: * * * This example shows synchronization between FlexPWM, CTU and ADC modules. * The FlexPWM Submodule 0 is initialized to generate PWM signal, and rising edge * of PWM B0 signal is used to generate trigger signal for CTU module. The CTU module * sends two commands to ADCs. Single conversion mode is used, so ADC0 ch0 and ch1 * are sampled. The conversion result is used to modify PWM B0 rising egde position * and change delay between external trigger and ADC sequence triggering. * * ------------------------------------------------------------------------------ * Test HW:  MPC57xx * Maskset:  1N65H * Target :  internal_FLASH * Fsys:     200 MHz PLL with 40 MHz crystal reference * * EVB connection: * * P8.1  - A[0]  .. GPIO output, used to see CTU-ADC ISR period * P9.1     - B[7]  .. ADC0 AN[0] input * P9.2     - B[8]  .. ADC0 AN[1] input * P16.4 - I[3] .. CTU0 EXT TRG output   * P8.12    - A[11] .. FlexPWM A[0] output * P8.11    - A[10] .. FlexPWM B[0] output * * connect Trimmer J53.1 to P9.1 to change position of PWM B0 rising edge * connect Trimmer J53.1 to P9.2 to change CTU trigger delay from PWM B0 rising edge * * see CTU0 EXT TRG output signal (toggle on each trigger) on P16.4 with respect of PWM signals * ********************************************************************************
View full article
This document describes the configuration, restrictions, principles and correct usage of FCCU module implemented on MPC5744P device. This document is preliminary release.
View full article
The aim of the MPC5643L PWM triggered measurement concept is to introduce hardware  subsystem concept of autonomous triggering of ADC measurement by PWM module in desired time intervals and automatic storing of measured data into buffer located in SRAM. This autonomous measurement concept will offload the microprocessor’s core and presents the very precise way how to achieve the ADC time critical measurement synchronized with PWM signal generated by FlexPWM module.
View full article
******************************************************************************** * Detailed Description: * * LINFlex UART TXFIFO transmit using DMA * LINFlex UART mode with FIFO receive using DMA * * * EVB connection: * *   Route LINFlexD_0 TXD/RXD (PB2/PB3) signals to the main board RS-232 transceiver *   Daughtercard: *   J17.11–12 ON  .. Connect LINFlexD_0 TXD (PB2) to main board. *   J17.8–9 ON .. Connect LINFlexD_0 RXD (PB3) to main board. * *   Motherboard *   J14 - SCI_RX ON *   J13 - SCI_TX ON *   J25 - SCI_PWR ON * * See results on PC terminal (baudrate 19200, Data bits 8, Stop bits 1, Parity none). * * ------------------------------------------------------------------------------ * Test HW:  MPC57xx * Maskset:  1N65H * Target :  internal_FLASH (debug mode, release mode without debugging information) * Fsys:     200 MHz PLL with 40 MHz crystal reference * Terminal: 19200, 8N1, None ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * * This example shows possible implementation of frequency and duty cycle * measurement with the help of eMIOS module. * Two eMIOS channels are used and set to IPWM and IPM modes. The first channel * measures the positive pulse width and the second channel measures the period. * * EVB connection: * PJ7.5 to PJ7.6 ... connect external pulse signal to this * * See result on PC terminal (9600, 8N1) * ------------------------------------------------------------------------------ * Test HW:  XPC56xxMB2 + XPC564xB/C, SPC5646C 0N32E silicon * Target :  internal_FLASH, RAM * Fsys:     120 MHz PLL0 * Debugger: Lauterbach Trace32. script for internal_FALSH run_from_flash.cmm *                               script for RAM: run_from_ram_vle.cmm * ********************************************************************************     BR, Petr
View full article
******************************************************************************** * Detailed Description: * This example shows how to use PIT module for triggering interrupts on its timeout. * * This example shows how to use PIT module for triggering interrupts on its timeout. * For closer details on how PIT works I suggest you to check reference manual as this is quite simple timer. * This example sets PIT timer0 channel0 for 5000000 cycles. * As soon as it exceeds the interrupt is triggered. * Pin state is toggling in ISR * * ------------------------------------------------------------------------------ * Test HW:  MPC57xx Motherboard + MPC5744PE257DC minimodule, MPC5744P, * silicon mask set 1N65H * Target :  internal_FLASH* ********************************************************************************
View full article
This is simple example of the usage of Flash Array Integrity Check (FAIC) function that is available on all MPC56xx devices.   The FAIC reads data from selected and unlocked flash blocks and calculates the MISR signature. User can compare the MISR signature calculated by flash controller (in runtime) with MISR calculated by offline tool (this is done during development, not in runtime) from s-record file. If the MISR is identical, we know that the content of selected flash blocks corresponds to content in s-record file and that there are no ECC errors (single bit or double bit ECC errors).
View full article
******************************************************************************** * Detailed Description: * This example shows how to configure Wake up unit and CAN sampler. * Once the device is woken up from STOP mode by falling edge on CAN0RX pin, * the CAN sampler starts to sample this pin in given period. * FlexCAN module is not initialized and used in this example because the CAN * sampler is independent of FlexCAN. * ------------------------------------------------------------------------------ * Test HW:  XPC56xxMB2 + XPC560B 176LQFP, PPC5607B * Target :  internal_FLASH, RAM * Fsys:     64 MHz PLL * ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * * The example shows how to initialize 3 submodules to generate 120° phase shift * between submodules. * CNTR register of each submodule is initialized with shifted value when PWM * generators are disabled using FORCE feature. * * ------------------------------------------------------------------------------ * Test HW:  MPC5744P (MPC5744P-257DS + MPC577xx motherboard) * Maskset:  1N15P * Target :  internal_FLASH, RAM * Fsys:     200 MHz PLL with 40 MHz crystal reference * * EVB connection: * * P8.12    - A[11] .. FlexPWM A[0] output * P8.11    - A[10] .. FlexPWM B[0] output * P8.13    - A[12] .. FlexPWM A[2] output * P8.14    - A[13] .. FlexPWM B[2] output * P10.8    - C[7] .. FlexPWM A[1] output * P10.7    - C[6] .. FlexPWM B[1] output * ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * * ------------------------------------------------------------------------------ * Test HW:  TRK-MPC5604P, SPC5604P * Maskset:  0M36W * Target :  RAM * Terminal: no * Fsys:     64 MHz PLL with 8 MHz crystal reference in RUN0. IRC in DRUN * * 1. you have to use an external power supply to the board (SBC power)   2. The SBC chip must be initialized (via SPI interface) to turn on the CAN transceiver.   3. For ease of use, install the VSUP shunt on (jumper J5). This it to put 9 V on the SBC's DBG pin - refer to the SBC Data Sheet for more details about the DBG pin of the SBC chip.   4. This code initializes the MCU, then sends commands to the SBC chip over the SPI bus to turn on the CAN transceiver, then the FlexCAN_0 module transmits a message out of the board.   I/O configuration for the TRK-MPC5604P CAN example:   MCU_PB0 -> SBC_TXD  (MPC5604P CAN0TX PCR[16] ALT1 function) MCU_PB1 <- SBC_RXD  (MPC5604P CAN0RX PCR[17] input function)   SPI bus between the MCU and SBC:   MCU_PC4 -> SBC_!CS    (MPC5604P DSPI_0 CS0  ALT1 function PCR[36]) MCU_PC5 -> SBC_CLK    (MPC5604P DSPI_0 SCK  ALT1 function PCR[37]) MCU_PC6 -> SBC_MOSI   (MPC5604P DSPI_0 SOUT ALT1 function PCR[38]) MCU_PC7 <- SBC_MISO   (MPC5604P DSPI_0 SIN  input function PCR[39])  * ********************************************************************************
View full article
This tool simplifies CAN bit timing calculation for CAN modules (FlexCAN, MCAN) available on MPC5xxx, S32Kxxx and LPCxxxx families.   Enter input parameters into light green cells.   Device and Transceiver are selected from pull-down menus.        By selecting Transceiver, propagation delay parameter is also loaded, but can be simply overwritten by user value. Rest of parameters can be modified directly upon user needs.   The tool lists possible setting together with register view. A recommended setting is highlighted. Three criteria are used for recommended values selection - desired sample point - highest fcpi accuracy - same prescalers for nominal and data phases, if CAN FD is calculated   For sure other setting can be selected, if needed, by clicking on respective line in list.   Note: Macros have to be enabled!     BR, Petr
View full article
This demo performs a communication on LIN bus between two MPC5604B EVBs.   LinFlex0 LIN Master ******************************************************************************** * Detailed Description: * - send header from a LIN Master * - either receive data from a LIN Slave or transmit a data * - no interrupt is used, just SW pooling * * ------------------------------------------------------------------------------ * Test HW:  XPC560B 144 LQFP MINIMODULE, XPC56XX EVB MOTHERBOARD, SPC5604B 2M27V * Target :  internal_RAM, Flash * LinFlex0: Lin Master, 19200 baudrate * Fsys:     64 MHz PLL with 8 MHz crystal reference * * ------------------------------------------------------------------------------ * EVB connections and jumper configuration * * XPC56XX EVB MOTHERBOARD * for LinFlex0 connection to the MC33661 LIN transceiver: * - RXDA_SEL (near SCI !!!!) jumper over pins 1-2 * - TXDA_SEL (near SCI) jumper over 1-2 * * for LIN Master functionality * - VSUP (J6) jumper fitted *   lin xceiver will get +12V from the EVB * - V_BUS (J14) jumper not fitted * - MASTER_EN jumper fitted * - LIN_EN jumper fitted * ********************************************************************************     LinFlex0 LIN Slave ******************************************************************************** * Detailed Description: * - receive header from a LIN Master * - either receive data from a LIN Master or transmit a data * - Filter can be enabled with the FILT_EN = 1 * - If filter is enabled TX interrupt is used to prepare data to send and *    RX interrupt to read received data * - If filter is disabled SW polling is used * * ------------------------------------------------------------------------------ * Test HW:  XPC560B 144 LQFP MINIMODULE, XPC56XX EVB MOTHERBOARD, SPC5604B 2M27V * Target :  internal_RAM * LinFlex0: Lin Slave, 19200 baudrate * Fsys:     64 MHz PLL with 8 MHz crystal reference * * ------------------------------------------------------------------------------ * EVB connections and jumper configuration * * XPC56XX EVB MOTHERBOARD * for LinFlex0 connection to the MC33661 LIN transceiver: * - RXDA_SEL (near SCI !!!!) jumper over pins 1-2 * - TXDA_SEL (near SCI) jumper over pins 1-2 * * for LIN Slave functionality * - VSUP (J6) jumper not fitted ...LIN transceiver will get +12V from the Master * - V_BUS jumper not fitted * - MASTER_EN jumper not fitted * - LIN_EN jumper fitted * ********************************************************************************
View full article
******************************************************************************** * Detailed Description: * * Configures the FlexCAN to transmit and receive a CAN message. * ECC reporting in the FlexCAN module is enabled. * * In this config, CAN_A transmits a message. CAN_B receives the message. * CAN_A MB8 is configured to send data. CAN_A sends message each 1sec. * This interval is generated by PIT. * CAN_B MB9 is configured to receive a message, SW polling is used. * * Install jumpers J37 1-2 and J38 1-2 * * Connect CAN0-CANH on P15-1 to CAN1-CANH on P14-1 * Connect CAN0-CANL on P15-2 to CAN1-CANL on P14-2 * * ------------------------------------------------------------------------------ * 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 *           use USB connector (J21) on minimodule * * 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: * This example shows how to use FCCU module for fake fault injection in order to test FCCU functionality. * * For closer details on how FCCU works I suggest you to check reference manual as this module is quite complex. * This example sets system clock for 200MHz running from PLL0 module. * The FCCU_Fake_fault_inject function is setting and injecting FCCU fault NCF[7] - STCU2 fault condition. * Short reset is triggered as soon as FCCU registers injected fault. * * ------------------------------------------------------------------------------ * Test HW:  MPC57xx Motherboard + MPC5744PE257DC minimodule, MPC5744P, * silicon mask set 1N65H * Target :  internal_FLASH* ********************************************************************************
View full article
External Bus Interface FAQs related to MPC55xx and MPC56xx MCUs Preliminary version
View full article
Revision 1 of the document is now officially published: http://cache.freescale.com/files/microcontrollers/doc/app_note/AN5200.pdf http://cache.freescale.com/files/microcontrollers/doc/app_note/AN5200SW.zip   Related code examples can be found also here (equal to AN5200SW): Example 1 - MPC5634M_2b_RAM_ECC_error_injection CW210 Example 2 - MPC5674F_1b+2b_RAM_ECC_error_injection CW210 Example 3 - MPC5643L 1b_RAM_ECC_error_injection CW210 Example 4 - MPC5643L 2b RAM and 2b FLASH ECC error injection CW210 Example 5 - MPC5675K-2b_RAM+2b_FLASH_ECC_error_injection CW210
View full article
Detailed Description:                      This config tool simplifies DCF records calculation for MPC5777C device.                 Look at HowToUse sheet for simple guideline, then work with DCF sheet                 Notes: - Macros have to be enabled!       - Programming more than 104 DCF records on Cut1.0b will result in incorrect device operation (FCCU faults, SSCM[CER] bit set, etc)       BR, Petr
View full article
******************************************************************************** * Detailed Description: * This example content a driver for ADC module. * Basic ADC functionality is demonstrated via ADC_0 normal conversion for ADC_0 AN0 channel. * * For closer details on how ADC works I suggest you to check reference manual. * This example sets system clock for 200MHz running from PLL0 module. * Example contains basic ADC functionality demonstration. Software is starting normal ADC conversion * on ADC_0 channel AN0. * To demonstrate the measurement functionality on Freescale MPC57xx motherboard connect jumper to J53. * By doing this the potentiometer is connected to AN0 ADC input. For further details see MPC57xx EVB schematics. * * ------------------------------------------------------------------------------ * Test HW:  MPC57xx Motherboard + MPC5744PE257DC minimodule, MPC5744P, * silicon mask set 1N65H * Target :  internal_FLASH* ********************************************************************************
View full article