AT91SAM7X128 Atmel, AT91SAM7X128 Datasheet - Page 430
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
AT91SAM7X128
Manufacturer Part Number
AT91SAM7X128
Description
MCU 32-Bit 91S ARM7TDMI RISC 128KB Flash 1.8V/3.3V 100-Pin LQFP
Manufacturer
Atmel
Datasheet
1.AT91SAM7X512-AU-999.pdf
(687 pages)
Specifications of AT91SAM7X128
Package
100LQFP
Device Core
ARM7TDMI
Family Name
91S
Maximum Speed
55 MHz
Ram Size
32 KB
Program Memory Size
128 KB
Operating Supply Voltage
1.8|3.3 V
Data Bus Width
32 Bit
Program Memory Type
Flash
Number Of Programmable I/os
62
Interface Type
CAN/Ethernet/SPI/I2S/TWI/USART/USB
On-chip Adc
8-chx10-bit
Operating Temperature
-40 to 85 °C
Number Of Timers
3
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT91SAM7X128-AU
Manufacturer:
ATMEL
Quantity:
1 045
Part Number:
AT91SAM7X128-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT91SAM7X128-CU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT91SAM7X128B-AU
Manufacturer:
Atmel
Quantity:
1 929
Part Number:
AT91SAM7X128B-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
- Current page: 430 of 687
- Download datasheet (11Mb)
33.5.3
33.5.3.1
33.5.3.2
33.5.3.3
430
AT91SAM7X512/256/128 Preliminary
PWM Controller Operations
Initialization
Source Clock Selection Criteria
Changing the Duty Cycle or the Period
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 simultaneously 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 accu-
racy. 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 waveform 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
• Configuration of the period for each channel (CPRD in the PWM_CPRDx register). Writing in
• Configuration of the duty cycle for each channel (CDTY in the PWM_CDTYx register).
• Configuration of the output waveform polarity for each channel (CPOL in the PWM_CMRx
• 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
register)
PWM_CPRDx 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.
Writing in PWM_CDTYx 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.
register)
same period specified.
6120H–ATARM–17-Feb-09
Related parts for AT91SAM7X128
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT91SAM9R64-CU](/photos/12/13/121356/144-lfbga_tmb.jpg)
Part Number:
Description:
MCU ARM9 64K SRAM 144-LFBGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM7A3-AU](/photos/6/76/67646/313-100-lqfp_tmb.jpg)
Part Number:
Description:
IC ARM7 MCU FLASH 256K 100LQFP
Manufacturer:
Atmel
Datasheet:
![AT91SAM9G20B-CU](/photos/12/13/121366/217-lfbga_tmb.jpg)
Part Number:
Description:
IC ARM9 MPU 217-LFBGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM9261B-CU](/photos/12/13/121366/217-lfbga_tmb.jpg)
Part Number:
Description:
MCU ARM9 ULTRA LOW PWR 217-LFBGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM9G45-CU](/photos/12/13/121367/324-tfbga-pkg_tmb.jpg)
Part Number:
Description:
MCU ARM9 324-TFBGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM9G10-CU](/photos/12/13/121366/217-lfbga_tmb.jpg)
Part Number:
Description:
IC MCU ARM9 SAMPLING 217CBGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM9260B-CU](/photos/12/13/121366/217-lfbga_tmb.jpg)
Part Number:
Description:
IC ARM9 MCU 217-LFBGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM9260B-QU](/photos/6/73/67311/313-208-pqfp_tmb.jpg)
Part Number:
Description:
IC ARM9 MCU 208-PQFP
Manufacturer:
Atmel
Datasheet:
![AT91SAM7X512-AU](/photos/6/76/67646/313-100-lqfp_tmb.jpg)
Part Number:
Description:
MCU ARM 512K HS FLASH 100-LQFP
Manufacturer:
Atmel
Datasheet:
![AT91SAM7X512-CU](/photos/6/89/68968/313-100-cbga_tmb.jpg)
Part Number:
Description:
MCU ARM 512K HS FLASH 100-TFBGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM9263B-CU](/photos/12/13/121367/324-tfbga-pkg_tmb.jpg)
Part Number:
Description:
IC ARM9 MCU 200 MHZ 324-TFBGA
Manufacturer:
Atmel
Datasheet:
![AT91RM9200-CJ-002](/photos/12/32/123245/256-bga_tmb.jpg)
Part Number:
Description:
IC ARM MCU 16BIT 128K 256BGA
Manufacturer:
Atmel
Datasheet:
![AT91SAM7S128-AU-001](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC ARM7 MCU 32BIT 128K 64LQFP
Manufacturer:
Atmel
Datasheet:
![AT91SAM7SE256-AU](/photos/6/71/67112/128-lqfp_tmb.jpg)
Part Number:
Description:
IC ARM7 MCU FLASH 256K 128-LQFP
Manufacturer:
Atmel
Datasheet:
![AT91SAM7SE512-AU](/photos/6/71/67112/128-lqfp_tmb.jpg)
Part Number:
Description:
IC ARM7 MCU FLASH 512K 128-LQFP
Manufacturer:
Atmel
Datasheet: