The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

AT91 Thumb-based Microcontrollers AT91SAM7S512 AT91SAM7S256 AT91SAM7S1


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



High-performance 32-bit RISC Architecture High-density 16-bit Instruction Leader MIPS/Watt EmbeddedICEIn-circuit Emulation, Debug Communication Channel Support Internal High-speed Flash Kbytes (AT91SAM7S512) Organized Contiguous Banks 1024 Pages Bytes (Dual Plane) Kbytes (AT91SAM7S256) Organized 1024 Pages Bytes (Single Plane) Kbytes (AT91SAM7S128) Organized Pages Bytes (Single Plane) Kbytes (AT91SAM7S64) Organized Pages Bytes (Single Plane) Kbytes (AT91SAM7S321/32) Organized Pages Bytes (Single Plane) 16Kbytes (AT91SAM7S161/16 Organized Pages Bytes (Single Plane) Single Cycle Access Worst Case Conditions Prefetch Buffer Optimizing Thumb Instruction Execution Maximum Speed Page Programming Time: Including Page Auto-erase, Full Erase Time: 10,000 Write Cycles, 10-year Data Retention Capability, Sector Lock Capabilities, Flash Security Fast Flash Programming Interface High Volume Production Internal High-speed SRAM, Single-cycle Access Maximum Speed Kbytes (AT91SAM7S512/256) Kbytes (AT91SAM7S128) Kbytes (AT91SAM7S64) Kbytes (AT91SAM7S321/32) Kbytes (AT91SAM7S161/16) Memory Controller (MC) Embedded Flash Controller, Abort Status Misalignment Detection Reset Controller (RSTC) Based Power-on Reset Low-power Factory-calibrated Brown-out Detector Provides External Reset Signal Shaping Reset Source Status Clock Generator (CKGR) Low-power Oscillator, On-chip Oscillator Power Management Controller (PMC) Software Power Optimization Capabilities, Including Slow Clock Mode (Down Idle Mode Three Programmable External Clock Signals Advanced Interrupt Controller (AIC) Individually Maskable, Eight-level Priority, Vectored Interrupt Sources (AT91SAM7S32/16) External Interrupt Source(s) Fast Interrupt Source, Spurious Interrupt Protected Debug Unit (DBGU) 2-wire UART Support Debug Communication Channel interrupt, Programmable 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 Interrupt Signals System Counter Stopped While Processor Debug State Idle Mode
AT91 Thumb-based Microcontrollers AT91SAM7S512 AT91SAM7S256 AT91SAM7S128 AT91SAM7S64 AT91SAM7S321 AT91SAM7S32 AT91SAM7S161 AT91SAM7S16 Summary
NOTE: This summary document. complete document available Atmel website www.atmel.com.
6175FS-ATARM-03-Dec-07
Real-time Timer (RTT)
32-bit Free-running Counter with Alarm Runs Internal Oscillator Parallel Input/Output Controller (PIOA) Thirty-two twenty-one (AT91SAM7S32/16) Programmable Lines Multiplexed with Peripheral I/Os Input Change Interrupt Capability Each Line Individually Programmable Open-drain, Pull-up resistor Synchronous Output Eleven Nine (AT91SAM7S32/16) Peripheral Controller (PDC) Channels Full Speed Mbits Second) Device Port (Except AT91SAM7S32/16). On-chip Transceiver, 328-byte Configurable Integrated FIFOs Synchronous Serial Controller (SSC) Independent Clock Frame Sync Signals Each Receiver Transmitter Analog Interface Support, Time Division Multiplex Support High-speed Continuous Data Stream Capabilities with 32-bit Data Transfer (AT91SAM7S32/16) Universal Synchronous/Asynchronous Receiver Transmitters (USART) Individual Baud Rate Generator, IrDA® Infrared Modulation/Demodulation Support ISO7816 T0/T1 Smart Card, Hardware Handshaking, RS485 Support Full Modem Line Support USART1 Master/Slave Serial Peripheral Interface (SPI) 16-bit Programmable Data Length, Four External Peripheral Chip Selects Three-channel 16-bit Timer/Counter (TC) Three External Clock Input Multi-purpose Pins Channel External Clock Input Multi-purpose Pins first Channels Only (AT91SAM7S32/16) Double Generation, Capture/Waveform Mode, Up/Down Capability Four-channel 16-bit Controller (PWMC) Two-wire Interface (TWI) Master Mode Support Only, Two-wire Atmel EEPROMs Compatible Devices Supported Master, Multi-Master Slave Mode Support, Two-wire Atmel EEPROMs Compatible Devices Supported (AT91SAM7S161/16) 8-channel 10-bit Analog-to-Digital Converter, Four Channels Multiplexed with Digital I/Os SAM-BABoot Assistant Default Boot program Interface with SAM-BA Graphic User Interface IEEE® 1149.1 JTAG Boundary Scan Digital Pins 5V-tolerant I/Os, including Four High-current Drive lines, Each (AT91SAM7S161/16 I/Os 5V-tolerant) Power Supplies Embedded 1.8V Regulator, Drawing Core External Components 3.3V 1.8V VDDIO Lines Power Supply, Independent 3.3V VDDFLASH Flash Power Supply 1.8V VDDCORE Core Power Supply with Brown-out Detector Fully Static Operation: 1.65V 85°C Worst Case Conditions Available 64-lead LQFP Green 64-pad Green Package 48-lead LQFP Green 48-pad Green Package (AT91SAM7S32/16)
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Description
Atmel's AT91SAM7S series pincount Flash microcontrollers based 32-bit RISC processor. features high-speed Flash SRAM, large peripherals, including device (except AT91SAM7S32 AT91SAM7S16), complete system functions minimizing number external components. device ideal migration path 8-bit microcontroller users looking additional performance extended memory. embedded Flash memory programmed in-system JTAG-ICE interface parallel interface production programmer prior mounting. Built-in lock bits security protect firmware from accidental overwrite preserves confidentiality. AT91SAM7S Series system controller includes reset controller capable managing power-on sequence microcontroller complete system. Correct device operation monitored built-in brownout detector watchdog running integrated oscillator. AT91SAM7S Series general-purpose microcontrollers. Their integrated Device port makes them ideal devices peripheral applications requiring connectivity cellular phone. Their aggressive price point high level integration pushes their scope into cost-sensitive, high-volume consumer market.
Configuration Summary AT91SAM7S512, AT91SAM7S256, AT91SAM7S128, AT91SAM7S64, AT91SAM7S321, AT91SAM7S32, AT91SAM7S161 AT91SAM7S16
AT91SAM7S512, AT91SAM7S256, AT91SAM7S128, AT91SAM7S64, AT91SAM7S321, AT91SAM7S32, AT91SAM7S161 AT91SAM7S16 differ memory size, peripheral package. Table summarizes configuration devices. Except AT91SAM7S32/16, other AT91SAM7S devices package pinout compatible.
Table 1-1.
Configuration Summary
Flash Organization SRAM dual plane single plane single plane single plane single plane single plane single plane single plane External Interrupt Device Channels Channels Tolerant Lines Port USART Source 2(1) 2(1) 2(1) 2(2) 2(2) 3(3) 3(3)
Device
Flash
Package LQFP/ LQFP/ LQFP/ LQFP/ LQFP/ LQFP/ LQFP LQFP/
AT91SAM7S512 Kbytes Master AT91SAM7S256 Kbytes Master AT91SAM7S128 Kbytes Master AT91SAM7S64 Kbytes AT91SAM7S321 Kbytes AT91SAM7S32 Kbytes AT91SAM7S161 Kbytes AT91SAM7S16 Kbytes Master Master Master Master/ Slave Master/ Slave
Kbytes Kbytes Kbytes Kbytes Kbytes Kbytes Kbytes Kbytes
present 2(2)
present
Notes:
Fractional Baud Rate. Full modem line support USART1. Only channels accessible through PIO.
6175FS-ATARM-03-Dec-07
Block Diagram
Figure 2-1. AT91SAM7S512/256/128/64/321/161 Block Diagram
JTAGSEL
JTAG SCAN
ARM7TDMI Processor
Voltage Regulator
VDDIN VDDOUT VDDCORE
System Controller
IRQ0-IRQ1
Memory Controller Embedded Flash Controller Address Decoder Misalignment Detection
VDDIO
SRAM
64/32/16/8/4 Kbytes
PCK0-PCK2 PLLRC XOUT
RCOSC
Abort Status
VDDFLASH
Flash
512/256/ 128/64/32/16 Kbytes
ERASE
VDDCORE
Reset Controller
Peripheral Bridge
VDDCORE NRST
Peripheral Data Controller
Channels
Fast Flash Programming Interface
DRXD DTXD
PGMRDY PGMNVALID PGMNOE PGMCK PGMM0-PGMM3 PGMD0-PGMD15 PGMNCMD PGMEN0-PGMEN2
SAM-BA
FIFO
Transceiver
DBGU
Device
PIOA
RXD0 TXD0 SCK0 RTS0 CTS0 RXD1 TXD1 SCK1 RTS1 CTS1 DCD1 DSR1 DTR1 NPCS0 NPCS1 NPCS2 NPCS3 MISO MOSI SPCK ADTRG ADVREF
PWMC
USART0
USART1
Timer Counter
PWM0 PWM1 PWM2 PWM3 TCLK0 TCLK1 TCLK2 TIOA0 TIOB0 TIOA1 TIOB1 TIOA2 TIOB2 TWCK
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Figure 2-2. AT91SAM7S32/16 Block Diagram
JTAGSEL
JTAG SCAN
ARM7TDMI Processor
Voltage Regulator
VDDIN VDDOUT
System Controller
IRQ0
Memory Controller Embedded Flash Controller Abort Status Misalignment Detection Address Decoder
VDDCORE VDDIO
SRAM Kbytes
PCK0-PCK2 PLLRC XOUT
VDDFLASH
RCOSC
Flash 32/16 Kbytes
Peripheral Bridge
ERASE
VDDCORE
Reset Controller
VDDCORE
NRST
Peripheral Controller
Channels
Fast Flash Programming Interface
PGMRDY PGMNVALID PGMNOE PGMCK PGMM0-PGMM3 PGMD0-PGMD7 PGMNCMD PGMEN0-PGMEN2
DRXD DTXD
DBGU PIOA
SAM-BA
PWMC
RXD0 TXD0 SCK0 RTS0 CTS0 NPCS0 NPCS1 NPCS2 NPCS3 MISO MOSI SPCK ADTRG ADVREF
USART0 Timer Counter
PWM0 PWM1 PWM2 PWM3 TCLK0
TIOA0 TIOB0 TIOA1 TIOB1
TWCK
6175FS-ATARM-03-Dec-07
Signal Description
Table 3-1.
Signal Name
Signal Description List
Function Power Type Active Level Comments
VDDIN VDDOUT VDDFLASH VDDIO VDDCORE VDDPLL
Voltage Regulator Power Supply Input Voltage Regulator Output Flash Power Supply Lines Power Supply Core Power Supply Ground
Power Power Power Power Power Power Ground
3.6V 1.85V nominal 3.0V 3.6V 3.0V 3.6V 1.65V 1.95V 1.65V 1.95V 1.65V 1.95V
Clocks, Oscillators PLLs XOUT PLLRC PCK0 PCK2 Main Oscillator Input Main Oscillator Output Filter Programmable Clock Output Input Output Input Output JTAG JTAGSEL Test Clock Test Data Test Data Test Mode Select JTAG Selection Input Input Output Input Input Flash Memory ERASE Flash Configuration Bits Erase Command Input High Pull-down resistor(1) pull-up resistor Pull-down resistor(1) pull-up resistor pull-up resistor
Reset/Test NRST Microcontroller Reset Test Mode Select Input Debug Unit DRXD DTXD Debug Receive Data Debug Transmit Data IRQ0 IRQ1 External Interrupt Inputs Fast Interrupt Input PA31 Parallel Controller Pulled-up input reset PA20 only AT91SAM7S32/16 Input Input IRQ1 present AT91SAM7S32/16 Input Output High Open-drain with pull-Up resistor Pull-down resistor(1)
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Table 3-1.
Signal Name
Signal Description List (Continued)
Function Type Device Port Active Level Comments
Device Port Data Device Port Data
Analog Analog USART
present AT91SAM7S32/16 present AT91SAM7S32/16
SCK0 SCK1 TXD0 TXD1 RXD0 RXD1 RTS0 RTS1 CTS0 CTS1 DCD1 DTR1 DSR1
Serial Clock Transmit Data Receive Data Request Send Clear Send Data Carrier Detect Data Terminal Ready Data Ready Ring Indicator
Input Output Input Input Output Input Input Synchronous Serial Controller
SCK1 present AT91SAM7S32/16 TXD1 present AT91SAM7S32/16 RXD1 present AT91SAM7S32/16 RTS1 present AT91SAM7S32/16 CTS1 present AT91SAM7S32/16 present AT91SAM7S32/16 present AT91SAM7S32/16 present AT91SAM7S32/16 present AT91SAM7S32/16
Transmit Data Receive Data Transmit Clock Receive Clock Transmit Frame Sync Receive Frame Sync
Output Input Timer/Counter
TCLK0 TCLK2 TIOA0 TIOA2 TIOB0 TIOB2
External Clock Inputs Line Line
Input Controller
TCLK1 TCLK2 present AT91SAM7S32/16 TIOA2 present AT91SAM7S32/16 TIOB2 present AT91SAM7S32/16
PWM0 PWM3
Channels
Output
MISO MOSI SPCK NPCS0 NPCS1-NPCS3
Master Slave Master Slave Serial Clock Peripheral Chip Select Peripheral Chip Select
Output
6175FS-ATARM-03-Dec-07
Table 3-1.
Signal Name
Signal Description List (Continued)
Function Type Two-Wire Interface Active Level Comments
TWCK
Two-wire Serial Data Two-wire Serial Clock
Analog-to-Digital Converter
AD0-AD3 AD4-AD7 ADTRG ADVREF
Analog Inputs Analog Inputs Trigger Reference
Analog Analog Input Analog Fast Flash Programming Interface
Digital pulled-up inputs reset Analog Inputs
PGMEN0-PGMEN2 PGMM0-PGMM3 PGMD0-PGMD15 PGMRDY PGMNVALID PGMNOE PGMCK PGMNCMD Note:
Programming Enabling Programming Mode Programming Data Programming Ready Data Direction Programming Read Programming Clock Programming Command
Input Input Output Output Input Input Input High PGMD0-PGMD7 only AT91SAM7S32/16
Refer Section "I/O Lines Considerations" page
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Package Pinout
AT91SAM7S512/256/128/64/321 available 64-lead LQFP 64-pad package. AT91SAM7S161 available 64-Lead LQFP package. AT91SAM7S32/16 available 48-lead LQFP 48-pad package.
64-lead LQFP 64-pad Package Outlines
Figure Figure show orientation 64-lead LQFP 64-pad package. detailed mechanical description given section Mechanical Characteristics full datasheet. Figure 4-1. 64-lead LQFP Package (Top View)
Figure 4-2.
64-pad Package (Top View)
6175FS-ATARM-03-Dec-07
64-lead LQFP 64-pad Pinout
AT91SAM7S512/256/128/64/321/161 Pinout(1)
ADVREF VDDIN VDDOUT PA17/PGMD5/AD0 PA18/PGMD6/AD1 PA21/PGMD9 VDDCORE PA19/PGMD7/AD2 PA22/PGMD10 PA23/PGMD11 PA20/PGMD8/AD3 VDDIO PA16/PGMD4 PA15/PGMD3 PA14/PGMD2 PA13/PGMD1 PA24/PGMD12 VDDCORE PA25/PGMD13 PA26/PGMD14 PA12/PGMD0 PA11/PGMM3 PA10/PGMM2 PA9/PGMM1 PA8/PGMM0 PA7/PGMNVALID PA6/PGMNOE PA5/PGMRDY PA4/PGMNCMD PA27/PGMD15 PA28 NRST PA29 PA30 PA2/PGMEN2 VDDIO PA1/PGMEN1 PA0/PGMEN0 JTAGSEL PA31 VDDCORE ERASE VDDIO VDDFLASH XOUT XIN/PGMCK PLLRC VDDPLL
Table 4-1.
Note:
bottom package must connected ground.
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
48-lead LQFP 48-pad Package Outlines
Figure Figure show orientation 48-lead LQFP 48-pad package. detailed mechanical description given section Mechanical Characteristics full datasheet. Figure 4-3. 48-lead LQFP Package (Top View)
Figure 4-4.
48-pad Package (Top View)
48-lead LQFP 48-pad Pinout
AT91SAM7S32/16 Pinout(1)
ADVREF VDDIN VDDOUT PA17/PGMD5/AD0 PA18/PGMD6/AD1 PA19/PGMD7/AD2 PA20/AD3 VDDIO PA16/PGMD4 PA15/PGMD3 PA14/PGMD2 PA13/PGMD1 VDDCORE PA12/PGMD0 PA11/PGMM3 PA10/PGMM2 PA9/PGMM1 PA8/PGMM0 PA7/PGMNVALID PA6/PGMNOE PA5/PGMRDY PA4/PGMNCMD NRST PA2/PGMEN2 VDDIO PA1/PGMEN1 PA0/PGMEN0 JTAGSEL VDDCORE ERASE VDDFLASH XOUT XIN/PGMCK PLLRC VDDPLL
Table 4-2.
Note:
bottom package must connected ground.
6175FS-ATARM-03-Dec-07
Power Considerations
Power Supplies
AT91SAM7S Series types power supply pins integrates voltage regulator, allowing device supplied with only voltage. power supply types are: VDDIN pin. powers voltage regulator ADC; voltage ranges from 3.0V 3.6V, 3.3V nominal. VDDOUT pin. output 1.8V voltage regulator. VDDIO pin. powers lines transceivers; dual voltage range supported. Ranges from 3.0V 3.6V, 3.3V nominal from 1.65V 1.95V, 1.8V nominal. Note that supplying less than 3.0V VDDIO prevents transceivers. VDDFLASH pin. powers part Flash required Flash operate correctly; voltage ranges from 3.0V 3.6V, 3.3V nominal. VDDCORE pins. They power logic device; voltage ranges from 1.65V 1.95V, 1.8V typical. connected VDDOUT with decoupling capacitor. VDDCORE required device, including embedded Flash, operate correctly. During startup, core supply voltage (VDDCORE) slope must superior equal 6V/ms. VDDPLL pin. powers oscillator PLL. connected directly VDDOUT pin. separate ground pins provided different power supplies. Only pins provided should connected shortly possible system ground plane. order decrease current consumption, voltage regulator used, VDDIN, ADVREF, AD4, AD5, should connected GND. this case VDDOUT should left unconnected.
Power Consumption
AT91SAM7S Series static current less than VDDCORE 25°C, including oscillator, voltage regulator power-on reset. When brown-out detector activated, static current added. dynamic power consumption VDDCORE less than full speed when running Flash. Under same conditions, power consumption VDDFLASH does exceed
Voltage Regulator
AT91SAM7S Series embeds voltage regulator that managed System Controller. Normal Mode, voltage regulator consumes less than static current draws output current. voltage regulator also Low-power Mode. this mode, consumes less than static current draws output current. Adequate output supply decoupling mandatory VDDOUT reduce ripple avoid oscillations. best achieve this capacitors parallel: external capacitor must connected between VDDOUT close chip possible. external capacitor must connected between VDDOUT GND.
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Adequate input supply decoupling mandatory VDDIN order improve startup stability reduce source voltage drop. input decoupling capacitor should placed close chip. example, capacitors used parallel: X7R.
Typical Powering Schematics
AT91SAM7S Series supports 3.3V single supply mode. internal regulator connected 3.3V source output feeds VDDCORE VDDPLL. Figure shows power schematics used bus-powered systems. Figure 5-1. 3.3V System Single Power Supply Schematic
VDDFLASH Power Source ranges from 4.5V (USB)
DC/DC Converter
VDDIO
VDDIN 3.3V VDDOUT Voltage Regulator
VDDCORE
VDDPLL
6175FS-ATARM-03-Dec-07
Lines Considerations
JTAG Port Pins
TMS, schmitt trigger inputs. tolerant, not. TMS, integrate pull-up resistor. output, driven VDDIO, pull-up resistor. JTAGSEL used select JTAG boundary scan when asserted high level. JTAGSEL integrates permanent pull-down resistor about GND. eliminate risk spuriously entering JTAG boundary scan mode noise JTAGSEL, should tied externally boundary scan used, place external value resistor (such
Test
used manufacturing test, fast programming mode SAM-BA Boot Recovery AT91SAM7S Series when asserted high. integrates permanent pull-down resistor about GND. eliminate risk entering test mode noise pin, should tied FFPI used, place external value resistor (such enter fast programming mode, pins should tied high tied low. enter SAM-BA Boot Recovery, PA0, pins should tied high least seconds. Driving high level while driven leads unpredictable results.
Reset
NRST bidirectional with open drain output buffer. handled on-chip reset controller driven provide reset signal external components asserted externally reset microcontroller. There constraint length reset pulse, reset controller guarantee minimum pulse length. This allows connection simple push-button NRST system user reset, signal NRST reset components system. NRST integrates permanent pull-up resistor VDDIO.
ERASE
ERASE used re-initialize Flash content some bits. integrates permanent pull-down resistor about GND. eliminate risk erasing Flash noise ERASE pin, shoul tied externally GND, which prevents erasing Flash from applicatiion, place external value resistor (such
Controller Lines
lines PA31on AT91SAM7S512/256/128/64/321 (PA0 PA20 AT91SAM7S32) 5V-tolerant integrate programmable pull-up resistor.
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
lines PA31 AT91SAM7S161 (PA0 PA20 AT91SAM7S16) 5V-tolerant integrate programmable pull-up resistor. Programming this pull-up resistor performed independently each line through controllers. 5V-tolerant means that lines drive voltage level according VDDIO, driven with voltage 5.5V. However, driving line with voltage over VDDIO while programmable pull-up resistor enabled will create current path through pull-up resistor from line VDDIO. Care should taken, particular reset, lines default input with pull-up resistor enabled reset.
Line Drive Levels
lines high-drive current capable. Each these lines drive permanently. remaining lines draw only However, total current drawn lines cannot exceed (100 AT91SAM7S32/16).
6175FS-ATARM-03-Dec-07
Processor Architecture
ARM7TDMI Processor
RISC processor based ARMv4T Neumann architecture Runs MHz, providing MIPS/MHz instruction sets ARM® high-performance 32-bit instruction Thumb® high code density 16-bit instruction Three-stage pipeline architecture Instruction Fetch Instruction Decode Execute
Debug Test Integrated EmbeddedICE(embedded in-circuit emulator) watchpoint units Test access port accessible through JTAG protocol Debug communication channel Debug Unit Two-pin UART Debug communication channel interrupt handling Chip Register IEEE1149.1 JTAG Boundary-scan digital pins
Memory Controller
Arbiter Handles requests from ARM7TDMI Peripheral Controller Address decoder provides selection signals Three internal Mbyte memory areas Mbyte embedded peripheral area Abort Status Registers Source, Type parameters access leading abort saved Facilitates debug detection pointers Misalignment Detector Alignment checking data accesses Abort generation case misalignment Remap Command Remaps SRAM place embedded non-volatile memory Allows handling dynamic exception vectors Embedded Flash Controller Embedded Flash interface, three programmable wait states
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Prefetch buffer, buffering anticipating 16-bit requests, reducing required wait states Key-protected program, erase lock/unlock sequencer Single command erasing, programming locking operations Interrupt generation case forbidden operation
Peripheral Controller
Handles data transfer between peripherals memories Eleven channels: AT91SAM7S512/256/128/64/321/161 Nine channels: AT91SAM7S32/16 each USART Debug Unit Serial Synchronous Controller Serial Peripheral Interface Analog-to-digital Converter arbitration overhead Master Clock cycle needed transfer from memory peripheral Master Clock cycles needed transfer from peripheral memory Next Pointer management reducing interrupt latency requirements
6175FS-ATARM-03-Dec-07
Memories
AT91SAM7S512
Kbytes Flash Memory, dual plane contiguous banks 1024 pages bytes Fast access time, single-cycle access Worst Case conditions Page programming time: including page auto-erase Page programming without auto-erase: Full chip erase time: 10,000 write cycles, 10-year data retention capability lock bits, protecting sectors pages Protection Mode secure contents Flash Kbytes Fast SRAM Single-cycle access full speed
AT91SAM7S256
Kbytes Flash Memory, single plane 1024 pages bytes Fast access time, single-cycle access Worst Case conditions Page programming time: including page auto-erase Page programming without auto-erase: Full chip erase time: 10,000 write cycles, 10-year data retention capability lock bits, protecting sectors pages Protection Mode secure contents Flash Kbytes Fast SRAM Single-cycle access full speed
AT91SAM7S128
Kbytes Flash Memory, single plane pages bytes Fast access time, single-cycle access Worst Case conditions Page programming time: including page auto-erase Page programming without auto-erase: Full chip erase time: 10,000 write cycles, 10-year data retention capability lock bits, protecting sectors pages Protection Mode secure contents Flash Kbytes Fast SRAM Single-cycle access full speed
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
AT91SAM7S64
Kbytes Flash Memory, single plane pages bytes Fast access time, single-cycle access Worst Case conditions Page programming time: including page auto-erase Page programming without auto-erase: Full chip erase time: 10,000 write cycles, 10-year data retention capability lock bits, protecting sectors pages Protection Mode secure contents Flash Kbytes Fast SRAM Single-cycle access full speed
AT91SAM7S321/32
Kbytes Flash Memory, single plane pages bytes Fast access time, single-cycle access Worst Case conditions Page programming time: including page auto-erase Page programming without auto-erase: Full chip erase time: 10,000 write cycles, 10-year data retention capability lock bits, protecting sectors pages Protection Mode secure contents Flash Kbytes Fast SRAM Single-cycle access full speed
AT91SAM7S161/16
Kbytes Flash Memory, single plane pages bytes Fast access time, single-cycle access Worst Case conditions Page programming time: including page auto-erase Page programming without auto-erase: Full chip erase time: 10,000 write cycles, 10-year data retention capability lock bits, protecting sectors pages Protection Mode secure contents Flash Kbytes Fast SRAM Single-cycle access full speed
6175FS-ATARM-03-Dec-07
Figure 8-1.
Memory Mapping
Internal Memory Mapping
0x0000 0000
Note: Flash SRAM depending REMAP.
Flash before Remap MBytes SRAM after Remap
0x000F 0x0010 0000
Internal Flash
0x001F 0x0020 0000
MBytes
Internal SRAM
0x002F 0x0030 0000
MBytes
Address Memory Space 0x0000 0000 Reserved Internal Memories MBytes
MBytes
0x0FFF FFFF 0x1000 0000
0x0FFF FFFF
System Controller Mapping 0xFFFF F000 Peripheral Mapping 0xF000 0000 0xFFFF F1FF 0xFFFF F200 DBGU 0xFFFF F3FF 0xFFFF F400 PIOA 0xFFFF F5FF 0xFFFF F600 Kbytes 0xFFFF FBFF 0xFFFF FC00 Kbytes Kbytes (Reserved AT91SAM7S32/16) 0xFFFF FCFF 0xFFFF FD00 0xFFFF FD0F Bytes/ registers Bytes/ registers Reserved Bytes/ registers Bytes/ registers Bytes/ registers
Undefined (Abort)
MBytes 3,584 MBytes
Reserved 0xFFF9 FFFF 0xFFFA 0000 0xFFFA 3FFF 0xFFFA 4000 0xFFFA FFFF 0xFFFB 0000 0xFFFB 3FFF 0xFFFB 4000 Reserved 0xFFFB 7FFF 0xFFFB 8000 Reserved USART0 USART1 Reserved TC0, TC1, Kbytes Reserved Kbytes (Reserved AT91SAM7S32/16)
0xEFFF FFFF 0xF000 0000
0xFFFB BFFF 0xFFFB C000 0xFFFB FFFF 0xFFFC 0000
Internal Peripherals
256M Bytes
0xFFFC 3FFF 0xFFFC 4000 0xFFFC 7FFF 0xFFFC 8000
RSTC Reserved
0xFFFF FFFF
0xFFFC BFFF 0xFFFC C000 0xFFFC FFFF 0xFFFD 0000 0xFFFD 3FFF 0xFFFD 4000 0xFFFD 7FFF 0xFFFD 8000 0xFFFD BFFF 0xFFFD C000 0xFFFD FFFF 0xFFFE 0000 0xFFFE 3FFF 0xFFFE 4000 0xFFFF EFFF 0xFFFF F000 0xFFFF FFFF
PWMC Reserved Reserved Reserved SYSC
Kbytes
Kbytes Kbytes
0xFFFF FD20 0xFFFF FC2F 0xFFFF FD30 0xFFFF FC3F 0xFFFF FD40 0xFFFF FD4F 0xFFFF FD60 0xFFFF FC6F 0xFFFF FD70 0xFFFF FEFF 0xFFFF FF00
Reserved VREG Reserved
Bytes/ registers Bytes/ registers Bytes/ registers
Bytes/ register
Kbytes
0xFFFF FFFF
Bytes/ registers
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
8.7.1
Memory Mapping
Internal SRAM AT91SAM7S512 embeds high-speed 64-Kbyte SRAM bank. AT91SAM7S256 embeds high-speed 64-Kbyte SRAM bank. AT91SAM7S128 embeds high-speed 32-Kbyte SRAM bank. AT91SAM7S64 embeds high-speed 16-Kbyte SRAM bank. AT91SAM7S321 embeds high-speed 8-Kbyte SRAM bank. AT91SAM7S32 embeds high-speed 8-Kbyte SRAM bank. AT91SAM7S161 embeds high-speed 4-Kbyte SRAM bank. AT91SAM7S16 embeds high-speed 4-Kbyte SRAM bank After reset until Remap Command performed, SRAM only accessible address 0x0020 0000. After Remap, SRAM also becomes available address 0x0.
8.7.2
Internal AT91SAM7S Series embeds Internal ROM. contains FFPI SAM-BA program. internal mapped default.
8.7.3
Internal Flash AT91SAM7S512 features contiguous banks (dual plane) Kbytes Flash. AT91SAM7S256 features bank (single plane) Kbytes Flash. AT91SAM7S128 features bank (single plane) Kbytes Flash. AT91SAM7S64 features bank (single plane) Kbytes Flash. AT91SAM7S321/32 features bank (single plane) Kbytes Flash. AT91SAM7S161/16 features bank (single plane) Kbytes Flash. time, Flash mapped address 0x0010 0000. also accessible address after reset before Remap Command. Figure 8-2. Internal Memory Mapping
0x0000 0000
0x000F FFFF
Flash Before Remap SRAM After Remap Internal Flash
MBytes
0x0010 0000 MBytes
0x001F FFFF
0x0020 0000 MBytes
0x002F FFFF 0x0030 0000
Internal SRAM
MBytes
Undefined Areas (Abort)
MBytes
0x0FFF FFFF
6175FS-ATARM-03-Dec-07
8.8.1
Embedded Flash
Flash Overview Flash AT91SAM7S512 organized banks (dual plane) 1024 pages bytes. 524,288 bytes organized 32-bit words. Flash AT91SAM7S256 organized 1024 pages (single plane) bytes. 262,144 bytes organized 32-bit words. Flash AT91SAM7S128 organized pages (single plane) bytes. 131,072 bytes organized 32-bit words. Flash AT91SAM7S64 organized pages (single plane) bytes. 65,536 bytes organized 32-bit words. Flash AT91SAM7S321/32 organized pages (single plane) bytes. 32,768 bytes organized 32-bit words. Flash AT91SAM7S161/16 organized pages (single plane) bytes. 16,384 bytes organized 32-bit words. Flash AT91SAM7S512/256/128 contains 256-byte write buffer, accessible through 32-bit interface. Flash AT91SAM7S64/321/32/161/16 contains 128-byte write buffer, accessible through 32-bit interface. Flash benefits from integration power reset cell from brownout detector. This prevents code corruption during power supply changes, even worst conditions. When Flash used (read write access), automatically placed into standby mode.
8.8.2
Embedded Flash Controller Embedded Flash Controller (EFC) manages accesses performed masters system. enables reading Flash writing write buffer. also contains User Interface, mapped within Memory Controller APB. User Interface allows: programming access parameters Flash (number wait states, timings, etc.) starting commands such full erase, page erase, page program, set, clear, etc. getting status last command getting error status programming interrupts last commands errors Embedded Flash Controller also provides dual 32-bit prefetch buffer that optimizes 16-bit access Flash. This particularly efficient when processor running Thumb mode. EFCs embedded SAM7S512 control each bank Kbytes. Dual plane organization allows concurrent Read Program. Read from memory plane performed even while program erase functions being executed other memory plane. embedded SAM7S256/128/64/32/321/161/16 control single plane 256/128/64/32/16 Kbytes.
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
8.8.3 8.8.3.1 Lock Regions AT91SAM7S512 Embedded Flash Controllers each manage lock bits protect regions flash against inadvertent flash erasing programming commands. AT91SAM7S512 contains lock regions each lock region contains pages bytes. Each lock region size Kbytes. locked-region's erase program command occurs, command aborted LOCKE MC_FSR register rises interrupt line rises LOCKE been written MC_FMR register. bits bits) software programmable through corresponding User Interface. command "Set Lock Bit" enables protection. command "Clear Lock Bit" unlocks lock region. Asserting ERASE clears lock bits, thus unlocking entire Flash. 8.8.3.2 AT91SAM7S256 Embedded Flash Controller manages lock bits protect regions flash against inadvertent flash erasing programming commands. AT91SAM7S256 contains lock regions each lock region contains pages bytes. Each lock region size Kbytes. locked-region's erase program command occurs, command aborted LOCKE MC_FSR register rises interrupt line rises LOCKE been written MC_FMR register. bits software programmable through User Interface. command "Set Lock Bit" enables protection. command "Clear Lock Bit" unlocks lock region. Asserting ERASE clears lock bits, thus unlocking entire Flash. 8.8.3.3 AT91SAM7S128 Embedded Flash Controller manages lock bits protect regions flash against inadvertent flash erasing programming commands. AT91SAM7S128 contains lock regions each lock region contains pages bytes. Each lock region size Kbytes. locked-region's erase program command occurs, command aborted LOCKE MC_FSR register rises interrupt line rises LOCKE been written MC_FMR register. bits software programmable through User Interface. command "Set Lock Bit" enables protection. command "Clear Lock Bit" unlocks lock region. Asserting ERASE clears lock bits, thus unlocking entire Flash. 8.8.3.4 AT91SAM7S64 Embedded Flash Controller manages lock bits protect regions flash against inadvertent flash erasing programming commands. AT91SAM7S64 contains lock regions each lock region contains pages bytes. Each lock region size Kbytes.
6175FS-ATARM-03-Dec-07
locked-region's erase program command occurs, command aborted LOCKE MC_FSR register rises interrupt line rises LOCKE been written MC_FMR register. bits software programmable through User Interface. command "Set Lock Bit" enables protection. command "Clear Lock Bit" unlocks lock region. Asserting ERASE clears lock bits, thus unlocking entire Flash. 8.8.3.5 AT91SAM7S321/32 Embedded Flash Controller manages lock bits protect regions flash against inadvertent flash erasing programming commands. AT91SAM7S321/32 contains lock regions each lock region contains pages bytes. Each lock region size Kbytes. locked-region's erase program command occurs, command aborted LOCKE MC_FSR register rises interrupt line rises LOCKE been written MC_FMR register. bits software programmable through User Interface. command "Set Lock Bit" enables protection. command "Clear Lock Bit" unlocks lock region. Asserting ERASE clears lock bits, thus unlocking entire Flash. 8.8.3.6 AT91SAM7S161/16 Embedded Flash Controller manages lock bits protect regions flash against inadvertent flash erasing programming commands. AT91SAM7S161/16 contains lock regions each lock region contains pages bytes. Each lock region size Kbytes. locked-region's erase program command occurs, command aborted LOCKE MC_FSR register rises interrupt line rises LOCKE been written MC_FMR register. bits software programmable through User Interface. command "Set Lock Bit" enables protection. command "Clear Lock Bit" unlocks lock region. Asserting ERASE clears lock bits, thus unlocking entire Flash. Table summarizes configuration eight devices. Flash Configuration Summary
Device AT91SAM7S512 AT91SAM7S256 AT91SAM7S128 AT91SAM7S64 AT91SAM7S321/32 AT91SAM7S161/16 Number Lock Bits Number Pages Lock Region Page Size bytes bytes bytes bytes bytes bytes
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
8.8.4 Security Feature AT91SAM7S Series features security bit, based specific Bit. When security enabled, access Flash, either through interface through Fast Flash Programming Interface, forbidden. This ensures confidentiality code programmed Flash. This security only enabled, through Command "Set Security Bit" User Interface. Disabling security only achieved asserting ERASE after full flash erase performed. When security deactivated, accesses flash permitted. important note that assertion ERASE should always longer than ERASE integrates permanent pull-down, left unconnected during normal operation. However, safer connect directly final application. 8.8.5 Non-volatile Brownout Detector Control general purpose (GPNVM) bits used controlling brownout detector (BOD), that even after power loss, brownout detector operations remain their state. These GPNVM bits cleared respectively through commands "Clear General-purpose Bit" "Set General-purpose Bit" User Interface. GPNVM used brownout detector enable bit. Setting GPNVM enables BOD, clearing disables BOD. Asserting ERASE clears GPNVM thus disables brownout detector default. GPNVM used brownout reset enable signal reset controller. Setting GPNVM enables brownout reset when brownout detected, Clearing GPNVM disables brownout reset. Asserting ERASE disables brownout reset default. 8.8.6 Calibration Bits Eight bits used calibrate brownout detector voltage regulator. These bits factory configured cannot changed user. ERASE effect calibration bits.
Fast Flash Programming Interface
Fast Flash Programming Interface allows programming device through either serial JTAG interface through multiplexed fully-handshaked parallel port. allows gang-programming with market-standard industrial programmers. FFPI supports read, page program, page erase, full erase, lock, unlock protect commands. Fast Flash Programming Interface enabled Fast Programming Mode entered when pins tied high tied low.
8.10
SAM-BA Boot Assistant
SAM-BABoot Recovery restores SAM-BA Boot first sectors on-chip Flash memory. SAM-BA Boot recovery performed when PA0, pins tied high seconds.
6175FS-ATARM-03-Dec-07
SAM-BA Boot Assistant default Boot Program that provides easy program situ on-chip Flash memory. SAM-BA Boot Assistant supports serial communication through DBGU through Device Port. (The AT91SAM7S32/16 have Device Port.) Communication through DBGU supports wide range crystals from software auto-detection. Communication through Device Port limited 18.432 crystal. SAM-BA Boot provides interface with SAM-BA Graphic User Interface (GUI).
System Controller
System Controller manages vital blocks microcontroller: interrupts, clocks, power, time, debug reset. System Controller peripherals mapped highest Kbytes address space, between addresses 0xFFFF F000 0xFFFF FFFF. Figure page Figure page show product specific System Controller Block Diagrams. Figure page shows mapping User Interface System Controller peripherals. Note that memory controller configuration user interface also mapped within this address space.
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Figure 9-1. System Controller Block Diagram
System Controller
jtag_nreset
Boundary Scan Controller
irq0-irq1 periph_irq[2.14]
nirq
Advanced Interrupt Controller
nfiq proc_nreset debug
ARM7TDMI
pit_irq rtt_irq wdt_irq dbgu_irq pmc_irq rstc_irq
power_on_reset force_ntrst
periph_nreset dbgu_rxd debug periph_nreset SLCK periph_nreset SLCK debug idle proc_nreset gpnvm[0] gpnvm[1] flash_wrdis power_on_reset jtag_nreset
Debug Unit
dbgu_irq force_ntrst dbgu_txd security_bit
Periodic Interval Timer Real-Time Timer Watchdog Timer
wdt_fault WDRPROC bod_rst_en
pit_irq
flash_poe rtt_irq flash_wrdis wdt_irq gpnvm[0.1]
Embedded Flash
proc_nreset
Memory Controller
Reset Controller
periph_nreset proc_nreset
flash_poe rstc_irq SLCK
NRST
Voltage Regulator Mode Controller
standby
Voltage Regulator
RCOSC
SLCK
periph_clk[2.14] pck[0-2]
UDPCK periph_clk[11] periph_nreset periph_irq[11] usb_suspend
XOUT
MAINCK
Power Management Controller
UDPCK
Device Port
PLLRC
PLLCK pmc_irq idle periph_clk[4.14] periph_nreset
periph_nreset usb_suspend
periph_nreset periph_clk[2] dbgu_rxd
periph_irq{2] irq0-irq1
Embedded Peripherals
periph_irq[4.14]
Controller
dbgu_txd
PA0-PA31 enable
6175FS-ATARM-03-Dec-07
Figure 9-2.
System Controller Block Diagram (AT91SAM7S32/16)
System Controller
jtag_nreset
Boundary Scan Controller
irq0 periph_irq[2.14]
nirq
Advanced Interrupt Controller
nfiq proc_nreset debug
ARM7TDMI
pit_irq rtt_irq wdt_irq dbgu_irq pmc_irq rstc_irq
power_on_reset
force_ntrst periph_nreset dbgu_rxd debug periph_nreset SLCK periph_nreset SLCK debug idle proc_nreset gpnvm[0] gpnvm[1] bod_rst_en
flash_wrdis power_on_reset
dbgu_irq
Debug Unit Periodic Interval Timer Real-Time Timer Watchdog Timer
wdt_fault WDRPROC
force_ntrst dbgu_txd security_bit pit_irq
flash_poe rtt_irq flash_wrdis wdt_irq gpnvm[0.1]
Embedded Flash
proc_nreset
Memory Controller
jtag_nreset flash_poe
Reset Controller
periph_nreset proc_nreset
NRST SLCK
rstc_irq
Voltage Regulator Mode Controller
standby
Voltage Regulator
RCOSC
SLCK
periph_clk[2.14] pck[0-2]
XOUT
MAINCK
Power Management Controller
PLLRC
PLLCK pmc_irq idle periph_clk[4.14] periph_nreset
periph_nreset
periph_nreset periph_clk[2] dbgu_rxd
periph_irq{2] irq0
Embedded Peripherals
periph_irq[4.14]
Controller
dbgu_txd
PA0-PA20 enable
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Reset Controller
Reset Controller based power-on reset cell brownout detector. gives status last reset, indicating whether power-up reset, software reset, user reset, watchdog reset brownout reset. addition, controls internal resets NRST open-drain output. allows shape signal NRST line, guaranteeing that length pulse meets requirement. Note that NRST used reset output signal external devices during power-off, brownout detector must activated. 9.1.1 Brownout Detector Power-on Reset AT91SAM7S Series embeds brownout detection circuit power-on reset cell. Both supplied with monitor VDDCORE. Both signals provided Flash prevent code corruption during power-up power-down sequences brownouts occur VDDCORE power supply. power-on reset cell limited-accuracy threshold around 1.5V. output remains during power-up until VDDCORE goes over this voltage level. This signal goes reset controller allows full re-initialization device. brownout detector monitors VDDCORE level during operation comparing fixed trigger level. secures system operations most difficult environments prevents code corruption case brownout VDDCORE. Only VDDCORE monitored, voltage drop VDDFLASH other power supply device cannot affect Flash. When brownout detector enabled VDDCORE decreases value below trigger level (Vbot-, defined Vbot hyst/2), brownout output immediately activated. When VDDCORE increases above trigger level (Vbot+, defined Vbot hyst/2), reset released. brownout detector only detects drop voltage VDDCORE stays below threshold voltage longer than about 1µs. threshold voltage hysteresis about ensure spike free brownout detection. typical value brownout detector threshold 1.68V with accuracy factory calibrated. brownout detector low-power, consumes less than static current. However, deactivated save static current. this case, consumes less than 1µA. deactivation configured through GPNVM Flash.
6175FS-ATARM-03-Dec-07
Clock Generator
Clock Generator embeds low-power Oscillator, Main Oscillator with following characteristics: Oscillator ranges between Main Oscillator frequency ranges between Main Oscillator bypassed output ranges between provides SLCK, MAINCK PLLCK. Figure 9-3. Clock Generator Block Diagram
Clock Generator
Embedded Oscillator
Slow Clock SLCK
XOUT
Main Oscillator
Main Clock MAINCK
PLLRC
Divider
Clock PLLCK
Status
Control
Power Management Controller
Power Management Controller
Power Management Controller uses Clock Generator outputs provide: Processor Clock Master Clock Clock UDPCK (not present AT91SAM7S32/16) peripheral clocks, independently controllable three programmable clock outputs Master Clock (MCK) programmable from hundred maximum operating frequency device. Processor Clock (PCK) switches when entering processor idle mode, thus allowing reduced power consumption while waiting interrupt.
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Figure 9-4. Power Management Controller Block Diagram
Processor Clock Controller Master Clock Controller SLCK MAINCK PLLCK Prescaler /1,/2,/4,.,/64 Peripherals Clock Controller ON/OFF Idle Mode
periph_clk[2.14]
Programmable Clock Controller SLCK MAINCK PLLCK Prescaler /1,/2,/4,.,/64
pck[0.2]
Clock Controller ON/OFF PLLCK Divider /1,/2,/4
usb_suspend
UDPCK
Advanced Interrupt Controller
Controls interrupt lines (nIRQ nFIQ) Processor Individually maskable vectored interrupt sources Source reserved Fast Interrupt Input (FIQ) Source reserved system peripherals RTT, PIT, EFC, PMC, DBGU, etc.) Other sources control peripheral interrupts external interrupts Programmable edge-triggered level-sensitive internal sources Programmable positive/negative edge-triggered high/low level-sensitive external sources 8-level Priority Controller Drives normal interrupt processor Handles priority interrupt sources Higher priority interrupts served during service lower priority interrupt Vectoring Optimizes interrupt service routine branch execution 32-bit vector register interrupt source Interrupt vector register reads corresponding current interrupt vector Protect Mode Easy debugging preventing automatic operations Fast Forcing Permits redirecting interrupt source fast interrupt General Interrupt Mask Provides processor synchronization events without triggering interrupt
6175FS-ATARM-03-Dec-07
Debug Unit
Comprises: two-pin UART Interface Debug Communication Channel (DCC) support Chip Registers Interface providing Access Prevention Two-pin UART Implemented features compatible with USART Programmable Baud Rate Generator Parity, Framing Overrun Error Automatic Echo, Local Loopback Remote Loopback Channel Modes Debug Communication Channel Support Offers visibility COMMRX COMMTX signals from Processor Chip Registers Identification device revision, sizes embedded memories, peripherals Chip 0x270B0A40 AT91SAM7S512 (VERSION Chip 0x270B0940 AT91SAM7S256 (VERSION Chip 0x270C0941 AT91SAM7S256 (VERSION Chip 0x270A0740 AT91SAM7S128 (VERSION Chip 0x270C0741 AT91SAM7S128 (VERSION Chip 0x27090540 AT91SAM7S64 (VERSION Chip 0x27080342 AT91SAM7S321 (VERSION Chip 0x27080340 AT91SAM7S32 (VERSION Chip 0x27050241 AT9SAM7S161 (VERSION Chip 0x27050240 AT91SAM7S16 (VERSION
Periodic Interval Timer
20-bit programmable counter plus 12-bit interval counter
Watchdog Timer
12-bit key-protected Programmable Counter running prescaled SCLK Provides reset interrupt signals system Counter stopped while processor debug state idle mode
Real-time Timer
32-bit free-running counter with alarm running prescaled SCLK Programmable 16-bit prescaler SLCK accuracy compensation
Controller
Controller, controlling lines AT91SAM7S32/16) Fully programmable through set/clear registers
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Multiplexing peripheral functions line each line (whether assigned peripheral used general-purpose I/O) Input change interrupt Half clock period glitch filter Multi-drive option enables driving open drain Programmable pull-up each line data status register, supplies visibility level time Synchronous output, provides Clear several lines single write
9.10
Voltage Regulator Controller
this controller select Power Mode Voltage Regulator between Normal Mode (bit cleared) Standby Mode (bit set).
6175FS-ATARM-03-Dec-07
Peripherals
10.1 User Interface
User Peripherals mapped MBytes address space between 0xF000 0000 0xFFFF EFFF. Each peripheral allocated Kbytes address space. complete memory provided Figure page
10.2
Peripheral Identifiers
AT91SAM7S Series embeds wide range peripherals. Table 10-1 defines Peripheral Identifiers Table 10-2 defines Peripheral Identifiers AT91SAM7S32/16. peripheral identifier required control peripheral interrupt with Advanced Interrupt Controller control peripheral clock with Power Management Controller.
Table 10-1.
Peripheral Note:
Peripheral Identifiers
Peripheral Mnemonic SYSC PIOA Reserved ADC(1) PWMC Reserved Advanced Interrupt Controller Advanced Interrupt Controller IRQ0 IRQ1 Analog-to Digital Converter Serial Peripheral Interface USART USART Synchronous Serial Controller Two-wire Interface Controller Device Port Timer/Counter Timer/Counter Timer/Counter
Peripheral Name Advanced Interrupt Controller System Parallel Controller
External Interrupt
Setting SYSC bits clock set/clear registers effect. System Controller continuously clocked. clock automatically started first conversion. Sleep Mode clock automatically stopped after each conversion.
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Table 10-2.
Peripheral Note:
Peripheral Identifiers (AT91SAM7S32/16)
Peripheral Mnemonic SYSC PIOA Reserved ADC(1) Reserved PWMC Reserved Reserved Reserved Advanced Interrupt Controller IRQ0 Timer/Counter Timer/Counter Timer/Counter Synchronous Serial Controller Two-wire Interface Controller Analog-to Digital Converter Serial Peripheral Interface USART
Peripheral Name Advanced Interrupt Controller System Parallel Controller
External Interrupt
Setting SYSC bits clock set/clear registers effect. System Controller continuously clocked. clock automatically started first conversion. Sleep Mode clock automatically stopped after each conversion.
10.3
Peripheral Multiplexing Lines
AT91SAM7S Series features controller, PIOA, that multiplexes lines peripheral set. Controller controls lines lines AT91SAM7S32/16). Each line assigned peripheral functions, Some them also multiplexed with analog inputs Controller. Table 10-3, "Multiplexing Controller page Table 10-4, "Multiplexing Controller (AT91SAM7S32/16)," page define lines peripherals analog inputs multiplexed Controller columns "Function" "Comments" have been inserted user's comments; they used track pins defined application. Note that some peripheral functions that output only duplicated table. pins reset their Parallel lines function configured input with programmable pull-up enabled, that device maintained static state soon reset detected.
6175FS-ATARM-03-Dec-07
10.4
Controller Multiplexing
Multiplexing Controller
Controller Application Usage Comments High-Drive High-Drive High-Drive High-Drive Function Comments
Table 10-3.
Line PA10 PA11 PA12 PA13 PA14 PA15 PA16 PA17 PA18 PA19 PA20 PA21 PA22 PA23 PA24 PA25 PA26 PA27 PA28 PA29 PA30 PA31
Peripheral PWM0 PWM1 PWM2 TWCK RXD0 TXD0 RTS0 CTS0 DRXD DTXD NPCS0 MISO MOSI SPCK RXD1 TXD1 SCK1 RTS1 CTS1 DCD1 DTR1 DSR1 IRQ1 NPCS1
Peripheral TIOA0 TIOB0 SCK0 NPCS3 TCLK0 NPCS3 PCK0 PWM3 ADTRG NPCS1 NPCS2 PWM0 PWM1 PWM2 PWM3 TIOA1 TIOB1 PCK1 PCK2 IRQ0 PCK1 NPCS3 PWM0 PWM1 PWM2 TIOA2 TIOB2 TCLK1 TCLK2 NPCS2 PCK2
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Table 10-4. Multiplexing Controller (AT91SAM7S32/16)
Controller Line PA10 PA11 PA12 PA13 PA14 PA15 PA16 PA17 PA18 PA19 PA20 Peripheral PWM0 PWM1 PWM2 TWCK RXD0 TXD0 RTS0 CTS0 DRXD DTXD NPCS0 MISO MOSI SPCK Peripheral TIOA0 TIOB0 SCK0 NPCS3 TCLK0 NPCS3 PCK0 PWM3 ADTRG NPCS1 NPCS2 PWM0 PWM1 PWM2 PWM3 TIOA1 TIOB1 PCK1 PCK2 IRQ0 Comments High-Drive High-Drive High-Drive High-Drive Application Usage Function Comments
6175FS-ATARM-03-Dec-07
10.5
Serial Peripheral Interface
Supports communication with external serial devices Four chip selects with external decoder allow communication with peripherals Serial memories, such DataFlash® 3-wire EEPROMs Serial peripherals, such ADCs, DACs, Controllers, Controllers Sensors External co-processors Master slave serial peripheral interface 16-bit programmable data length chip select Programmable phase polarity chip select Programmable transfer delays between consecutive transfers between clock data chip select Programmable delay between consecutive transfers Selectable mode fault detection Maximum frequency Master Clock
10.6
Two-wire Interface
Master Mode only Master, Multi-Master Slave Mode support (AT91SAM7S161/16) General Call supported Slave Mode (AT91SAM7S161/16) Compatibility with compatible devices (refer sections datasheet) One, three bytes internal address registers easy Serial Memory access 7-bit 10-bit slave addressing Sequential read/write operations
10.7
USART
Programmable Baud Rate Generator 9-bit full-duplex synchronous asynchronous serial communications stop bits Asynchronous Mode stop bits Synchronous Mode Parity generation error detection Framing error detection, overrun error detection first Optional break generation detection over-sampling receiver frequency Hardware handshaking Modem Signals Management DTR-DSR-DCD-RI USART1 (not present AT91SAM7S32/16) Receiver time-out transmitter timeguard Multi-drop Mode with address generation detection RS485 with driver control signal
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
ISO7816, Protocols interfacing with smart cards NACK handling, error counter with repetition iteration limit IrDA modulation demodulation Communication 115.2 Kbps Test Modes Remote Loopback, Local Loopback, Automatic Echo
10.8
Serial Synchronous Controller
Provides serial synchronous communication links used audio telecom applications Contains independent receiver transmitter common clock divider Offers configurable frame sync data length Receiver transmitter programmed start automatically detection different event frame sync signal Receiver transmitter include data signal, clock signal frame synchronization signal
10.9
Timer Counter
Three 16-bit Timer Counter Channels output compare input capture channel (except AT91SAM7S32/16 which have only channels connected PIO) Wide range functions including: Frequency measurement Event counting Interval measurement Pulse generation Delay timing Pulse Width Modulation Up/down capabilities Each channel user-configurable contains: Three external clock inputs (The AT91SAM7S32/16 have one) Five internal clock inputs, defined Table 10-5 Table 10-5. Timer Counter Clocks Assignment
Clock MCK/2 MCK/8 MCK/32 MCK/128 MCK/1024
Clock Input TIMER_CLOCK1 TIMER_CLOCK2 TIMER_CLOCK3 TIMER_CLOCK4 TIMER_CLOCK5
multi-purpose input/output signals global registers that three channels
6175FS-ATARM-03-Dec-07
10.10 Controller
Four channels, 16-bit counter channel Common clock generator, providing thirteen different clocks Modulo counter providing eleven clocks independent linear dividers working modulo counter outputs Independent channel programming Independent enable/disable commands Independent clock selection Independent period duty cycle, with double buffering Programmable selection output waveform polarity Programmable center left aligned output waveform
10.11 Device Port (Does pertain AT91SAM7S32/16)
V2.0 full-speed compliant, Mbits second. Embedded V2.0 full-speed transceiver Embedded 328-byte dual-port endpoints Four endpoints Endpoint bytes Endpoint bytes ping-pong Endpoint bytes Ping-pong Mode (two memory banks) isochronous bulk endpoints Suspend/resume logic
10.12 Analog-to-digital Converter
8-channel 10-bit samples/sec. 8-bit Ksamples/sec. Successive Approximation Register Integral Linearity, Differential Linearity Integrated 8-to-1 multiplexer, offering eight independent 3.3V analog inputs External voltage reference better accuracy voltage inputs Individual enable disable each channel Multiple trigger source Hardware software trigger External trigger Timer Counter outputs TIOA0 TIOA2 trigger Sleep Mode conversion sequencer Automatic wakeup trigger back sleep mode after conversions enabled channels Four eight analog inputs shared with digital signals
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Package Drawings
SAM7S series devices available LQFP package types.
11.1
LQFP Packages
Figure 11-1. 48-and 64-lead LQFP Package Drawing
6175FS-ATARM-03-Dec-07
Table 11-1.
Symbol
48-lead LQFP Package Dimensions
Millimeter 1.40 9.00 7.00 9.00 7.00 0.08 0.08 0.09 0.45 3.5° 0.60 1.00 0.20 0.17 0.20 0.50 BSC. 5.50 5.50 Tolerances Form Position 0.27 0.008 0.007 0.20 0.20 0.75 0.003 0.003 0.004 0.018 1.60 0.15 1.45 0.002 0.053 Inch 0.055 0.354 0.276 0.354 0.276 3.5° 0.024 0.039 0.008 0.020 BSC. 0.217 0.217 0.011 0.008 0.008 0.030 0.063 0.006 0.057
0.05 1.35
0.20 0.20 0.08 0.08
0.008 0.008 0.003 0.003
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Table 11-2.
Symbol 0.20 0.17 0.08 0.08 0.09 0.45
64-lead LQFP Package Dimensions
Millimeter 0.05 1.35 1.40 12.00 10.00 12.00 10.00 3.5° 0.60 1.00 0.20 0.50 BSC. 7.50 7.50 Tolerances Form Position 0.20 0.20 0.08 0.08 0.008 0.008 0.003 0.003 0.27 0.008 0.007 0.20 0.20 0.75 0.003 0.003 0.004 0.018 1.60 0.15 1.45 0.002 0.053 Inch 0.055 0.472 0.383 0.472 0.383 3.5° 0.024 0.039 0.008 0.020 BSC. 0.285 0.285 0.011 0.008 0.008 0.030 0.063 0.006 0.057
6175FS-ATARM-03-Dec-07
11.2
Packages
Figure 11-2. 48-pad Package
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Table 11-3.
Symbol 0.09 5.45 0.35 5.45 0.18 0.65 0.20 0.20 7.00 5.60 7.00 5.60 0.40 0.50 0.004 5.75 0.45 0.215 0.014 5.75 0.215 0.23 0.007 0.050 0.70 0.026 0.008 0.008 0.276 0.220 0.276 0.220 0.016 0.020 0.226 0.018 0.226 0.009 0.035 0.002 0.028
48-pad Package Dimensions
Millimeter Inch
Tolerances Form Position 0.10 0.10 0.05 0.004 0.004 0.002
6175FS-ATARM-03-Dec-07
Figure 11-3. 64-pad Package Drawing
dimensions ference JEDEC Drawing MO-220
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Table 11-4.
Symbol 0.125 6.95 0.35 6.95 0.23
64-pad Package Dimensions
Millimeter 0.65 0.20 0.25 9.00 7.10 9.00 7.10 0.40 0.50 0.10 0.10 0.05 0.0005 Tolerances Form Position 0.004 0.004 0.002 7.25 0.45 0.274 0.014 7.25 0.274 0.28 0.009 0.05 0.70 Inch 0.026 0.008 0.010 0.354 0.280 0.354 0.280 0.016 0.020 0.285 0.018 0.285 0.011 0.035 0.001 0.028
6175FS-ATARM-03-Dec-07
AT91SAM7S Ordering Information
Table 12-1. LQFP/OFN Ordering Information
Package LQFP LQFP LQFP LQFP LQFP LQFP LQFP LQFP Package Type Green Green Green Green Green Green Green Green Temperature Operating Range Industrial (-40°C 85°C) Industrial (-40°C 85°C) Industrial (-40°C 85°C) Industrial (-40°C 85°C) Industrial (-40°C 85°C) Industrial (-40°C 85°C) Industrial (-40°C 85°C) Industrial (-40°C 85°C)
Ordering Code AT91SAM7S512-AU-001 AT91SAM7S512-MU AT91SAM7S256-AU-001 AT91SAM7S256-MU AT91SAM7S128-AU-001 AT91SAM7S128-MU AT91SAM7S64-AU-001 AT91SAM7S64-MU AT91SAM7S321-AU AT91SAM7S321-MU AT91SAM7S161-AU AT91SAM7S32-AU-001 AT91SAM7S32-MU AT91SAM7S16-AU-001 AT91SAM7S16-MU
AT91SAM7S Series Summary
6175FS-ATARM-03-Dec-07
AT91SAM7S Series Summary
Revision History
Change Request Ref.
Doc. 6175AS 6175BS 6175CS 6175DS 6175ES
Comments First issue Unqualified Intranet Corresponds 6175A full datasheet approval loop. Qualified Intranet. Section "Memories" page updated: Section "AT91SAM7S Ordering Information" AT91SAM7S321 changed Table 12-1 page "Features" Table 1-1, "Configuration Summary," page Section "Package Pinout" Section "AT91SAM7S Ordering Information" package information added Section 10.11 page Device port, Ping-pong Mode includes Isochronous endpoints. "Features" page global: AT91SAM7S512 added series. Reference Manchester Encoder removed from USART. Section "Memories" Reformatted Memories, Consolidated Memory Mapping Figure page Section "Peripherals" Reordered sections. Section "Package Drawings" QFN, LQFP package drawings added. "ice_nreset" signals changed power_on_reset" System Controller block diagrams, Figure page Figure page Section "Package Pinout" LQFP Package Outlines replace Mechanical Overview. Section 10.1 "User Interface", User peripherals mapped between 0xF000 0000 0xFFFF EFFF. SYSIRQ changed SYSC "Peripheral Identifiers" Table 10-1 Table 10-2
CSR05-529 #2342 #2444 specs
#2748
#2832 (DBGU review 4208 review
6175FS
AT91SAM7S161 AT91SAM7S16 added product family Features: Timer Counter, page product specific information rewritten, Table 1-1, "Configuration Summary," page footnote explains AT91SAM7S32/16 only channels accessible PIO, Section 10.9 "Timer Counter", precisions added "compare capture" output/input. Section 10.6 "Two-wire Interface", updated reference compatibility, internal address registers, slave addressing, Modes AT91SAM7S161/16 "One Two-wire Interface (TWI)" page updated Features Section 10.12 "Analog-to-digital Converter", updated Successive Approximation Register INL, values LSB. Section 8.8.3 "Lock Regions", locked-region's erase program command updated Section "Debug Unit", Chip updated. Section "I/O Lines Considerations", JTAG Port Pin, Test Pin, Erase Pin, updated.
4325 5063
6175FS-ATARM-03-Dec-07
Headquarters
Atmel Corporation 2325 Orchard Parkway Jose, 95131 Tel: 1(408) 441-0311 Fax: 1(408) 487-2600
International
Atmel Asia Room 1219 Chinachem Golden Plaza Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Atmel Europe Krebs Jean-Pierre Timbaud 78054 Saint-Quentin-enYvelines Cedex France Tel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11 Atmel Japan Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581
Product Contact
Site www.atmel.com www.atmel.com/AT91SAM Technical Support AT91SAM Support Atmel techincal support Sales Contacts www.atmel.com/contacts/
Literature Requests www.atmel.com/literature
Disclaimer: information this document provided connection with Atmel products. license, express implied, estoppel otherwise, intellectual property right granted this document connection with sale Atmel products. EXCEPT FORTH ATMEL'S TERMS CONDITIONS SALE LOCATED ATMEL'S SITE, ATMEL ASSUMES LIABILITY WHATSOEVER DISCLAIMS EXPRESS, IMPLIED STATUTORY WARRANTY RELATING PRODUCTS INCLUDING, LIMITED IMPLIED WARRANTY MERCHANTABILITY, FITNESS PARTICULAR PURPOSE, NON-INFRINGEMENT. EVENT SHALL ATMEL LIABLE DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES LOSS PROFITS, BUSINESS INTERRUPTION, LOSS INFORMATION) ARISING INABILITY THIS DOCUMENT, EVEN ATMEL BEEN ADVISED POSSIBILITY SUCH DAMAGES. Atmel makes representations warranties with respect accuracy completeness contents this document reserves right make changes specifications product descriptions time without notice. Atmel does make commitment update information contained herein. Unless specifically provided otherwise, Atmel products suitable for, shall used automotive applications. Atmel's products intended, authorized, warranted components applications intended support sustain life.
2007 Atmel Corporation. rights reserved. Atmel®, logo combinations thereof, DataFlash® others, registered trademarks, SAM-BAand others trademarks Atmel Corporation subsidiaries. ARM®, Powered® logo, ARM7TDMI®, Thumb®, registered trademarks Limited. Other terms product names trademarks others.
6175FS-ATARM-03-Dec-07

Other recent searches


STMEC001 - STMEC001   STMEC001 Datasheet
PM2120 - PM2120   PM2120 Datasheet
DO214AA - DO214AA   DO214AA Datasheet
CSM-58432M - CSM-58432M   CSM-58432M Datasheet
58442M - 58442M   58442M Datasheet
CLG-150 - CLG-150   CLG-150 Datasheet
2SC5358 - 2SC5358   2SC5358 Datasheet
2SC4656G - 2SC4656G   2SC4656G Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive