Example MPC5746R eTPU_original_set1_integration PWM_test S32DS.Power.2017.R1

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

Example MPC5746R eTPU_original_set1_integration PWM_test S32DS.Power.2017.R1

Example MPC5746R eTPU_original_set1_integration PWM_test S32DS.Power.2017.R1

********************************************************************************
* Detailed Description:
* Example shows how to use original eTPU sets available over eTPU Function 
* Selector ( https://www.nxp.com/webapp/etpu/ ) and integrate them into
* S32 Design Studio Integrated Development Platform. Example is based on 
* Software Development Kit (SDK) startup, in the main function adds necessary
* configuration to get eTPU run. 
* eTPU application itself is simple PWM configured with eTPU Graphical 
* Configuration Tool. Target CPU is 'Generic CPU with eTPU2', eTPU clock 100MHz.
* User can shows PWM waves over pins PH[10] and PH[11].
*  
* Tip: AN4687 may be used as reference with note the different compiler is used.
* References: http://www.nxp.com/files/soft_dev_tools/doc/app_note/AN4687.pdf
*            https://www.nxp.com/webapp/sps/download/license.jsp?colCode=ETPUGCT
* ------------------------------------------------------------------------------
* Test HW:         MPC5746R-176DC Rev.A2 + MPC57xx MOTHER BOARD Rev.C
* MCU:             SPC5743RMLU5 QCO1640 1N83M FEAEQL
* Target:          Debug_FLASH
* EVB connection:  ETPU0_A (Port PH[10]) --> scope
*                  ETPU1_A (Port PH[11]) --> scope
* Compiler:        S32DS.Power.2017.R1 
* SDK release:     S32_SDK_S32PA_EAR_1.8.0
* Configurator:    eTPU Graphical Configuration Tool 1.4.0.4
* Debugger:        Lauterbach Trace32
********************************************************************************
Revision History:
Ver  Date         Author            Description of Changes
0.1  Apr-04-2019  David Tosenovjan  Initial version
*******************************************************************************/
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1107223%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5746R%20eTPU_original_set1_integration%20PWM_test%20S32DS.Power.2017.R1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1107223%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CPRE%3E********************************************************************************%0A*%20Detailed%20Description%3A%0A*%20Example%20shows%20how%20to%20use%20original%20eTPU%20sets%20available%20over%20eTPU%20Function%20%0A*%20Selector%20(%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fetpu%2F%22%20target%3D%22test_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fetpu%2F%3C%2FA%3E%20)%20and%20integrate%20them%20into%0A*%20S32%20Design%20Studio%20Integrated%20Development%20Platform.%20Example%20is%20based%20on%20%0A*%20Software%20Development%20Kit%20(SDK)%20startup%2C%20in%20the%20main%20function%20adds%20necessary%0A*%20configuration%20to%20get%20eTPU%20run.%20%0A*%20eTPU%20application%20itself%20is%20simple%20PWM%20configured%20with%20eTPU%20Graphical%20%0A*%20Configuration%20Tool.%20Target%20CPU%20is%20'Generic%20CPU%20with%20eTPU2'%2C%20eTPU%20clock%20100MHz.%0A*%20User%20can%20shows%20PWM%20waves%20over%20pins%20PH%5B10%5D%20and%20PH%5B11%5D.%0A*%20%26nbsp%3B%0A*%20Tip%3A%20AN4687%20may%20be%20used%20as%20reference%20with%20note%20the%20different%20compiler%20is%20used.%0A*%20References%3A%20%3CA%20href%3D%22http%3A%2F%2Fwww.nxp.com%2Ffiles%2Fsoft_dev_tools%2Fdoc%2Fapp_note%2FAN4687.pdf%22%20target%3D%22test_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.nxp.com%2Ffiles%2Fsoft_dev_tools%2Fdoc%2Fapp_note%2FAN4687.pdf%3C%2FA%3E%0A*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3FcolCode%3DETPUGCT%22%20target%3D%22test_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3FcolCode%3DETPUGCT%3C%2FA%3E%0A*%20------------------------------------------------------------------------------%0A*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5746R-176DC%20Rev.A2%20%2B%20MPC57xx%20MOTHER%20BOARD%20Rev.C%0A*%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%20SPC5743RMLU5%20QCO1640%201N83M%20FEAEQL%0A*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Debug_FLASH%0A*%20EVB%20connection%3A%26nbsp%3B%20ETPU0_A%20(Port%20PH%5B10%5D)%20--%26gt%3B%20scope%0A*%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%20ETPU1_A%20(Port%20PH%5B11%5D)%20--%26gt%3B%20scope%0A*%20Compiler%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20S32DS.Power.2017.R1%20%0A*%20SDK%20release%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20S32_SDK_S32PA_EAR_1.8.0%0A*%20Configurator%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20eTPU%20Graphical%20Configuration%20Tool%201.4.0.4%0A*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%0A********************************************************************************%0ARevision%20History%3A%0AVer%26nbsp%3B%20Date%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Author%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Description%20of%20Changes%0A0.1%26nbsp%3B%20Apr-04-2019%26nbsp%3B%20David%20Tosenovjan%26nbsp%3B%20Initial%20version%0A*******************************************************************************%2F%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1107223%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CPRE%3E%3CSTRONG%3E********************************************************************************%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Detailed%20Description%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Example%20shows%20how%20to%20use%20original%20eTPU%20sets%20available%20over%20eTPU%20Function%20%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Selector%20(%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fetpu%2F%22%20target%3D%22test_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fetpu%2F%3C%2FA%3E%20)%20and%20integrate%20them%20into%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20S32%20Design%20Studio%20Integrated%20Development%20Platform.%20Example%20is%20based%20on%20%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Software%20Development%20Kit%20(SDK)%20startup%2C%20in%20the%20main%20function%20adds%20necessary%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20configuration%20to%20get%20eTPU%20run.%20%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20eTPU%20application%20itself%20is%20simple%20PWM%20configured%20with%20eTPU%20Graphical%20%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Configuration%20Tool.%20Target%20CPU%20is%20'Generic%20CPU%20with%20eTPU2'%2C%20eTPU%20clock%20100MHz.%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20User%20can%20shows%20PWM%20waves%20over%20pins%20PH%5B10%5D%20and%20PH%5B11%5D.%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20%26nbsp%3B%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Tip%3A%20AN4687%20may%20be%20used%20as%20reference%20with%20note%20the%20different%20compiler%20is%20used.%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20References%3A%20%3CA%20href%3D%22http%3A%2F%2Fwww.nxp.com%2Ffiles%2Fsoft_dev_tools%2Fdoc%2Fapp_note%2FAN4687.pdf%22%20target%3D%22test_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.nxp.com%2Ffiles%2Fsoft_dev_tools%2Fdoc%2Fapp_note%2FAN4687.pdf%3C%2FA%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3FcolCode%3DETPUGCT%22%20target%3D%22test_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3FcolCode%3DETPUGCT%3C%2FA%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20------------------------------------------------------------------------------%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5746R-176DC%20Rev.A2%20%2B%20MPC57xx%20MOTHER%20BOARD%20Rev.C%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%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%20SPC5743RMLU5%20QCO1640%201N83M%20FEAEQL%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Debug_FLASH%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20EVB%20connection%3A%26nbsp%3B%20ETPU0_A%20(Port%20PH%5B10%5D)%20--%26gt%3B%20scope%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%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%20ETPU1_A%20(Port%20PH%5B11%5D)%20--%26gt%3B%20scope%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Compiler%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20S32DS.Power.2017.R1%20%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20SDK%20release%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20S32_SDK_S32PA_EAR_1.8.0%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Configurator%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20eTPU%20Graphical%20Configuration%20Tool%201.4.0.4%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E********************************************************************************%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3ERevision%20History%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EVer%26nbsp%3B%20Date%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Author%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Description%20of%20Changes%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E0.1%26nbsp%3B%20Apr-04-2019%26nbsp%3B%20David%20Tosenovjan%26nbsp%3B%20Initial%20version%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3E*******************************************************************************%2F%3C%2FSTRONG%3E%3C%2FPRE%3E%3C%2FLINGO-TEASER%3E
No ratings
Version history
Last update:
‎11-11-2022 01:23 AM
Updated by: