arunagunasekaran

Configuring PIT for 5-9 Mhz

Discussion created by arunagunasekaran on Sep 21, 2012
Latest reply on Nov 6, 2012 by Pedro Augusto Panecatl Salas

Hi

     I am using k20 Tower kit and want to generate PWM signal using periodic interrupt timer.In the board am using, CPU is 100Mhz, bus clock of 50 Mhz and PIT of 50 Mhz.  Maximum of how much frequency can be generated using PIT and is it possible to generate up to 9 Mhz?I configure one portB pin as GPIO. The PIT triggers the DMA when PIT counter becomes 0 and  DMA toggles the GPIO output signal. DMA is requested at the rising edge. When using PIT, DMAMUX source can be always enabled? IF I use always enabled, Will it make any problem when i use other DMA channels for External memory transfer.

Outcomes