Lincoln pwm single Example
From Manuals
(Difference between revisions)
(→Compatibility Lincoln 60, Lincoln 60E) |
(→Compatibility Lincoln 60, Lincoln 60E) |
||
| (8 intermediate revisions not shown) | |||
| Line 3: | Line 3: | ||
==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60], [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== | ==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60], [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== | ||
| - | The NXP LPC1769 microcontroller used in the Lincoln controller line support six channels of PWM. | + | The NXP LPC1769 microcontroller used in the Lincoln controller line support six channels of PWM. This example describes how to use PWM signals on 6 Channels in single edge mode. The PWM signals for this example are mapped to the following locations: |
{| border="1" cellpadding="5" cellspacing="2" align="center" style="text-align: center;" | {| border="1" cellpadding="5" cellspacing="2" align="center" style="text-align: center;" | ||
| - | |+ align="bottom"|'''PWM1 Ouput Connector Locations'' | + | |+ align="bottom"|'''PWM1 Ouput Connector Locations''' |
|'''PWM1 Output''' | |'''PWM1 Output''' | ||
| - | |''' | + | |'''GPIO''' |
| - | + | ||
| - | + | ||
| - | + | ||
|'''Connector''' | |'''Connector''' | ||
|'''Shared Hardware''' | |'''Shared Hardware''' | ||
|- | |- | ||
| - | |1 | + | |PWM1.1 |
|P1.18 | |P1.18 | ||
|J18 pin 7 | |J18 pin 7 | ||
|User LED1 (Green) | |User LED1 (Green) | ||
| - | |||
| - | |||
| - | |||
|- | |- | ||
| - | | | + | |PWM1.2 |
| - | + | ||
| - | + | ||
| - | + | ||
|P3.25 | |P3.25 | ||
|J12 pin 30 | |J12 pin 30 | ||
|Optional Buzzer | |Optional Buzzer | ||
|- | |- | ||
| - | | | + | |PWM1.3 |
| - | + | ||
| - | + | ||
| - | + | ||
|P3.26 | |P3.26 | ||
|J18 pin 12 | |J18 pin 12 | ||
|User LED2 (Yellow) | |User LED2 (Yellow) | ||
|- | |- | ||
| - | | | + | |PWM1.4 |
| - | + | ||
| - | + | ||
| - | + | ||
|P2.3 | |P2.3 | ||
|J2 pin 22 | |J2 pin 22 | ||
|Optional Keypad | |Optional Keypad | ||
|- | |- | ||
| - | | | + | |PWM1.5 |
| - | + | ||
| - | + | ||
| - | + | ||
|P2.4 | |P2.4 | ||
|J2 pin 23 | |J2 pin 23 | ||
|Optional Keypad | |Optional Keypad | ||
|- | |- | ||
| - | | | + | |PWM1.6 |
| - | + | ||
| - | + | ||
| - | + | ||
|P2.5 | |P2.5 | ||
|J2 pin 24 | |J2 pin 24 | ||
| Line 66: | Line 45: | ||
| - | + | PWM1.4 was captured on channel 1 and PWM1.6 was captured on channel 2 of the oscilloscope in the image below. | |
[[Image:Lincoln_pwm_single1.png|center|]] | [[Image:Lincoln_pwm_single1.png|center|]] | ||
Current revision as of 20:18, 10 April 2012
Single Edge Pulse Width Modulation (PWM)
Compatibility Lincoln 60, Lincoln 60E
The NXP LPC1769 microcontroller used in the Lincoln controller line support six channels of PWM. This example describes how to use PWM signals on 6 Channels in single edge mode. The PWM signals for this example are mapped to the following locations:
| PWM1 Output | GPIO | Connector | Shared Hardware |
| PWM1.1 | P1.18 | J18 pin 7 | User LED1 (Green) |
| PWM1.2 | P3.25 | J12 pin 30 | Optional Buzzer |
| PWM1.3 | P3.26 | J18 pin 12 | User LED2 (Yellow) |
| PWM1.4 | P2.3 | J2 pin 22 | Optional Keypad |
| PWM1.5 | P2.4 | J2 pin 23 | Optional Keypad |
| PWM1.6 | P2.5 | J2 pin 24 | Optional Keypad |
PWM1.4 was captured on channel 1 and PWM1.6 was captured on channel 2 of the oscilloscope in the image below.

