Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
684
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
38.5
Product Dependencies
38.5.1 I/O 
Lines
The pins used for interfacing the PWM may be multiplexed with PIO lines. The programmer must first program the PIO
controller to assign the desired PWM pins to their peripheral function. If I/O lines of the PWM are not used by the
application, they can be used for other purposes by the PIO controller.
All of the PWM outputs may or may not be enabled. If an application requires only four channels, then only four PIO lines
will be assigned to PWM outputs.
38.5.2 Power 
Management
The PWM is not continuously clocked. The programmer must first enable the PWM clock in the Power Management
Controller (PMC) before using the PWM. However, if the application does not require PWM operations, the PWM clock
can be stopped when not needed and be restarted later. In this case, the PWM will resume its operations where it left off.
All the PWM registers except PWM_CDTY and PWM_CPRD can be read without the PWM peripheral clock enabled.
All the registers can be written without the peripheral clock enabled.
38.5.3 Interrupt 
Sources
The PWM interrupt line is connected on one of the internal sources of the Interrupt Controller. Using the PWM interrupt
requires the Interrupt Controller to be programmed first. Note that it is not recommended to use the PWM interrupt line in
edge sensitive mode.
Table 38-2. I/O Lines
Instance
Signal
I/O Line
Peripheral
PWM
PWM0
PB11
B
PWM
PWM0
PC10
C
PWM
PWM0
PC18
C
PWM
PWM1
PB12
B
PWM
PWM1
PC11
C
PWM
PWM1
PC19
C
PWM
PWM2
PB13
B
PWM
PWM2
PC20
C
PWM
PWM3
PB14
B
PWM
PWM3
PC21
C
Table 38-3. Peripheral IDs
Instance
ID
PWM
18