Example MPC5746R PIT ISR GHS614

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

Example MPC5746R PIT ISR GHS614

Example MPC5746R PIT ISR GHS614

********************************************************************************
* File:             main.c
* Owner:            b21190(Vlna Peter)
* Version:          1.6
* Date:             Oct-10-2017
* Classification:   General Business Information
* Brief:            Example contains startup with PLL0 200MHz as system clock
*                   and demonstrates PIT interrupt triggering.
********************************************************************************
* Test HW:  MPC57xx EVB + MPC5746R minimodule
* Maskset:  1N83M (cut 2.0B)
* Target :  internal_FLASH
* Fsys:     200MHz PLL0 as system clock
********************************************************************************
Revision History:
1.0     Oct-19-2015   b21190(Vlna Peter)  Initial Version
1.1    Nov-11-2015     b21190(Vlna Peter)  Added PPL0 200MHz as system clock
1.2    Dec-02-2015    b21190(Vlna Peter)  Added Flash controller init
1.3    Dec-02-2015    b21190(Vlna Peter)  Fixed system clock init
1.4    Feb-07-2017    b21190(Vlna Peter)  SWT0 and SWT1 disabled in startup
1.5     May-31-2017    b21190(Vlna Peter)  Fixed comments in AC6 (CLKOUT)
1.6     Oct-10-2017    b21190(Vlna Peter)  Added PIT + Interrupts
*******************************************************************************/

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1116293%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5746R%20PIT%20ISR%20GHS614%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1116293%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20File%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%20main.c%3CBR%20%2F%3E*%20Owner%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20b21190(Vlna%20Peter)%3CBR%20%2F%3E*%20Version%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201.6%3CBR%20%2F%3E*%20Date%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%20Oct-10-2017%3CBR%20%2F%3E*%20Classification%3A%26nbsp%3B%26nbsp%3B%20General%20Business%20Information%3CBR%20%2F%3E*%20Brief%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Example%20contains%20startup%20with%20PLL0%20200MHz%20as%20system%20clock%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%26nbsp%3B%20and%20demonstrates%20PIT%20interrupt%20triggering.%3CBR%20%2F%3E********************************************************************************%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%20MPC57xx%20EVB%20%2B%20MPC5746R%20minimodule%3CBR%20%2F%3E*%20Maskset%3A%26nbsp%3B%201N83M%20(cut%202.0B)%3CBR%20%2F%3E*%20Target%20%3A%26nbsp%3B%20internal_FLASH%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20200MHz%20PLL0%20as%20system%20clock%3CBR%20%2F%3E********************************************************************************%3CBR%20%2F%3ERevision%20History%3A%3CBR%20%2F%3E1.0%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Oct-19-2015%26nbsp%3B%26nbsp%3B%20b21190(Vlna%20Peter)%26nbsp%3B%20Initial%20Version%3CBR%20%2F%3E1.1%26nbsp%3B%26nbsp%3B%20%26nbsp%3BNov-11-2015%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%20b21190(Vlna%20Peter)%26nbsp%3B%20Added%20PPL0%20200MHz%20as%20system%20clock%3CBR%20%2F%3E1.2%26nbsp%3B%26nbsp%3B%20%26nbsp%3BDec-02-2015%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Added%20Flash%20controller%20init%3CBR%20%2F%3E1.3%26nbsp%3B%26nbsp%3B%20%26nbsp%3BDec-02-2015%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Fixed%20system%20clock%20init%3CBR%20%2F%3E1.4%26nbsp%3B%26nbsp%3B%20%26nbsp%3BFeb-07-2017%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20SWT0%20and%20SWT1%20disabled%20in%20startup%3CBR%20%2F%3E1.5%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3BMay-31-2017%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Fixed%20comments%20in%20AC6%20(CLKOUT)%3CBR%20%2F%3E1.6%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3BOct-10-2017%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Added%20PIT%20%2B%20Interrupts%3CBR%20%2F%3E*******************************************************************************%2F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1116293%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20File%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%20main.c%3CBR%20%2F%3E*%20Owner%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20b21190(Vlna%20Peter)%3CBR%20%2F%3E*%20Version%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201.6%3CBR%20%2F%3E*%20Date%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%20Oct-10-2017%3CBR%20%2F%3E*%20Classification%3A%26nbsp%3B%26nbsp%3B%20General%20Business%20Information%3CBR%20%2F%3E*%20Brief%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Example%20contains%20startup%20with%20PLL0%20200MHz%20as%20system%20clock%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%26nbsp%3B%20and%20demonstrates%20PIT%20interrupt%20triggering.%3CBR%20%2F%3E********************************************************************************%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%20MPC57xx%20EVB%20%2B%20MPC5746R%20minimodule%3CBR%20%2F%3E*%20Maskset%3A%26nbsp%3B%201N83M%20(cut%202.0B)%3CBR%20%2F%3E*%20Target%20%3A%26nbsp%3B%20internal_FLASH%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20200MHz%20PLL0%20as%20system%20clock%3CBR%20%2F%3E********************************************************************************%3CBR%20%2F%3ERevision%20History%3A%3CBR%20%2F%3E1.0%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Oct-19-2015%26nbsp%3B%26nbsp%3B%20b21190(Vlna%20Peter)%26nbsp%3B%20Initial%20Version%3CBR%20%2F%3E1.1%26nbsp%3B%26nbsp%3B%20%26nbsp%3BNov-11-2015%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%20b21190(Vlna%20Peter)%26nbsp%3B%20Added%20PPL0%20200MHz%20as%20system%20clock%3CBR%20%2F%3E1.2%26nbsp%3B%26nbsp%3B%20%26nbsp%3BDec-02-2015%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Added%20Flash%20controller%20init%3CBR%20%2F%3E1.3%26nbsp%3B%26nbsp%3B%20%26nbsp%3BDec-02-2015%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Fixed%20system%20clock%20init%3CBR%20%2F%3E1.4%26nbsp%3B%26nbsp%3B%20%26nbsp%3BFeb-07-2017%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20SWT0%20and%20SWT1%20disabled%20in%20startup%3CBR%20%2F%3E1.5%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3BMay-31-2017%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Fixed%20comments%20in%20AC6%20(CLKOUT)%3CBR%20%2F%3E1.6%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3BOct-10-2017%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bb21190(Vlna%20Peter)%26nbsp%3B%20Added%20PIT%20%2B%20Interrupts%3CBR%20%2F%3E*******************************************************************************%2F%3C%2FP%3E%3C%2FLINGO-TEASER%3E
No ratings
Version history
Last update:
‎09-24-2018 06:06 AM
Updated by: