AT91SAM7S64_DS.PDF

(2636 KB) Pobierz
Atmel AT91SAM7S64 Datasheet
Features
• Incorporates the ARM7TDMI ® ARM ® Thumb ® Processor
– High-performance 32-bit RISC Architecture
– High-density 16-bit Instruction Set
– Leader in MIPS/Watt
– Embedded ICE In-circuit Emulation, Debug Communication Channel Support
• 64 Kbytes of Internal High-speed Flash, Organized in 512 Pages of 128 Bytes
– Single Cycle Access at Up to 30 MHz in Worst Case Conditions,
Prefetch Buffer Optimizing Thumb Instruction Execution at Maximum Speed
– Page Programming Time: 4 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
• 16 Kbytes of Internal High-speed SRAM, Single-cycle Access at Maximum Speed
• Memory Controller (MC)
– Embedded Flash Controller, Abort Status and Misalignment Detection
• Reset Controller (RSTC)
– Based on Power-on Reset and Low-power Factory-calibrated Brownout Detector
– Provides External Reset Signal Shaping and Reset Source Status
• Clock Generator (CKGR)
– Low-power RC Oscillator, 3 to 20 MHz On-chip Oscillator and one PLL
• Power Management Controller (PMC)
– Software Power Optimization Capabilities, Including Slow Clock Mode (Down to
500 Hz) and Idle Mode
– Three Programmable External Clock Signals
• 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)
– 2-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 Timer (RTT)
– 32-bit Free-running Counter with Alarm
– Runs Off the Internal RC Oscillator
• One Parallel Input/Output Controller (PIOA)
– Thirty-two 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 USB 2.0 Full Speed (12 Mbits per second) Device Port
– On-chip Transceiver, 328-byte Configurable Integrated FIFOs
• One Synchronous Serial Controller (SSC)
– Independent Clock and Frame Sync Signals for Each Receiver and Transmitter
– I²S Analog Interface Support, Time Division Multiplex Support
AT91 ARM ®
Thumb ® -based
Microcontrollers
AT91SAM7S64
Preliminary
6070B–ATARM–25-Feb-05
647846892.201.png 647846892.212.png 647846892.223.png
 
647846892.001.png 647846892.012.png
 
– High-speed Continuous Data Stream Capabilities with 32-bit Data Transfer
• 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
– 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 Mode Support Only, All Two-wire Atmel EEPROMs Supported
• One 8-channel 10-bit Analog-to-Digital Converter, Four Channels Multiplexed with Digital I/Os
• IEEE 1149.1 JTAG Boundary Scan on All Digital Pins
• 5V-tolerant I/Os, including Four High-current Drive I/O lines, Up to 16 mA Each
• Power Supplies
– Embedded 1.8V Regulator, Drawing up to 100 mA for the Core and External Components
– 3.3V VDDIO I/O Lines Power Supply, Independent 3.3V VDDFLASH Flash Power Supply
– 1.8V VDDCORE Core Power Supply with Brownout Detector
• Fully Static Operation: Up to 55 MHz at 1.65V and 85 ° C Worst Case Conditions
• Available in a 64-lead LQFP Package
1. Description
Atmel’s AT91SAM7S64 is a member of a series of low pincount Flash microcontrollers based on
the 32-bit ARM RISC processor. It features a 64 Kbyte high-speed Flash and a 16 Kbyte SRAM,
a large set of peripherals, including a USB 2.0 device, 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.
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 secu-
rity bit protect the firmware from accidental overwrite and preserves its confidentiality.
The AT91SAM7S64 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 RC
oscillator.
The AT91SAM7S64 is a general-purpose microcontroller. Its integrated USB Device port makes
it an ideal device for peripheral applications requiring connectivity to a PC or cellular phone. Its
aggressive price point and high level of integration pushes its scope of use far into the cost-sen-
sitive, high-volume consumer market.
2
AT91SAM7S64 Preliminary
6070B–ATARM–25-Feb-05
647846892.033.png
AT91SAM7S64 Preliminary
2. Block Diagram
Figure 2-1. AT91SAM7S64 Block Diagram
TDI
TDO
TMS
TCK
JTAG
SCAN
ICE
ARM7TDMI
Processor
JTAGSEL
1.8 V
Voltage
Regulator
VDDIN
TST
System Controller
GND
VDDOUT
FIQ
VDDCORE
AIC
IRQ0-IRQ1
Memory Controller
SRAM
16 Kbytes
VDDIO
PCK0-PCK2
Embedded
Flash
Controller
Address
Decoder
PLLRC
PLL
XIN
XOUT
PMC
Abort
Status
Misalignment
Detection
OSC
VDDFLASH
RCOSC
Flash
64 Kbytes
ERASE
VDDCORE
BOD
Peripheral Bridge
VDDCORE
POR
Reset
Controller
Peripheral DMA
Controller
PGMRDY
PGMNVALID
PGMNOE
PGMCK
PGMM0-PGMM3
NRST
Fast Flash
Programming
Interface
11 Channels
PIT
PGMD0-PGMD15
PGMNCMD
PGMEN0-PGMEN2
WDT
APB
RTT
DRXD
DTXD
DBGU
PDC
PDC
FIFO
USB Device
DDM
DDP
PIOA
RXD0
TXD0
SCK0
RTS0
CTS0
PDC
PWMC
PWM0
PWM1
PWM2
PWM3
USART0
PDC
TF
TK
TD
RD
RK
RF
TCLK0
TCLK1
TCLK2
TIOA0
TIOB0
TIOA1
TIOB1
TIOA2
TIOB2
PDC
RXD1
TXD1
SCK1
RTS1
CTS1
DCD1
DSR1
DTR1
RI1
PDC
SSC
USART1
PDC
Timer Counter
PDC
PDC
TC0
NPCS0
NPCS1
NPCS2
NPCS3
MISO
MOSI
SPCK
TC1
TC2
SPI
PDC
TWI
TWD
TWCK
ADTRG
PDC
AD0
AD1
AD2
AD3
ADC
AD4
AD5
AD6
AD7
ADVREF
3
6070B–ATARM–25-Feb-05
647846892.044.png 647846892.055.png 647846892.066.png 647846892.077.png 647846892.088.png 647846892.099.png 647846892.110.png 647846892.121.png 647846892.132.png 647846892.143.png 647846892.154.png 647846892.165.png 647846892.167.png 647846892.168.png 647846892.169.png 647846892.170.png 647846892.171.png 647846892.172.png 647846892.173.png 647846892.174.png 647846892.175.png 647846892.176.png 647846892.177.png 647846892.178.png 647846892.179.png 647846892.180.png 647846892.181.png 647846892.182.png 647846892.183.png 647846892.184.png 647846892.185.png 647846892.186.png 647846892.187.png 647846892.188.png 647846892.189.png 647846892.190.png 647846892.191.png 647846892.192.png 647846892.193.png 647846892.194.png 647846892.195.png 647846892.196.png 647846892.197.png 647846892.198.png 647846892.199.png 647846892.200.png 647846892.202.png 647846892.203.png 647846892.204.png 647846892.205.png 647846892.206.png 647846892.207.png 647846892.208.png 647846892.209.png 647846892.210.png 647846892.211.png 647846892.213.png 647846892.214.png 647846892.215.png 647846892.216.png 647846892.217.png 647846892.218.png 647846892.219.png 647846892.220.png 647846892.221.png 647846892.222.png 647846892.224.png 647846892.225.png 647846892.226.png 647846892.227.png 647846892.228.png 647846892.229.png 647846892.230.png 647846892.231.png 647846892.232.png 647846892.233.png 647846892.234.png 647846892.235.png 647846892.236.png 647846892.237.png 647846892.238.png 647846892.239.png 647846892.240.png 647846892.241.png 647846892.242.png 647846892.243.png 647846892.002.png 647846892.003.png 647846892.004.png 647846892.005.png 647846892.006.png 647846892.007.png 647846892.008.png 647846892.009.png 647846892.010.png 647846892.011.png 647846892.013.png 647846892.014.png 647846892.015.png 647846892.016.png 647846892.017.png 647846892.018.png 647846892.019.png 647846892.020.png 647846892.021.png 647846892.022.png 647846892.023.png 647846892.024.png 647846892.025.png 647846892.026.png 647846892.027.png 647846892.028.png 647846892.029.png 647846892.030.png 647846892.031.png 647846892.032.png 647846892.034.png 647846892.035.png 647846892.036.png 647846892.037.png 647846892.038.png 647846892.039.png 647846892.040.png 647846892.041.png 647846892.042.png 647846892.043.png 647846892.045.png 647846892.046.png 647846892.047.png 647846892.048.png 647846892.049.png 647846892.050.png 647846892.051.png 647846892.052.png 647846892.053.png 647846892.054.png 647846892.056.png 647846892.057.png 647846892.058.png 647846892.059.png 647846892.060.png 647846892.061.png 647846892.062.png 647846892.063.png 647846892.064.png 647846892.065.png 647846892.067.png 647846892.068.png 647846892.069.png 647846892.070.png 647846892.071.png 647846892.072.png 647846892.073.png 647846892.074.png 647846892.075.png 647846892.076.png 647846892.078.png 647846892.079.png 647846892.080.png 647846892.081.png 647846892.082.png 647846892.083.png 647846892.084.png 647846892.085.png 647846892.086.png 647846892.087.png 647846892.089.png 647846892.090.png 647846892.091.png 647846892.092.png 647846892.093.png 647846892.094.png 647846892.095.png 647846892.096.png 647846892.097.png 647846892.098.png 647846892.100.png 647846892.101.png 647846892.102.png 647846892.103.png 647846892.104.png 647846892.105.png 647846892.106.png 647846892.107.png 647846892.108.png 647846892.109.png 647846892.111.png 647846892.112.png 647846892.113.png 647846892.114.png 647846892.115.png 647846892.116.png 647846892.117.png 647846892.118.png 647846892.119.png 647846892.120.png 647846892.122.png 647846892.123.png 647846892.124.png 647846892.125.png 647846892.126.png 647846892.127.png 647846892.128.png 647846892.129.png 647846892.130.png 647846892.131.png 647846892.133.png 647846892.134.png 647846892.135.png 647846892.136.png 647846892.137.png 647846892.138.png 647846892.139.png 647846892.140.png 647846892.141.png 647846892.142.png 647846892.144.png 647846892.145.png 647846892.146.png 647846892.147.png 647846892.148.png 647846892.149.png 647846892.150.png 647846892.151.png 647846892.152.png 647846892.153.png 647846892.155.png 647846892.156.png 647846892.157.png 647846892.158.png 647846892.159.png 647846892.160.png 647846892.161.png
3. Signal Description
Table 3-1.
Signal Description List
Signal Name
Function
Type
Active
Level
Comments
Power
VDDIN
Voltage Regulator Power Supply Input
Power
3.0V to 3.6V
VDDOUT
Voltage Regulator Output
Power
1.85V nominal
VDDFLASH
Flash Power Supply
Power
3.0V to 3.6V
VDDIO
I/O Lines Power Supply
Power
3.0V to 3.6V
VDDCORE
Core Power Supply
Power
1.65V to 1.95V
VDDPLL
PLL
Power
1.65V to 1.95V
GND
Ground
Ground
Clocks, Oscillators and PLLs
XIN
Main Oscillator Input
Input
XOUT
Main Oscillator Output
Output
PLLRC
PLL Filter
Input
PCK0 - PCK2
Programmable Clock Output
Output
ICE and JTAG
TCK
Test Clock
Input
No pull-up resistor
TDI
Test Data In
Input
No pull-up resistor
TDO
Test Data Out
Output
TMS
Test Mode Select
Input
No pull-up resistor
JTAGSEL
JTAG Selection
Input
Pull-down resistor
Flash Memory
ERASE
Flash and NVM Configuration Bits Erase
Command
Input
High
Pull-down resistor
Reset/Test
NRST
Microcontroller Reset
I/O
Low
Pull-Up resistor
TST
Test Mode Select
Input
Pull-down resistor
Debug Unit
DRXD
Debug Receive Data
Input
DTXD
Debug Transmit Data
Output
AIC
IRQ0 - IRQ1
External Interrupt Inputs
Input
FIQ
Fast Interrupt Input
Input
4
AT91SAM7S64 Preliminary
6070B–ATARM–25-Feb-05
647846892.162.png 647846892.163.png
AT91SAM7S64 Preliminary
Table 3-1.
Signal Description List (Continued)
Signal Name
Function
Type
Active
Level
Comments
PIO
PA0 - PA31
Parallel IO Controller A
I/O
Pulled-up input at reset
USB Device Port
DDM
USB Device Port Data -
Analog
DDP
USB Device Port Data +
Analog
USART
SCK0 - SCK1
Serial Clock
I/O
TXD0 - TXD1
Transmit Data
I/O
RXD0 - RXD1
Receive Data
Input
RTS0 - RTS1
Request To Send
Output
CTS0 - CTS1
Clear To Send
Input
DCD1
Data Carrier Detect
Input
DTR1
Data Terminal Ready
Output
DSR1
Data Set Ready
Input
RI1
Ring Indicator
Input
Synchronous Serial Controller
TD
Transmit Data
Output
RD
Receive Data
Input
TK
Transmit Clock
I/O
RK
Receive Clock
I/O
TF
Transmit Frame Sync
I/O
RF
Receive Frame Sync
I/O
Timer/Counter
TCLK0 - TCLK2
External Clock Inputs
Input
TIOA0 - TIOA2
I/O Line A
I/O
TIOB0 - TIOB2
I/O Line B
I/O
PWM Controller
PWM0 - PWM3
PWM Channels
Output
SPI
MISO
Master In Slave Out
I/O
MOSI
Master Out Slave In
I/O
SPCK
SPI Serial Clock
I/O
NPCS0
SPI Peripheral Chip Select 0
I/O
Low
NPCS1-NPCS3
SPI Peripheral Chip Select 1 to 3
Output
Low
5
6070B–ATARM–25-Feb-05
647846892.164.png 647846892.166.png
Zgłoś jeśli naruszono regulamin