– High-performance 32-bit RISC Architecture
– High-density 16-bit Instruction Set
– Leader in MIPS/Watt
– EmbeddedICE
• Internal High-speed Flash
– 128 Kbytes (AT91SAM7L128), Organized in 512 Pages of 256 Bytes Single Plane
– 64 Kbytes (AT91SAM7L64), Organized In 256 Pages of 256 Bytes Single Plane
– Single Cycle Access at Up to 15 MHz in Worst Case Conditions
– 128-bit Read Access
– Page Programming Time: 4.6 ms, Including Page Auto Erase, Full Erase Time: 10 ms
– 10,000 Write Cycles, 10-year Data Retention Capability, Sector Lock Capabilities,
Flash Security Bit
– Fast Flash Programming Interface for High Volume Production
• Internal High-speed SRAM, Single-cycle Access at Maximum Speed
– 6 Kbytes
• 2 Kbytes Directly on Main Supply That Can Be Used as Backup SRAM
• 4 Kbytes in the Core
• Memory Controller (MC)
– Enhanced Embedded Flash Controller, Abort Status and Misalignment Detection
• Enhanced Embedded Flash Controller (EEFC)
– Interface of the Flash Block with the 32-bit Internal Bus
– Increases Performance in ARM and Thumb Mode with 128-bit Wide Memory
Interface
• Reset Controller (RSTC)
– Based on Zero-power Power-on Reset and Fully Programmble Brownout Detector
– Provides External Reset Signal Shaping and Reset Source Status
– Minimizes Device Power Consumption
– Manages the Different Supplies On Chip
– Supports Multiple Wake-up Sources
• Power Management Controller (PMC)
– Software Power Optimization Capabilities, Including Active and Four Low Power
Modes:
• Idle Mode: No Processor Clock
• Wait Mode: No Processor Clock, Voltage Regulator Output at Minimum
• Backup Mode: Voltage Regulator and Processor Switched Off
• Off (Power Down) Mode: Entire Chip Shut Down Except for Force Wake Up Pin
(FWUP) that Re-activates the Device. 100 nA Current Consumption.
• In Active Mode, Dynamic Power Consumption <30 mA at 36 MHz
– Three Programmable External Clock Signals
– Handles Fast Start Up
™
In-circuit Emulation, Debug Communication Channel Support
®
ARM® Thumb® Processor
AT91 ARM
Thumb-based
Microcontroller
AT91SAM7L128
AT91SAM7L64
Summary
Preliminary
NOTE: This is a summary document.
The complete document is available on
the Atmel website at www.atmel.com..
6257AS–ATARM–28-Feb-08
• Advanced Interrupt Controller (AIC)
– Individually Maskable, Eight-level Priority, Vectored Interrupt Sources
– Two External Interrupt Sources and One Fast Interrupt Source, Spurious Interrupt Protected
• Debug Unit (DBGU)
– Two-wire UART and Support for Debug Communication Channel interrupt, Programmable ICE Access Prevention
• Periodic Interval Timer (PIT)
– 20-bit Programmable Counter plus 12-bit Interval Counter
• Windowed Watchdog (WDT)
– 12-bit Key-protected Programmable Counter
– Provides Reset or Interrupt Signals to the System
– Counter may be Stopped While the Processor is in Debug State or in Idle Mode
• Real-time Clock (RTC)
– Two Hundred Year Calendar with Alarm
– Runs Off the Internal RC or Crystal Oscillator
• Three Parallel Input/Output Controllers (PIOA, PIOB, PIOC)
– Eighty Programmable I/O Lines Multiplexed with up to Two Peripheral I/Os
– Input Change Interrupt Capability on Each I/O Line
– Individually Programmable Open-drain, Pull-up resistor and Synchronous Output
• Eleven Peripheral DMA Controller (PDC) Channels
• One Segment LCD Controller
– Display Capacity of Forty Segments and Ten Common Terminals
– Software Selectable LCD Output Voltage (Contrast)
• Two Universal Synchronous/Asynchronous Receiver Transmitters (USART)
– Individual Baud Rate Generator, IrDA® Infrared Modulation/Demodulation
– Support for ISO7816 T0/T1 Smart Card, Hardware Handshaking, RS485 Support
– Manchester Encoder/Decoder
– Full Modem Line Support on USART1
• One Master/Slave Serial Peripheral Interface (SPI)
– 8- to 16-bit Programmable Data Length, Four External Peripheral Chip Selects
• One Three-channel 16-bit Timer/Counter (TC)
– Three External Clock Inputs, Two Multi-purpose I/O Pins per Channel
– Double PWM Generation, Capture/Waveform Mode, Up/Down Capability
• One Four-channel 16-bit PWM Controller (PWMC)
• One Two-wire Interface (TWI)
®
– Master, Multi-Master and Slave Mode Support, All Atmel
– General Call Supported in Slave Mode
Two-wire EEPROMs and I2C compatible Devices Supported
• One 4-channel 10-bit Analog-to-Digital Converter, Four Channels Multiplexed with Digital I/Os
• SAM-BA
• IEEE
®
Boot Assistant
– Default Boot Program
– Interface with SAM-BA Graphic User Interface
– In Application Programming Function (IAP)
®
1149.1 JTAG Boundary Scan on All Digital Pins
• Four High-current Drive I/O lines, Up to 4 mA Each
• Power Supplies
– Embedded 1.8V Regulator, Drawing up to 60 mA for the Core with Programmable Output Voltage
– Single Supply 1.8V - 3.6V
• Fully Static Operation: Up to 36 MHz at 85°C, Worst Case Conditions
• Available in a 128-lead LQFP Green and a 144-ball LFBGA Green Package
2
AT91SAM7L128/64 Preliminary
6257AS–ATARM–28-Feb-08
1.Description
AT91SAM7L128/64 Preliminary
The AT91SAM7L128/64 are low power members of Atmel’s Smart ARM Microcontroller family
based on the 32-bit ARM7
• AT91SAM7L128 features a 128 Kbyte high-speed Flash and a total of 6 Kbytes SRAM.
• AT91SAM7L64 features a 64 Kbyte high-speed Flash and a total of 6 Kbytes SRAM.
They also embed a large set of peripherals, including a Segment LCD Controller and a complete
set of system functions minimizing the number of external components.
These devices provide an ideal migration path for 8-bit microcontroller users looking for additional performance, extended memory and higher levels of system integration with strong
constraints on power consumption.
Featuring innovative power reduction modes and ultra-low-power operation, the
AT91SAM7L128/64 is tailored for battery operated applications such as calculators, toys,
remote controls, medical devices, mobile phone accessories and wireless sensors.
The embedded Flash memory can be programmed in-system via the JTAG-ICE interface or via
a parallel interface on a production programmer prior to mounting. Built-in lock bits and a security bit protect the firmware from accidental overwrite and preserve its confidentiality.
The AT91SAM7L128/64 system controller includes a reset controller capable of managing the
power-on sequence of the microcontroller and the complete system. Correct device operation
can be monitored by a built-in brownout detector and a watchdog running off an integrated
oscillator.
™
RISC processor and high-speed Flash memory.
By combining the ARM7TDMI processor with on-chip Flash and SRAM, and a wide range of
peripheral functions, including USART, SPI, External Bus Timer Counter, RTC and Analog-toDigital Converters on a monolithic chip, the AT91SAM7L128/64 microcontroller is a powerful
device that provides a flexible, cost-effective solution to many embedded control applications.
VDDOUTVoltage Regulator OutputPower
VDDCORECore Power SupplyPowerConnected externally to VDDOUT
VDDINLCDCharge Pump Power SupplyPowerFrom 1.80V to 3.6V
VDD3V6Charge Pump OutputPower
VDDLCDLCD Voltage Regulator Power SupplyPower
Table 4-2.SAM7L128/64 Pinout for 144-ball LFBGA Package
PinSignal NamePinSignal NamePinSignal NamePinSignal Name
A1XOUTD1PA6G1VDD3V6K1CAPM1
A2XIND2PA5G2PA17K2VDDIO2
A3VDDCORED3PA7G3PA16K3VDDIO2
A4GNDD4NCG4PA15K4PA25
A5PLLRCGNDD5PC26/PGMD15G5GNDK5PB3
A6PLLRCD6PC25/PGMD14G6GNDK6PB10
A7PC24/PGMD13D7PC21/PGMD11G7GNDK7PB13
A8PC23//PGMD12D8PC18/PGMD7G8VDDIO1K8PB15
A9PC17/PGMD6D9PC6/PGMNVALIDG9NRSTK9PB20
A10NCD10PC7/PGMM0G10TMSK10VDDCORE
A11PC14D11PC4/PGMRDYG11ERASEK11VDDCORE
A12PC12D12PC3/PGMNCMDG12VDDOUTK12AD2
B1PA1E1VDDIO2H1CAPM2L1CAPP1
B2PA0E2PA10H2PA22L2VDDIO2
B3NRSTBE3PA9H3PA19L3VDDIO2
B4TESTE4PA11H4PA18L4PB4
B5TDOE5PA8H5GNDL5PB5
B6PC27E6VDDIO1H6GNDL6PB11
B7GNDE7VDDIO1H7GNDL7PB12
B8NCE8VDDIO1H8VDDCOREL8PB17
B9PC20/PGMD9E9PC5/PGMNOEH9PC29L9PB19
B10PC15/PGMD4E10PC0/PGMEN0H10VDDCOREL10PB22
B11PC13/PGMD2E11PC2/PGMEN2H11PC28L11PB23
B12PC11/PGMD0E12VDDCOREH12AD0L12AD3
C1PA3F1VDDLCDJ1CAPP2M1VDDINLCD
C2PA4F2PA13J2PA23M2PB0
C3PA2F3PA14J3PA24M3PB1
C4CLKINF4PA12J4PA21M4PB2
C5FWUPF5GNDJ5PA20M5PB6
C6TDIF6GNDJ6PB8M6PB7
C7PC22/PGMD11F7GNDJ7PB9M7VDDIO2
C8PC19/PGMD8F8VDDIO1J8PB14M8PB16
C9PC16/PGMD5F9TCKJ9VDDCOREM9PB18
C10PC9/PGMM2F10JTAGSELJ10VDDCOREM10PB21
C11PC10/PGMM3F11PC1/PGMEN1J11VDDCOREM11GND
C12PC8/PGMM1F12VDDIO1J12AD1M12ADVREF
6257AS–ATARM–28-Feb-08
11
5.Power Considerations
5.1Power Supplies
The AT91SAM7L128/64 has six types of power supply pins and integrates a voltage regulator,
allowing the device to be supplied with only one voltage. The six power supply pin types are:
• VDDOUT pin. It is the output of the voltage regulator. Output voltage can be programmed
from 1.55V to 1.80V by steps of 100 mV.
• VDDIO1 pin. It powers the voltage regulator input and all the PIOC IO lines (1.8V-3.6V).
VDDIO1 voltage must be above 2.2V to allow the chip to start-up (POR threshold).
• VDDIO2 pin. It powers the PIOA and PIOB I/O lines (1.8V-3.6V). It is also the output of the
LCD voltage regulator. The output voltage can be programmed from 2.4V to 3.4V with 16
steps.
• VDDCORE pin. It powers the logic of the device, the PLL, the 2 MHz Fast RC oscillator, the
ADC and the Flash memory. It must be connected to the VDDOUT pin with a decoupling
capacitor.
• VDDINLCD pin. It powers the charge pump which can be used as LCD Regulator power
supply. Voltage ranges from 1.8V to 3.6V.
No separate ground pins are provided for the different power supplies. Only GND pins are provided and should be connected as shortly as possible to the system ground plane.
5.2Low Power Modes
The various low power modes of the AT91SAM7L128/64 are described below.
5.2.1Off (Power Down) Mode
In off (power down) mode, the entire chip is shut down. Only a low level on the FWUP pin can
wake up the AT91SAM7L128/64 (by a push-button for example). Internally, except for the
FWUP pin through VDDIO1, none of the chip is supplied.
Once the internal main power switch has been activated by FWUP, the 32 kHz RC oscillator and
the Supply Controller are supplied, then the core and peripherals are reset and the
AT91SAM7L128/64 enters in active mode. Refer to the System Controller Block Diagram, Fig-
ure 9-1 on page 30.
At first power-up, if FWUP is tied high, the device enters off mode. The PIOA and PIOB pins’
states are undefined. PIOC and NRST pins are initialized as high impedance inputs.
Once the device enters active mode, the core and the parallel input/output controller are reset.
Then, if the chip enters off mode, PIOA and PIOB pins are configured as inputs with pull-ups and
PIOC pins as high impedance inputs.
Current consumption in this mode is typically 100 nA.
5.2.2Backup Mode
In backup mode, the supply controller, the zero-power power-on reset and the 32 kHz oscillator
(software selectable internal RC or external crystal) remain running. The voltage regulator and
the core are switched off.
Prior to entering this mode, the RTC, the backup SRAM, the brownout detector, the charge
pump, the LCD voltage regulator and the LCD controller can be set on or off separately.
12
AT91SAM7L128/64 Preliminary
6257AS–ATARM–28-Feb-08
5.2.3Wait Mode
5.2.4Idle Mode
5.2.5Active Mode
AT91SAM7L128/64 Preliminary
Table 5-1 on page 13 shows an example of backup mode with backup SRAM and RTC running.
When entering this mode, all PIO pins keep their previous states, they are reinitialized as inputs
with pull-ups at wake-up.
The AT91SAM7L128/64 can be awakened from this mode through the FWUP pin, an event on
WUP0-15 pins, or an RTC alarm or brownout event.
Current consumption is 3.5 µA typical without the LCD controller running.
In wait mode, the voltage regulator must be set in deep mode. Voltage regulator output voltage
should be set at a minimum voltage to decrease leakage in the digital core. No clock is running
in the core. From this mode, a fast start-up is available (refer to Section 5.4 ”Fast Start-Up”).
In this mode, all PIO pins keep their previous states.
The processor is in idle mode which means that the processor has no clock but the Master clock
(MCK) remains running. The processor can also be wakened by an IRQ or FIQ.
The total dynamic power consumption is less than 30 mA at full speed (36 MHz) when running
out of the Flash. The power management controller can be used to adapt the frequency and the
regulator output voltage can be adjusted to optimize power consumption.
5.2.6Low Power Mode Summary Table
The modes detailed above are the main modes. In off mode, no options are available but once
the shutdown controller is set to on, each part can be set to on, or off, separately and more
modes can be active. The table below shows a summary of the configurations of the low power
modes.
Table 5-1.Low Power Mode Configuration Summary
SUPC,
32 kHz
Oscillator,
ModeFWUP
Off ModeXFWUP pin100 nA typ< 5 ms
Backup Mode
(with SRAM and
RTC)
Wait Mode (with
SRAM and RTC)
Idle ModeXXXXX
XXXX
XXXX XX
PORRTC
Notes:1. When considering wake-up time, the time required to start the PLL is not taken into account. Once started, the
AT91SAM7128/L64 works with the 2 MHz Fast RC oscillator. The user has to add the PLL start-up time if it is needed in the
system. The wake-up time is defined as the time taken for wake up until the first instruction is fetched.
2. The external LCD current consumption and the external loads on PIOs are not taken into account in the calculation.
3. BOD current consumption is not included.
4. Depends on MCK frequency.
Backup
SRAM
Regulator
(Deep Mode)Core
Potential Wake-up
SourcesConsumption
FWUP pin
WUP0-15 pins
BOD alarm
RTC alarm
Fast start-up through
WUP0-15 pins
IRQs
FIQ
(2)(3)
Wake-up Time
3.5 µA typ< 0.5 ms
9 µA typ
(4)(4)
< 2 µs (in case of
fast start-up)
(1)
6257AS–ATARM–28-Feb-08
13
5.3Wake-up Sources
The wake-up events allow the device to exit from backup mode. When a wake-up event is
detected, the supply controller performs a sequence which automatically reenables the voltage
regulator and the backup SRAM power supply, if it is not already enabled.
Figure 5-1.Wake Up Sources
FWUP
WKUP0
WKUP1
WKUP15
brown_out
rtc_alarm
Falling
Edge
Detector
WKUPT0
Falling/Rising
Edge
Detector
WKUPT1
Falling/Rising
Edge
Detector
WKUPT15
Falling/Rising
Edge
Detector
BODEN
RTCEN
FWUPDBC
FWUPENFWUP
WKUPEN0
WKUPEN1
WKUPEN15
WKUPIS0
WKUPIS1
WKUPIS15
SLCK
Debouncer
WKUPDBC
SLCK
Debouncer
Core
Supply
Restart
WKUPS
5.4Fast Start-Up
14
AT91SAM7L128/64 Preliminary
The SAM7L128/64 allows the processor to restart in a few microseconds while the processor is
in wait mode. A fast start up can occur upon detection of a low level on one of the 16 wake-up
inputs.
The fast restart circuitry, as shown in Figure 5-2, is fully asynchronous and provides a fast startup signal to the power management controller. As soon as the fast start-up signal is asserted,
the PMC automatically restarts the embedded 2 MHz Fast RC oscillator, switches the master
clock on this 2 MHz clock and reenables the processor clock, if it is disabled.
6257AS–ATARM–28-Feb-08
Figure 5-2.Fast Start-Up Circuitry
FSTT0
WKUP0
FSTT1
AT91SAM7L128/64 Preliminary
5.5Voltage Regulator
The AT91SAM7L128/64 embeds a voltage regulator that is managed by the supply controller.
This internal regulator is only intended to supply the internal core of AT91SAM7L128/64. It features three different operating modes:
• In normal mode, the voltage regulator consumes less than 30 µA static current and draws
• In deep mode, the current consumption of the voltage regulator is less than 8.5 µA. It can
• In shutdown mode, the voltage regulator consumes less than 1 µA while its output is driven
Furthermore, in normal and deep modes, the regulator output voltage can be programmed by
software with 4 different steps within the range of 1.55V to 1.80V. The default output voltage is
1.80V in both normal and deep modes. The voltage regulator can regulate 1.80V output voltage
as long as the input voltage is above 1.95V. Below 1.95V input voltage, the output voltage
remains above 1.65V.
WKUP1
FSTT15
WKUP15
fast_restart
60 mA of output current.
draw up to 1 mA of output current. The default output voltage is 1.80V and the start-up time to
reach normal mode is inferior to 400 µs.
internally to GND. The default output voltage is 1.80V and the start-up time to reach normal
mode is inferior to 400 µs.
6257AS–ATARM–28-Feb-08
Output voltage adjusting ability allows current consumption reduction on VDDCORE and also
enables programming a lower voltage when the input voltage is lower than 1.95V.
At 1.55V, the Flash is still functional but with slower read access time. Programming or erasing
the Flash is not possible under these conditions. MCK maximum frequency is 25 MHz with
VDDCORE at 1.55V (1.45V minimum).
The regulator has an indicator that can be used by the software to show that the output voltage
has the correct value (output voltage has reached at least 80% of the typical voltage). This flag
is used by the supply controller. This feature is only possible when the voltage regulator is in
normal mode at 1.80V.
Adequate output supply decoupling is mandatory for VDDOUT in order to reduce ripple and
avoid oscillations. One external 2.2 µF (or 3.3 µF) X7R capacitor must be connected between
VDDOUT and GND.
15
Loading...
+ 32 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.