AT91SAM7S256D-AU Atmel, AT91SAM7S256D-AU Datasheet - Page 487

no-image

AT91SAM7S256D-AU

Manufacturer Part Number
AT91SAM7S256D-AU
Description
ARM Microcontrollers - MCU 256K Flash SRAM 64K ARM based MCU
Manufacturer
Atmel
Series
SAM7S256r
Datasheet

Specifications of AT91SAM7S256D-AU

Rohs
yes
Core
ARM
Processor Series
AT91SAM
Data Bus Width
16 bit/32 bit
Maximum Clock Frequency
55 MHz
Program Memory Size
256 KB
Data Ram Size
64 KB
On-chip Adc
Yes
Operating Supply Voltage
3 V to 3.6 V
Operating Temperature Range
- 40 C to + 85 C
Package / Case
LQFP-64
Mounting Style
SMD/SMT
Interface Type
2-Wire, I2S, SPI, USART
Length
7 mm

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM7S256D-AU
Manufacturer:
ATMEL
Quantity:
101
Part Number:
AT91SAM7S256D-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT91SAM7S256D-AU-999
Manufacturer:
Atmel
Quantity:
10 000
34.5.3
34.5.3.1
34.5.3.2
34.5.3.3
Before enabling the output channel, this channel must have been configured by the software application:
It is possible to synchronize different channels by enabling them at the same time by means of writing simultane-
ously several CHIDx bits in the PWM_ENA register.
The large number of source clocks can make selection difficult. The relationship between the value in the Period
Register (PWM_CPRDx) and the Duty Cycle Register (PWM_CDTYx) can help the user in choosing. The event
number written in the Period Register gives the PWM accuracy. The Duty Cycle quantum cannot be lower than
1/PWM_CPRDx value. The higher the value of PWM_CPRDx, the greater the PWM accuracy.
For example, if the user sets 15 (in decimal) in PWM_CPRDx, the user is able to set a value between 1 up to 14 in
PWM_CDTYx Register. The resulting duty cycle quantum cannot be lower than 1/15 of the PWM period.
It is possible to modulate the output waveform duty cycle or period.
To prevent unexpected output waveform, the user must use the update register (PWM_CUPDx) to change wave-
form parameters while the channel is still enabled. The user can write a new period value or duty cycle value in the
update register (PWM_CUPDx). This register holds the new value until the end of the current cycle and updates
the value for the next cycle. Depending on the CPD field in the PWM_CMRx register, PWM_CUPDx either updates
PWM_CPRDx or PWM_CDTYx. Note that even if the update register is used, the period must not be smaller than
the duty cycle.
• Configuration of the clock generator if DIVA and DIVB are required
• Selection of the clock for each channel (CPRE field in the PWM_CMRx register)
• Configuration of the waveform alignment for each channel (CALG field in the PWM_CMRx register)
• Configuration of the period for each channel (CPRD in the PWM_CPRDx register). Writing in PWM_CPRDx
• Configuration of the duty cycle for each channel (CDTY in the PWM_CDTYx register). Writing in PWM_CDTYx
• Configuration of the output waveform polarity for each channel (CPOL in the PWM_CMRx register)
• Enable Interrupts (Writing CHIDx in the PWM_IER register)
• Enable the PWM channel (Writing CHIDx in the PWM_ENA register)
• In such a situation, all channels may have the same clock selector configuration and the same period specified.
PWM Controller Operations
Register is possible while the channel is disabled. After validation of the channel, the user must use
PWM_CUPDx Register to update PWM_CPRDx as explained below.
Register is possible while the channel is disabled. After validation of the channel, the user must use
PWM_CUPDx Register to update PWM_CDTYx as explained below.
Initialization
Source Clock Selection Criteria
Changing the Duty Cycle or the Period
SAM7S Series [DATASHEET]
6175M–ATARM–26-Oct-12
487

Related parts for AT91SAM7S256D-AU