Example MPC5775K eTimer_PWM S32DS_1.0

cancel
Showing results for 
Search instead for 
Did you mean: 

Example MPC5775K eTimer_PWM S32DS_1.0

No ratings

Example MPC5775K eTimer_PWM S32DS_1.0

********************************************************************************

* Detailed Description:

* Application performs basic initialization, setup PLL to maximum allowed freq.,

* setup clock for peripherals.

*

* This example shows, how to use some of ETimer modes. Channel 0 is set to

* Fixed-Frequency PWM Mode and generates PWM signal with approximate frequency

* 507Hz. This signal is routed to the UserLED1.

*

* Channel 1 is set to Count mode and generates 0,25 second interrupt.

* In the interrupt service routine, duty cycle is increased from 0% to 100%

* with step 6.25%. This shows for example, how can be controlled the brightness

* of the LED.

*

* Channel 2 is set to Variable-Frequency PWM Mode and generates PWM signal with

* frequency 10KHz. This signal is routed to the UserLED2.

*

* ------------------------------------------------------------------------------

* Test HW:         MPC5775K-356DS, MPC57xx Motherboard

* MCU:             PPC5775KMMY3A 0N76P

* Terminal:

* Fsys:            PLL0 266MHz

*                    Z4 Core 133MHz

* Debugger:        Lauterbach Trace32

*                  PeMicro USB-ML-PPCNEXUS

* Target:          internal_FLASH (debug mode, release mode)

* EVB connection:  UserLED1 connected to P19.0

*                     UserLED2 connected to P19.2

*

*

********************************************************************************

Labels (1)
Tags (1)
Attachments
Version history
Revision #:
1 of 1
Last update:
‎03-03-2016 07:51 AM
Updated by: