AnsweredAssumed Answered

How can I change the state of SCT upper timer by using an event on the lower?

Question asked by Colin Burn on May 3, 2017
Latest reply on May 9, 2017 by Colin Burn

I am trying to produce a signal from SCT2 which changes from 650Hz to 1000Hz and back at a rate of 5Hz. I set the timer to be non-unified. I set the lower counter to give an output event and change of state at 5Hz and the upper to give 650/1000Hz, depending on state. What I didn't realise is that the states for upper and lower seem to be independent so this didn't work. I then wondered if I could connect the output from the lower timer event to the input of the upper timer but I can't find any way of doing this. The chip is LPC1549 and the movable functions do not include SCTIN so I can't fudge it by connecting an input and an output to the same physical pin.

One more requirement is not to use interrupts or have any regular processor involvement. It should be set and forget.

Has anybody any ideas about this?

Outcomes