Example MPC5676R HardwareVectorMode Multicore S32DS_2017.R1

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

Example MPC5676R HardwareVectorMode Multicore S32DS_2017.R1

Example MPC5676R HardwareVectorMode Multicore S32DS_2017.R1

* Detailed Description:
* This example shows, how to use interrupt hardware vector mode. In the example
* PIT3 and PIT2 interrupts are implemented. PIT interrupt toggle LED every second.
*
*
* This example also shows, how to implement IVOR exceptions for core 0.
* IVOR1 handler with while(1) loop is ready to use.
*
*
* For correct HW vector mode setup, following files was added to the project:
*
*  - exceptions.s
*  - handlers_vle.s
*  - HW_vector.c
*
*
* Following files has been modified (all changes are marked by comment):
*
*  - 56xx_flash.ld
*  - Vector.c
*  - MPC57xx__Interrupt_Init.c
*
*  Following file was removed from project (files are still place in project, but
*  not compiled and linked)
*
*  - intc_sw_handlers.S
*  - intc_SW_mode_isr_vectors_MPC5744P.c
*
*
*
* Test HW:         MPC567XADAT516, MPC567XEVBFXMB
* MCU:             PPC5676RDMVY1 3N23A
* Fsys:            180 MHz
* Debugger:        Lauterbach Trace32
*                  PeMicro USB-ML-PPCNEXUS
* Target:          internal_FLASH (debug mode, release mode)
* EVB connection:  User LED 1 connected to J241,
*                    User LED 1 connected to J242.
*

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1113732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5676R%20HardwareVectorMode%20Multicore%20S32DS_2017.R1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1113732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20This%20example%20shows%2C%20how%20to%20use%20interrupt%20hardware%20vector%20mode.%20In%20the%20example%3CBR%20%2F%3E*%20PIT3%20and%20PIT2%20interrupts%20are%20implemented.%20PIT%20interrupt%20toggle%20LED%20every%20second.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20This%20example%20also%20shows%2C%20how%20to%20implement%20IVOR%20exceptions%20for%20core%200.%3CBR%20%2F%3E*%20IVOR1%20handler%20with%20while(1)%20loop%20is%20ready%20to%20use.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20For%20correct%20HW%20vector%20mode%20setup%2C%20following%20files%20was%20added%20to%20the%20project%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20-%20exceptions.s%3CBR%20%2F%3E*%26nbsp%3B%20-%20handlers_vle.s%3CBR%20%2F%3E*%26nbsp%3B%20-%20HW_vector.c%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Following%20files%20has%20been%20modified%20(all%20changes%20are%20marked%20by%20comment)%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20-%2056xx_flash.ld%3CBR%20%2F%3E*%26nbsp%3B%20-%20Vector.c%3CBR%20%2F%3E*%26nbsp%3B%20-%20MPC57xx__Interrupt_Init.c%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20Following%20file%20was%20removed%20from%20project%20(files%20are%20still%20place%20in%20project%2C%20but%3CBR%20%2F%3E*%26nbsp%3B%20not%20compiled%20and%20linked)%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20-%20intc_sw_handlers.S%3CBR%20%2F%3E*%26nbsp%3B%20-%20intc_SW_mode_isr_vectors_MPC5744P.c%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC567XADAT516%2C%20MPC567XEVBFXMB%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5676RDMVY1%203N23A%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20180%20MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20release%20mode)%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20User%20LED%201%20connected%20to%20J241%2C%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20User%20LED%201%20connected%20to%20J242.%3CBR%20%2F%3E*%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1113732%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20This%20example%20shows%2C%20how%20to%20use%20interrupt%20hardware%20vector%20mode.%20In%20the%20example%3CBR%20%2F%3E*%20PIT3%20and%20PIT2%20interrupts%20are%20implemented.%20PIT%20interrupt%20toggle%20LED%20every%20second.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20This%20example%20also%20shows%2C%20how%20to%20implement%20IVOR%20exceptions%20for%20core%200.%3CBR%20%2F%3E*%20IVOR1%20handler%20with%20while(1)%20loop%20is%20ready%20to%20use.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20For%20correct%20HW%20vector%20mode%20setup%2C%20following%20files%20was%20added%20to%20the%20project%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20-%20exceptions.s%3CBR%20%2F%3E*%26nbsp%3B%20-%20handlers_vle.s%3CBR%20%2F%3E*%26nbsp%3B%20-%20HW_vector.c%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Following%20files%20has%20been%20modified%20(all%20changes%20are%20marked%20by%20comment)%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20-%2056xx_flash.ld%3CBR%20%2F%3E*%26nbsp%3B%20-%20Vector.c%3CBR%20%2F%3E*%26nbsp%3B%20-%20MPC57xx__Interrupt_Init.c%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20Following%20file%20was%20removed%20from%20project%20(files%20are%20still%20place%20in%20project%2C%20but%3CBR%20%2F%3E*%26nbsp%3B%20not%20compiled%20and%20linked)%3CBR%20%2F%3E*%3CBR%20%2F%3E*%26nbsp%3B%20-%20intc_sw_handlers.S%3CBR%20%2F%3E*%26nbsp%3B%20-%20intc_SW_mode_isr_vectors_MPC5744P.c%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC567XADAT516%2C%20MPC567XEVBFXMB%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5676RDMVY1%203N23A%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20180%20MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20release%20mode)%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20User%20LED%201%20connected%20to%20J241%2C%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20User%20LED%201%20connected%20to%20J242.%3CBR%20%2F%3E*%3C%2FP%3E%3C%2FLINGO-TEASER%3E
No ratings
Version history
Last update:
‎01-12-2018 03:10 AM
Updated by: