Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Product List
PWM and Timer Applications Slide 8

This figure here shows the SCTimer/PWM block diagram with its major components. The top left section is dedicated to the clock inputs, which includes two pre-scale registers, one for each 16-bit counter. These can be used to reduce the clock rate at which the timer runs. The SCTimer/PWM also has an option for using an external clock source for the counters. At the bottom left, the counters, together with the match logic, provide the basic timer functionality, which means comparing the counter register to a specific value, or capturing the counter value at a certain instant in time when a condition on a trigger input signal is satisfied. The advanced part is provided in the right hand side of the diagram, the event generation logic. This block is used to define the hardware events, which can be dependent on inputs, match values, outputs, or also a combination of them. The defined events also depend on the state logic, and can transition the timer to a different state in the associated flow diagram. All defined events are able to drive outputs, and can be configured to generate interrupts to the CPU, or transfer requests to the on-chip DMA controller.

PTM Published on: 2014-03-20