AT91SAM9260: How to output PCK0 clock on a GPIO pin
Sergey Matyukevich
geomatsi at gmail.com
Mon Aug 31 15:33:12 EDT 2009
Hi,
> And how do I turn on the PMC clocks for the GPIO?
Assigning gpio pin PC6 to TIOB2 peripheral is only a part of the work.
Timer counters may operate in different modes. Take a look at
the datasheet for at91sam9260, timer counters are covered in chapter 34.
It looks like 'waveform mode' is what you need (see 34.5.10, 34.5.11).
Before you get desired output on PC6 pin you will have to turn on
waveform operating mode for TIOB2 and to configure its wave shapes.
Thanks,
Sergey
More information about the linux-arm-kernel
mailing list