Example MPC5777C eTPU_FPM_test GHS714

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

Example MPC5777C eTPU_FPM_test GHS714

Example MPC5777C eTPU_FPM_test GHS714

********************************************************************************
* Detailed Description:
* A simple example configures eTPU engine B channels 0/1 for QOM and FPM.
* Connect these pins by wire. Output wave is generated on chnl ETPUB0 (QOM0)
* and its frequency is measured on the chnl ETPUB1 (FPM0).
* TCR counter frequency is 64MHz, output wave configured as 1MHz ( expected
* frequency measured by FPM. Window size is 28us (0x400) thus number of
* measured pulses is 28 (27 initally).
*
* Note: It is needed to configure IGF module, otherwise inputs does not pass
* to eTPU module.
*
* ------------------------------------------------------------------------------
* 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
* EVB connection:  ETPUB0 (PortR P25-1) --> ETPUB1 (PortR P25-0) by wire
*
********************************************************************************

Attachments
No ratings
Version history
Last update:
‎05-30-2019 05:47 AM
Updated by: