LPC 845 CONTROLLER TIMER & PWM

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

LPC 845 CONTROLLER TIMER & PWM

386 Views
Arularasan
Contributor II

why there are two distinct ways to manage timer and PWM functionalities in this microcontroller 

Chapter 20: LPC84x Standard counter/timer (CTIMER)

Chapter 21: LPC84x SC Timer/PWM.

1.Both are same or Not ?

2.why these tow timers ?

3.is there any use of these both ?

4.give example for this both ?

 

Tags (1)
0 Kudos
Reply
1 Reply

372 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI Arularasan 

SCTimer is more flexiable than CTimer

We can use SCTimer to simulate some peripheral like UART, or use SCTimer to control BLDC

Here is SCTimer cookbook:

https://www.nxp.com/docs/en/application-note/AN11538.zip

Here is SCTimer applications:

https://www.nxp.com/docs/en/application-note/AN12726.pdf

https://www.nxp.com/docs/en/application-note-software/AN12726SW.zip

https://www.nxp.com/docs/en/application-note/AN12602.pdf

https://www.nxp.com/docs/en/application-note-software/AN12602SW.zip

 

MCUXpresso SDK includes both SCTimer and CTimer demo codes

We can download here

https://mcuxpresso.nxp.com/en/dashboard?build=1

Hope this helps.

Have a nice day,

Jun Zhang

 

 

0 Kudos
Reply