Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 328
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
21.2.2 Signal Names
Depending on the MODE settings, DATA is latched in different internal registers. 
When MODE is equal to CMDE, then a new command (strobed on DATA[15:0] signals) is stored in the command
register. 
PGMEN0
Test Mode Select
Input
High
Must be connected to VDDIO
PGMEN1
Test Mode Select
Input
High
Must be connected to VDDIO
PGMEN2
Test Mode Select
Input
Low
Must be connected to GND
PIO
PGMNCMD
Valid command available
Input
Low
Pulled-up input at reset
PGMRDY
0: Device is busy
1: Device is ready for a new command
Output
High
Pulled-up input at reset
PGMNOE
Output Enable (active high)
Input
Low
Pulled-up input at reset
PGMNVALID
0: DATA[15:0] is in input mode
1: DATA[15:0] is in output mode
Output
Low
Pulled-up input at reset
PGMM[3:0]
Specifies DATA type (See 
Input
Pulled-up input at reset
PGMD[15:0]
Bi-directional data bus
Input/Output
Pulled-up input at reset
Table 21-1. Signal Description List (Continued)
Signal Name
Function
Type
Active 
Level
Comments
Table 21-2. Mode Coding
MODE[3:0]
Symbol
Data
0000
CMDE
Command Register
0001
ADDR0
Address Register LSBs
0010
ADDR1
0011
ADDR2
0100
ADDR3
Address Register MSBs
0101
DATA
Data Register
Default
IDLE
No register
Table 21-3. Command Bit Coding  
DATA[15:0]
Symbol
Command Executed
0x0011
READ
Read Flash
0x0012
WP
Write Page Flash
0x0022
WPL
Write Page and Lock Flash
0x0032
EWP
Erase Page and Write Page
0x0042
EWPL
Erase Page and Write Page then Lock
0x0013
EA
Erase All
0x0014
SLB
Set Lock Bit
0x0024
CLB
Clear Lock Bit