AT91SAM7S32-AU-999 Atmel, AT91SAM7S32-AU-999 Datasheet

no-image

AT91SAM7S32-AU-999

Manufacturer Part Number
AT91SAM7S32-AU-999
Description
IC MCU ARM7 32KB FLASH 48LQFP
Manufacturer
Atmel
Series
AT91SAMr
Datasheets

Specifications of AT91SAM7S32-AU-999

Core Processor
ARM7
Core Size
16/32-Bit
Speed
55MHz
Connectivity
I²C, SPI, SSC, UART/USART
Peripherals
Brown-out Detect/Reset, DMA, POR, PWM, WDT
Number Of I /o
21
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
1.65 V ~ 1.95 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
48-LQFP
For Use With
AT91SAM-ICE - EMULATOR FOR AT91 ARM7/ARM9AT91SAM7S-EK - KIT EVAL FOR ARM AT91SAM7S
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM7S32-AU-999
Manufacturer:
Atmel
Quantity:
10 000
Features
Incorporates the ARM7TDMI
Internal High-speed Flash
Internal High-speed SRAM, Single-cycle Access at Maximum Speed
Memory Controller (MC)
Reset Controller (RSTC)
Clock Generator (CKGR)
Power Management Controller (PMC)
Advanced Interrupt Controller (AIC)
Debug Unit (DBGU)
Periodic Interval Timer (PIT)
Windowed Watchdog (WDT)
– High-performance 32-bit RISC Architecture
– High-density 16-bit Instruction Set
– Leader in MIPS/Watt
– EmbeddedICE
– 512 Kbytes (AT91SAM7S512) Organized in Two Contiguous Banks of 1024 Pages
– 256 Kbytes (AT91SAM7S256) Organized in 1024 Pages of 256 Bytes (Single Plane)
– 128 Kbytes (AT91SAM7S128) Organized in 512 Pages of 256 Bytes (Single Plane)
– 64 Kbytes (AT91SAM7S64) Organized in 512 Pages of 128 Bytes (Single Plane)
– 32 Kbytes (AT91SAM7S321/32) Organized in 256 Pages of 128 Bytes (Single Plane)
– 16 Kbytes (AT91SAM7S161/16) Organized in 256 Pages of 64 Bytes (Single Plane)
– Single Cycle Access at Up to 30 MHz in Worst Case Conditions
– Prefetch Buffer Optimizing Thumb Instruction Execution at Maximum Speed
– Page Programming Time: 6 ms, Including Page Auto-erase, Full Erase Time: 15 ms
– 10,000 Write Cycles, 10-year Data Retention Capability, Sector Lock Capabilities,
– Fast Flash Programming Interface for High Volume Production
– 64 Kbytes (AT91SAM7S512/256)
– 32 Kbytes (AT91SAM7S128)
– 16 Kbytes (AT91SAM7S64)
– 8 Kbytes (AT91SAM7S321/32)
– 4 Kbytes (AT91SAM7S161/16)
– Embedded Flash Controller, Abort Status and Misalignment Detection
– Based on Power-on Reset and Low-power Factory-calibrated Brown-out Detector
– Provides External Reset Signal Shaping and Reset Source Status
– Low-power RC Oscillator, 3 to 20 MHz On-chip Oscillator and one PLL
– Software Power Optimization Capabilities, Including Slow Clock Mode (Down to
– Three Programmable External Clock Signals
– Individually Maskable, Eight-level Priority, Vectored Interrupt Sources
– Two (AT91SAM7S512/256/128/64/321/161) or One (AT91SAM7S32/16) External
– 2-wire UART and Support for Debug Communication Channel interrupt,
– Mode for General Purpose 2-wire UART Serial Communication
– 20-bit Programmable Counter plus 12-bit Interval Counter
– 12-bit key-protected Programmable Counter
– Provides Reset or Interrupt Signals to the System
of 256 Bytes (Dual Plane)
Flash Security Bit
500 Hz) and Idle Mode
Interrupt Source(s) and One Fast Interrupt Source, Spurious Interrupt Protected
Programmable ICE Access Prevention
In-circuit Emulation, Debug Communication Channel Support
®
ARM
®
Thumb
®
Processor
AT91 ARM
Thumb-based
Microcontrollers
AT91SAM7S512
AT91SAM7S256
AT91SAM7S128
AT91SAM7S64
AT91SAM7S321
AT91SAM7S32
AT91SAM7S161
AT91SAM7S16
Summary
The complete document is available on
the Atmel website at
NOTE: This is a summary document.
6175IS–ATARM–30-Aug-10
www.atmel.com.

Related parts for AT91SAM7S32-AU-999

AT91SAM7S32-AU-999 Summary of contents

Page 1

... Kbytes (AT91SAM7S128) Organized in 512 Pages of 256 Bytes (Single Plane) – 64 Kbytes (AT91SAM7S64) Organized in 512 Pages of 128 Bytes (Single Plane) – 32 Kbytes (AT91SAM7S321/32) Organized in 256 Pages of 128 Bytes (Single Plane) – 16 Kbytes (AT91SAM7S161/16) Organized in 256 Pages of 64 Bytes (Single Plane) – ...

Page 2

... One Three-channel 16-bit Timer/Counter (TC) – Three External Clock Input and Two Multi-purpose I/O Pins per Channel (AT91SAM7S512/256/128/64/321/161) – One External Clock Input and Two Multi-purpose I/O Pins for the first Two Channels Only (AT91SAM7S32/16) – Double PWM Generation, Capture/Waveform Mode, Up/Down Capability • ...

Page 3

... Atmel’s AT91SAM7S is a series of low pincount Flash microcontrollers based on the 32-bit ARM RISC processor. It features a high-speed Flash and an SRAM, a large set of peripherals, includ- ing a USB 2.0 device (except for the AT91SAM7S32 and AT91SAM7S16), and a complete set of system functions minimizing the number of external components. The device is an ideal migration path for 8-bit microcontroller users looking for additional performance and extended memory ...

Page 4

Block Diagram Figure 2-1. AT91SAM7S512/256/128/64/321/161 Block Diagram TDI TDO JTAG TMS SCAN TCK JTAGSEL System Controller TST FIQ IRQ0-IRQ1 PCK0-PCK2 PLLRC PLL XIN OSC XOUT RCOSC VDDCORE BOD POR VDDCORE NRST DRXD DTXD RXD0 TXD0 SCK0 RTS0 CTS0 RXD1 ...

Page 5

... Figure 2-2. AT91SAM7S32/16 Block Diagram TDI TDO TMS TCK JTAGSEL System Controller TST FIQ IRQ0 PCK0-PCK2 PLLRC PLL XIN OSC XOUT VDDCORE BOD POR VDDCORE NRST DRXD DTXD RXD0 TXD0 SCK0 RTS0 CTS0 NPCS0 NPCS1 NPCS2 NPCS3 MISO MOSI SPCK ADTRG ...

Page 6

... No pull-up resistor No pull-up resistor No pull-up resistor (1) Pull-down resistor (1) Pull-down resistor Open-drain with pull-Up resistor (1) Pull-down resistor IRQ1 not present on AT91SAM7S32/16 Pulled-up input at reset PA0 - PA20 only on AT91SAM7S32/16 6175IS–ATARM–30-Aug-10 ...

Page 7

... Comments not present on AT91SAM7S32/16 not present on AT91SAM7S32/16 SCK1 not present on AT91SAM7S32/16 TXD1 not present on AT91SAM7S32/16 RXD1 not present on AT91SAM7S32/16 RTS1 not present on AT91SAM7S32/16 CTS1 not present on AT91SAM7S32/16 not present on AT91SAM7S32/16 not present on AT91SAM7S32/16 not present on AT91SAM7S32/16 not present on AT91SAM7S32/16 TCLK1 and TCLK2 not present on ...

Page 8

... Type Level Two-Wire Interface I/O I/O Analog-to-Digital Converter Analog Analog Input Analog Fast Flash Programming Interface Input Input I/O Output High Output Low Input Low Input Input Low 14. Comments Digital pulled-up inputs at reset Analog Inputs PGMD0-PGMD7 only on AT91SAM7S32/16 6175IS–ATARM–30-Aug-10 ...

Page 9

... Package and Pinout The AT91SAM7S512/256/128/64/321 are available in a 64-lead LQFP or 64-pad QFN package. The AT91SAM7S161 is available in a 64-Lead LQFP package. The AT91SAM7S32/16 are available in a 48-lead LQFP or 48-pad QFN package. 4.1 64-lead LQFP and 64-pad QFN Package Outlines Figure 4-1 age. A detailed mechanical description is given in the section Mechanical Characteristics of the full datasheet ...

Page 10

LQFP and 64-pad QFN Pinout Table 4-1. AT91SAM7S512/256/128/64/321/161 Pinout 1 ADVREF 17 2 GND 18 3 AD4 19 4 AD5 20 5 AD6 21 6 AD7 22 7 VDDIN 23 8 VDDOUT 24 9 PA17/PGMD5/AD0 25 10 PA18/PGMD6/AD1 ...

Page 11

... LQFP and 48-pad QFN Package Outlines Figure 4-3 age. A detailed mechanical description is given in the section Mechanical Characteristics of the full datasheet. Figure 4-3. Figure 4-4. 4.4 48-lead LQFP and 48-pad QFN Pinout Table 4-2. AT91SAM7S32/16 Pinout 1 ADVREF 13 2 GND 14 3 AD4 ...

Page 12

Power Considerations 5.1 Power Supplies The AT91SAM7S Series 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: • VDDIN ...

Page 13

Adequate input supply decoupling is mandatory for VDDIN in order to improve startup stability and reduce source voltage drop. The input decoupling capacitor should be placed close to the chip. For example, two capacitors can be used in parallel: 100 ...

Page 14

... PIO Controller A Lines • All the I/O lines PA0 to PA31on AT91SAM7S512/256/128/64/321 (PA0 to PA20 on AT91SAM7S32) are 5V-tolerant and all integrate a programmable pull-up resistor. • All the I/O lines PA0 to PA31 on AT91SAM7S161 (PA0 to PA20 on AT91SAM7S16) are not 5V-tolerant and all integrate a programmable pull-up resistor. ...

Page 15

... The PIO lines PA0 to PA3 are high-drive current capable. Each of these I/O lines can drive permanently. The remaining I/O lines can draw only 8 mA. However, the total current drawn by all the I/O lines cannot exceed 150 mA (100 mA for AT91SAM7S32/16). 6175IS–ATARM–30-Aug-10 AT91SAM7S Series Summary 15 ...

Page 16

Processor and Architecture 7.1 ARM7TDMI Processor • RISC processor based on ARMv4T Von Neumann architecture – Runs MHz, providing 0.9 MIPS/MHz • Two instruction sets – ARM – Thumb • Three-stage pipeline architecture – Instruction ...

Page 17

... Peripheral DMA Controller • Handles data transfer between peripherals and memories • Eleven channels: AT91SAM7S512/256/128/64/321/161 • Nine channels: AT91SAM7S32/16 – Two for each USART – Two for the Debug Unit – Two for the Serial Synchronous Controller – Two for the Serial Peripheral Interface – ...

Page 18

Memories 8.1 AT91SAM7S512 • 512 Kbytes of Flash Memory, dual plane – 2 contiguous banks of 1024 pages of 256 bytes – Fast access time, 30 MHz single-cycle access in Worst Case conditions – Page programming time: 6 ms, ...

Page 19

... Protection Mode to secure contents of the Flash • 16 Kbytes of Fast SRAM – Single-cycle access at full speed 8.5 AT91SAM7S321/32 • 32 Kbytes of Flash Memory, single plane – 256 pages of 128 bytes – Fast access time, 30 MHz single-cycle access in Worst Case conditions – Page programming time: 6 ms, including page auto-erase – ...

Page 20

... BFFF 0xFFFB C000 Reserved 0xFFFB FFFF 0xFFFC 0000 USART0 16 Kbytes 0xFFFC 3FFF 16 Kbytes 0xFFFC 4000 USART1 (Reserved on 0xFFFC 7FFF AT91SAM7S32/16) 0xFFFC 8000 Reserved 0xFFFC BFFF 0xFFFC C000 PWMC 16 Kbytes 0xFFFC FFFF 0xFFFD 0000 Reserved 0xFFFD 3FFF 0xFFFD 4000 SSC 16 Kbytes ...

Page 21

... The AT91SAM7S128 features one bank (single plane) of 128 Kbytes of Flash. • The AT91SAM7S64 features one bank (single plane Kbytes of Flash. • The AT91SAM7S321/32 features one bank (single plane Kbytes of Flash. • The AT91SAM7S161/16 features one bank (single plane Kbytes of Flash. ...

Page 22

... The Flash of the AT91SAM7S64 is organized in 512 pages (single plane) of 128 bytes. The 65,536 bytes are organized in 32-bit words. • The Flash of the AT91SAM7S321/32 is organized in 256 pages (single plane) of 128 bytes. The 32,768 bytes are organized in 32-bit words. • The Flash of the AT91SAM7S161/16 is organized in 256 pages (single plane bytes. ...

Page 23

Lock Regions 8.8.3.1 AT91SAM7S512 Two Embedded Flash Controllers each manage 16 lock bits to protect 16 regions of the flash against inadvertent flash erasing or programming commands. The AT91SAM7S512 contains 32 lock regions and each lock region contains 64 ...

Page 24

... AT91SAM7S321/32 The Embedded Flash Controller manages 8 lock bits to protect 8 regions of the flash against inadvertent flash erasing or programming commands. The AT91SAM7S321/32 contains 8 lock regions and each lock region contains 32 pages of 128 bytes. Each lock region has a size of 4 Kbytes locked-region’s erase or program command occurs, the command is aborted and the LOCKE bit in the MC_FSR register rises and the interrupt line rises if the LOCKE bit has been written the MC_FMR register ...

Page 25

Security Bit Feature The AT91SAM7S Series features a security bit, based on a specific NVM Bit. When the security is enabled, any access to the Flash, either through the ICE interface or through the Fast Flash Programming Interface, is ...

Page 26

... The SAM-BA Boot Assistant is a default Boot Program that provides an easy way to program in situ the on-chip Flash memory. The SAM-BA Boot Assistant supports serial communication through the DBGU or through the USB Device Port. (The AT91SAM7S32/16 have no USB Device Port.) • Communication through the DBGU supports a wide range of crystals from MHz via software auto-detection. ...

Page 27

Figure 9-1. System Controller Block Diagram (AT91SAM7S512/256/128/64/321/161) NRST XIN XOUT PLLRC PA0-PA31 6175IS–ATARM–30-Aug-10 AT91SAM7S Series Summary wdt_irq dbgu_irq pmc_irq rstc_irq MCK Debug periph_nreset Unit dbgu_rxd Periodic MCK debug Interval periph_nreset Timer SLCK Real-Time Timer periph_nreset SLCK Watchdog debug idle Timer ...

Page 28

... Figure 9-2. System Controller Block Diagram (AT91SAM7S32/16) periph_irq[2..14] pit_irq rtt_irq wdt_irq dbgu_irq pmc_irq rstc_irq periph_nreset periph_nreset periph_nreset en BOD POR NRST RCOSC XIN OSC XOUT PLL PLLRC periph_nreset periph_nreset periph_clk[2] PA0-PA20 AT91SAM7S Series Summary 28 Interrupt Controller MCK Debug Unit dbgu_rxd Periodic MCK ...

Page 29

Reset Controller The Reset Controller is based on a power-on reset cell and one brownout detector. It gives the status of the last reset, indicating whether power-up reset, a software reset, a user reset, a watchdog ...

Page 30

... The Power Management Controller uses the Clock Generator outputs to provide: • the Processor Clock PCK • the Master Clock MCK • the USB Clock UDPCK (not present on AT91SAM7S32/16) • all the peripheral clocks, independently controllable • three programmable clock outputs The Master Clock (MCK) is programmable from a few hundred Hz to the maximum operating fre- quency of the device ...

Page 31

Figure 9-4. 9.4 Advanced Interrupt Controller • Controls the interrupt lines (nIRQ and nFIQ ARM Processor • Individually maskable and vectored interrupt sources – Source 0 is reserved for the Fast Interrupt Input (FIQ) – Source 1 is ...

Page 32

... Chip ID is 0x27090544 for AT91SAM7S64 Rev C – Chip ID is 0x27080342 for AT91SAM7S321 Rev A – Chip ID is 0x27080340 for AT91SAM7S32 Rev A – Chip ID is 0x27080341 for AT91SAM7S32 Rev B – Chip ID is 0x27050241 for AT9SAM7S161 Rev A – Chip ID is 0x27050240 for AT91SAM7S16 Rev A Note: 9 ...

Page 33

... Programmable 16-bit prescaler for SLCK accuracy compensation 9.9 PIO Controller • One PIO Controller, controlling 32 I/O lines (21 for AT91SAM7S32/16) • Fully programmable through set/clear registers • Multiplexing of two peripheral functions per I/O line • For each I/O line (whether assigned to a peripheral or used as general-purpose I/O) – ...

Page 34

... Peripheral Identifiers The AT91SAM7S Series embeds a wide range of peripherals. Identifiers of the AT91SAM7S512/256/128/64/321/161. fiers of the AT91SAM7S32/16. A peripheral identifier is required for the control of the peripheral interrupt with the Advanced Interrupt Controller and for the control of the peripheral clock with the Power Management Controller. ...

Page 35

... The AT91SAM7S Series features one PIO controller, PIOA, that multiplexes the I/O lines of the peripheral set. PIO Controller A controls 32 lines (21 lines for AT91SAM7S32/16). Each line can be assigned to one of two peripheral functions Some of them can also be multiplexed with the analog inputs of the ADC Controller. ...

Page 36

PIO Controller A Multiplexing Table 10-3. Multiplexing on PIO Controller A (AT91SAM7S512/256/128/64/321/161) PIO Controller A I/O Line Peripheral A PA0 PWM0 PA1 PWM1 PA2 PWM2 PA3 TWD PA4 TWCK PA5 RXD0 PA6 TXD0 PA7 RTS0 PA8 CTS0 PA9 DRXD ...

Page 37

... Table 10-4. Multiplexing on PIO Controller A (AT91SAM7S32/16) PIO Controller A I/O Line Peripheral A PA0 PWM0 PA1 PWM1 PA2 PWM2 PA3 TWD PA4 TWCK PA5 RXD0 PA6 TXD0 PA7 RTS0 PA8 CTS0 PA9 DRXD PA10 DTXD PA11 NPCS0 PA12 MISO PA13 MOSI PA14 SPCK ...

Page 38

... Receiver time-out and transmitter timeguard – Multi-drop Mode with address generation and detection • RS485 with driver control signal AT91SAM7S Series Summary 38 peripherals Sensors and data per chip select 2 compatible devices (refer to the TWI sections of the datasheet AT91SAM7S32/16) ® and 3-wire EEPROMs 6175IS–ATARM–30-Aug-10 ...

Page 39

... Receiver and transmitter include a data signal, a clock signal and a frame synchronization signal 10.9 Timer Counter • Three 16-bit Timer Counter Channels – Two output compare or one input capture per channel (except for AT91SAM7S32/16 • Wide range of functions including: – Frequency measurement – Event counting – Interval measurement – ...

Page 40

... Independent period and duty cycle, with double buffering – Programmable selection of the output waveform polarity – Programmable center or left aligned output waveform 10.11 USB Device Port (Does not pertain to AT91SAM7S32/16) • USB V2.0 full-speed compliant, 12 Mbits per second. • Embedded USB V2.0 full-speed transceiver • ...

Page 41

Package Drawings The SAM7S series devices are available in LQFP and QFN package types. 11.1 LQFP Packages Figure 11-1. 48-and 64-lead LQFP Package Drawing 6175IS–ATARM–30-Aug-10 AT91SAM7S Series Summary 41 ...

Page 42

Table 11-1. Symbol θ 1 θ 2 θ aaa bbb ccc ddd AT91SAM7S Series Summary 42 48-lead LQFP Package Dimensions (in ...

Page 43

Table 11-2. Symbol θ θ θ aaa bbb ccc ddd 6175IS–ATARM–30-Aug-10 AT91SAM7S Series Summary 64-lead LQFP Package Dimensions (in mm) Millimeter Min ...

Page 44

QFN Packages Figure 11-2. 48-pad QFN Package AT91SAM7S Series Summary 44 6175IS–ATARM–30-Aug-10 ...

Page 45

Table 11-3. Symbol aaa bbb ccc 6175IS–ATARM–30-Aug-10 AT91SAM7S Series Summary 48-pad QFN Package Dimensions (in mm) Millimeter Min Nom Max – – 090 – – 0.050 – 0.65 ...

Page 46

Figure 11-3. 64-pad QFN Package Drawing ll dimensions are in mm eference : JEDEC Drawing MO-220 AT91SAM7S Series Summary 46 6175IS–ATARM–30-Aug-10 ...

Page 47

Table 11-4. Symbol aaa bbb ccc 6175IS–ATARM–30-Aug-10 AT91SAM7S Series Summary 64-pad QFN Package Dimensions (in mm) Millimeter Min Nom Max – – 090 – – 0.05 – 0.65 ...

Page 48

... AT91SAM7S Ordering Information Table 12-1. AT91SAM7S Series Ordering Information MLR A Ordering Code MLR B Ordering Code AT91SAM7S16-AU AT91SAM7S16-MU AT91SAM7S161-AU AT91SAM7S32-AU-001 AT91SAM7S32B-AU AT91SAM7S32-MU AT91SAM7S32B-MU AT91SAM7S321-AU AT91SAM7S321-MU AT91SAM7S64B-AU – AT91SAM7S64B-MU AT91SAM7S128-AU-001 – AT91SAM7S128-MU AT91SAM7S256-AU-001 – AT91SAM7S256-MU AT91SAM7S512-AU AT91SAM7S512B-AU AT91SAM7S512-MU AT91SAM7S512B-MU AT91SAM7S Series Summary 48 MLR C Ordering Code – ...

Page 49

... SYSIRQ changed to SYSC in “Peripheral Identifiers” 6175FS AT91SAM7S161 and AT91SAM7S16 added to product family Features: Timer Counter, on Summary,” on page 3, footnote explains TC on AT91SAM7S32/16 has only two channels accessible via PIO, and in Section 10.9 ”Timer Section 10.6 ”Two-wire slave addressing, Modes for AT91SAM7S161/16 “ ...

Page 50

Doc. Rev Comments 6175GS “Features”,“Debug Unit (DBGU)” Communication” Section 7.4 ”Peripheral DMA Section 9. ”System Controller”, Section 9.1.1 ”Brownout Detector and Power-on Section 9.5 ”Debug Unit”, the list; B and SAM7S64 Rev B to the list. Section 12. ”AT91SAM7S Ordering ...

Page 51

... Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ...

Related keywords