AT91FR40162S ATMEL Corporation, AT91FR40162S Datasheet - Page 13

no-image

AT91FR40162S

Manufacturer Part Number
AT91FR40162S
Description
MicroControllers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91FR40162S-CJ
Manufacturer:
ATMEL
Quantity:
455
Part Number:
AT91FR40162S-CJ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT91FR40162S-CU
Manufacturer:
ATMEL
Quantity:
2 450
Part Number:
AT91FR40162S-CU
Manufacturer:
ATMEL
Quantity:
9
Part Number:
AT91FR40162SB-CI
Manufacturer:
NXP
Quantity:
459
Part Number:
AT91FR40162SB-CI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT91FR40162SB-CJ
Manufacturer:
ATMEL
Quantity:
2 140
Part Number:
AT91FR40162SB-CU
Manufacturer:
ATMEL
Quantity:
2 140
Part Number:
AT91FR40162SB-CU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT91FR40162SB-CU-999
Manufacturer:
Atmel
Quantity:
10 000
www.DataSheet4U.com
DataSheet
6.7.2
6.8
6.8.1
6174AS–ATARM–25-May-05
4
U
.com
Peripherals
Programming System
Peripheral Registers
When starting, PIO input change interrupts are initialized on the RXD lines of both USARTs.
When an interrupt occurs, a Timer Counter channel is started. When the next input change is
detected on the RXD line, the Timer Counter channel is stopped. This is how the first charac-
ter length is measured and the USART can be initiated by taking into account the ratio
between the device master clock speed and the actual communication baud rate speed.
The Programming System, then, can send commands and data following a proprietary proto-
col for the Flash device to be programmed. It is up to the Programming System to erase and
program the first sector of the Flash as the last step of the operation, in order to reduce, to a
minimum, the risk that the Flash Memory Uploader is erased and the power supply shuts
down.
Note that in the event that the Flash Memory Uploader is erased from the first sector while the
new final application is not yet programmed, and while the target system power supply is
switched off, it leads to a non-recoverable error and the AT91FR40162S cannot be re-pro-
grammed by using the Flash Memory Uploader.
Atmel provides a free Host Loader that runs on an IBM
Windows
site and requires only a serial cable to connect the Host to the Target.
Communications can be selected on either COM1 or COM2 and the serial link speed is limited
to 115200 bauds. Because the serial link is the bottleneck in this configuration, the Flash pro-
gramming lasts 110 seconds per Mbyte.
Reduced programming time can be achieved by using a faster programming system. An AT91
Evaluation Board is capable of running a serial link at up to 500 Kbits/sec and can match the
fastest programming allowed by the Flash, for example, about 40 seconds per Mbyte when the
word programming becomes the bottleneck.
For more details about the Flash Memory Uploader protocol and the Host Loader Program-
ming System, see the application note page of the AT91 Products at www.atmel.com.
The AT91FR40162S peripherals are connected to the 32-bit wide Advanced Peripheral Bus.
Peripheral registers are only word accessible. Byte and half-word accesses are not supported.
If a byte or a half-word access is attempted, the memory controller automatically masks the
lowest address bits and generates a word access.
Each peripheral has a 16-Kbyte address space allocated (the AIC only has a 4-Kbyte address
space).
The following registers are common to all peripherals:
• Control Register – write only register that triggers a command when a one is written to the
• Mode Register – read/write register that defines the configuration of the peripheral. Usually
• Data Registers – read and/or write register that enables the exchange of data between the
corresponding position at the appropriate address. Writing a zero has no effect.
has a value of 0x0 after a reset.
processor and the peripheral.
®
98 or Windows
®
2000 operating system. It can be downloaded from the Atmel Web
®
compatible PC under Windows
AT91FR40162S
®
95,
13

Related parts for AT91FR40162S