Example MPC5777C-eTPU_GPIO_test GHS714

File uploaded by David Tosenovjan Employee on Oct 17, 2017Last modified by David Tosenovjan Employee on Oct 18, 2017
Version 2Show Document
  • View in full screen mode

* Detailed Description:
* A simple example configures eTPU engine B channels 0/1 for GPO/GPI. It is
* needed to connect these pins by wire. Output wave is generated by eTPU GPIO
* output function and inputs are read by fs_etpu_gpio_input_immed function
* latching just current pin state. Pin history is displayed in ISR.
* 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
* Terminal:        19200-8-no parity-1 stop bit-no flow control on eSCI_A
* EVB connection:  ETPUB0 (PortR P25-1) --> ETPUB1 (PortR P25-0) by wire