SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 60

no-image

SAM4S16C

Manufacturer Part Number
SAM4S16C
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM4S16C

Flash (kbytes)
1024 Kbytes
Pin Count
100
# Of Touch Channels
32
Hardware Qtouch Acquisition
No
Max I/o Pins
79
Ext Interrupts
79
Usb Transceiver
1
Quadrature Decoder Channels
2
Usb Speed
Full Speed
Usb Interface
Device
Spi
3
Twi (i2c)
2
Uart
4
Ssc
1
Sd / Emmc
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
12
Adc Speed (ksps)
1000
Analog Comparators
1
Resistive Touch Screen
No
Dac Channels
2
Dac Resolution (bits)
12
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
128
Self Program Memory
YES
External Bus Interface
1
Dram Memory
No
Nand Interface
Yes
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Operating Voltage (vcc)
1.62 to 3.6
Fpu
No
Mpu / Mmu
Yes / No
Timers
6
Output Compare Channels
6
Input Capture Channels
6
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
11.4.2.5
60
60
MPU Programming
SAM4S
SAM4S
Bit-banding
Use a DSB followed by an ISB instruction or exception return to ensure that the new MPU con-
figuration is used by subsequent instructions.
A bit-band region maps each word in a bit-band alias region to a single bit in the bit-band region.
The bit-band regions occupy the lowest 1 MB of the SRAM and peripheral memory regions.
The memory map has two 32 MB alias regions that map to two 1 MB bit-band regions:
Table 11-6.
Table 11-7.
Notes:
The following formula shows how the alias region maps onto the bit-band region:
where:
Address
Range
0x20000000-
0x200FFFFF
0x22000000-
0x23FFFFFF
Address
Range
0x40000000-
0x400FFFFF
0x42000000-
0x43FFFFFF
• accesses to the 32 MB SRAM alias region map to the 1 MB SRAM bit-band region, as shown
• accesses to the 32 MB peripheral alias region map to the 1 MB peripheral bit-band region, as
• Bit_word_offset is the position of the target bit in the bit-band memory region.
• Bit_word_addr is the address of the word in the alias memory region that maps to the
in
shown in
targeted bit.
bit_word_offset = (byte_offset x 32) + (bit_number x 4)
bit_word_addr = bit_band_base + bit_word_offset
Table
1. A word access to the SRAM or peripheral bit-band alias regions map to a single bit in the
2. Bit-band accesses can use byte, halfword, or word transfers. The bit-band transfer size
SRAM or peripheral bit-band region.
matches the transfer size of the instruction making the bit-band access.
11-6.
Table
SRAM Memory Bit-banding Regions
Peripheral Memory Bit-banding Regions
Memory
Region
SRAM bit-band
region
SRAM bit-band alias
Memory
Region
Peripheral bit-band
alias
Peripheral bit-band
region
11-7.
Instruction and Data Accesses
Direct accesses to this memory range behave as SRAM
memory accesses, but this region is also bit-addressable
through bit-band alias.
Data accesses to this region are remapped to bit-band
region. A write operation is performed as read-modify-
write. Instruction accesses are not remapped.
Instruction and Data Accesses
Direct accesses to this memory range behave as
peripheral memory accesses, but this region is also bit-
addressable through bit-band alias.
Data accesses to this region are remapped to bit-band
region. A write operation is performed as read-modify-
write. Instruction accesses are not permitted.
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11

Related parts for SAM4S16C