338
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
The 4/8/12 MHz Fast RC oscillator is calibrated in production. This calibration can be read
through the Get CALIB Bit command. The table below shows the bit implementation for each
frequency:
The RC calibration for 4 MHz is set to 1,000,000.
19.4.3.7
Security Bit Protection
When the security is enabled, access to the Flash, either through the JTAG/SWD interface or
through the Fast Flash Programming Interface, is forbidden. This ensures the confidentiality of
the code programmed in the Flash.
The security bit is GPNVM0.
Disabling the security bit can only be achieved by asserting the ERASE pin at 1, and after a full
Flash erase is performed. When the security bit is deactivated, all accesses to the Flash are
permitted.
19.4.3.8
Unique Identifier
Each part is programmed with a 128-bit Unique Identifier. It can be used to generate keys for
example.
To read the Unique Identifier the sequence is:
• Send the Start Read unique Identifier command (STUI) by writing the Flash Command
Register with the STUI command.
• When the Unique Identifier is ready to be read, the FRDY bit in the Flash Programming
Status Register (EEFC_FSR) falls.
• The Unique Identifier is located in the first 128 bits of the Flash memory mapping, thus, at the
address
0x00400000-0x004003FF
.
• To stop the Unique Identifier mode, the user needs to send the Stop Read unique Identifier
command (SPUI) by writing the Flash Command Register with the SPUI command.
• When the Stop read Unique Identifier command (SPUI) has been performed, the FRDY bit in
the Flash Programming Status Register (EEFC_FSR) rises. If an interrupt was enabled by
setting the FRDY bit in EEFC_FMR, the interrupt line of the NVIC is activated.
Note that during the sequence, the software can not run out of Flash (or the second plane in
case of dual plane).
19.4.3.9
User Signature
Each part contains a User Signature of 512-bytes. It can be used by the user for storage. Read,
write and erase of this area is allowed.
To read the User Signature, the sequence is as follows:
• Send the Start Read User Signature command (STUS) by writing the Flash Command
Register with the STUS command.
• When the User Signature is ready to be read, the FRDY bit in the Flash Programming Status
Register (EEFC_FSR) falls.
RC Calibration Frequency
EEFC_FRR Bits
8 MHz output
[28 - 22]
12 MHz output
[38 - 32]
Summary of Contents for SAM4S Series
Page 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Page 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...