at94k40al ATMEL Corporation, at94k40al Datasheet - Page 52
at94k40al
Manufacturer Part Number
at94k40al
Description
At94kal Series Field Programmable System Level Integrated Circuit
Manufacturer
ATMEL Corporation
Datasheet
1.AT94K40AL.pdf
(204 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at94k40al-25DQC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
- Current page: 52 of 204
- Download datasheet (4Mb)
4.12
52
Software Control of System Configuration
AT94KAL Series FPSLIC
Stack Pointer – SP
The general AVR 16-bit Stack Pointer is effectively built up of two 8-bit registers in the I/O space
locations $3E ($5E) and $3D ($5D). Future versions of FPSLIC may support up to 64K Bytes of
memory; therefore, all 16 bits are used.
The Stack Pointer points to the data SRAM stack area where the Subroutine and Interrupt
Stacks are located. This Stack space in the data SRAM must be defined by the program before
any subroutine calls are executed or interrupts are enabled. The stack pointer must be set to
point above $60. The Stack Pointer is decremented by one when data is pushed onto the Stack
with the PUSH instruction, and it is decremented by two when an address is pushed onto the
Stack with subroutine calls and interrupts. The Stack Pointer is incremented by one when data is
popped from the Stack with the POP instruction, and it is incremented by two when an address
is popped from the Stack with return from subroutine RET or return from interrupt RETI.
The software control register will allow the software to manage select system level configuration
bits.
Software Control Register – SFTCR
• Bits 7..4 - Res: Reserved Bits
These bits are reserved in the AT94K and always read as zero.
• Bit 3 - FMXOR: Frame Mode XOR (Enable/Disable)
This bit is XORed with the System Control Register’s Enable Frame Interface bit. The behavior
when this bit is set to 1 is dependent on how the SCR was initialized. If the Enable Frame Inter-
face bit in the SCR is 0, the FMXOR bit enables the Frame Interface when set to 1. If the Enable
Frame Interface bit in the SCR is 1, the FMXOR bit disables the Frame Interface when set to 1.
During AVR reset, the FMXOR bit is cleared by the hardware.
• Bit 2 - WDTS: Software Watchdog Test Clock Select
When this bit is set to 1, the test clock signal is selected to replace the AVR internal oscillator
into the associated watchdog timer logic. During AVR reset, the WDTS bit is cleared by the
hardware.
• Bit 1 - DBG: Debug Mode
Bit
$3E ($5E)
$3D ($5D)
Read/Write
Initial Value
Bit
$3A ($5A)
Read/Write
Initial Value
15
SP15
SP7
7
R/W
R/W
0
0
7
-
R
0
14
SP14
SP6
6
R/W
R/W
0
0
6
-
R
0
13
SP13
SP5
5
R/W
R/W
0
0
5
-
R
0
R/W
4
-
R
0
12
SP12
SP4
4
R/W
0
0
11
SP11
SP3
3
R/W
R/W
0
0
3
FMXOR
R/W
0
2
WDTS
R/W
0
10
SP10
SP2
2
R/W
R/W
0
0
1
DBG
R/W
0
9
SP9
SP1
1
R/W
R/W
0
0
0
SRST
R/W
0
8
SP8
SP0
0
R/W
R/W
0
0
1138I–FPSLI–1/08
SFTCR
SPH
SPL
Related parts for at94k40al
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
5K - 40K Gates of At40k FPGA with 8-bit Microcontroller, up to 36K Bytes of SRAM and On-chip JTAG ICE
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: