Electronic Components Datasheet Search
  English  ▼

X  

ST72321BXXX-AUTO Datasheet(PDF) 43 Page - STMicroelectronics

Part # ST72321BXXX-AUTO
Description  8-bit MCU for automotive with 32 to 60 Kbyte Flash/ROM, ADC, 5 timers, SPI, SCI, I2C interface
Download  247 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST72321BXXX-AUTO Datasheet(HTML) 43 Page - STMicroelectronics

Back Button ST72321BXXX-AUTO Datasheet HTML 39Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 40Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 41Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 42Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 43Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 44Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 45Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 46Page - STMicroelectronics ST72321BXXX-AUTO Datasheet HTML 47Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 247 page
background image
ST72321Bxxx-Auto
Central processing unit (CPU)
43/247
The stack pointer is a 16-bit register which is always pointing to the next free location in the
stack. It is then decremented after data has been pushed onto the stack and incremented
before data is popped from the stack (see Figure 8).
Since the stack is 256 bytes deep, the 8 most significant bits are forced by hardware.
Following an MCU Reset, or after a reset stack pointer instruction (RSP), the stack pointer
contains its reset value (the SP7 to SP0 bits are set) which is the stack higher address.
The least significant byte of the stack pointer (called S) can be directly accessed by an LD
instruction.
Note:
When the lower limit is exceeded, the stack pointer wraps around to the stack upper limit,
without indicating the stack overflow. The previously stored information is then overwritten
and therefore lost. The stack also wraps in case of an underflow.
The stack is used to save the return address during a subroutine call and the CPU context
during an interrupt. The user may also directly manipulate the stack by means of the PUSH
and POP instructions. In the case of an interrupt, the PCL is stored at the first location
pointed to by the SP. The other registers are then stored in the next locations as shown in
Figure 8.
When an interrupt is received, the SP is decremented and the context is pushed on the
stack.
On return from interrupt, the SP is incremented and the context is popped from the
stack.
A subroutine call occupies two locations and an interrupt five locations in the stack area.
Figure 8.
Stack manipulation example
PCH
PCL
SP
PCH
PCL
SP
PCL
PCH
X
A
CC
PCH
PCL
SP
PCL
PCH
X
A
CC
PCH
PCL
SP
PCL
PCH
X
A
CC
PCH
PCL
SP
SP
Y
CALL
Subroutine
Interrupt
Event
PUSH Y
POP Y
IRET
RET
or RSP
@ 01FFh
@ 0100h
Stack Higher Address = 01FFh
Stack Lower Address = 0100h


Similar Part No. - ST72321BXXX-AUTO

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
ST72321B STMICROELECTRONICS-ST72321B Datasheet
3Mb / 187P
64/44-pin 8-bit MCU with 32 to 60K Flash/ROM, ADC, five timers, SPI, SCI, I2C interface
ST72321B-D STMICROELECTRONICS-ST72321B-D Datasheet
220Kb / 6P
Raisonances complete, low-cost starter kits for STM8 and ST7
ST72321B-DRAIS STMICROELECTRONICS-ST72321B-DRAIS Datasheet
220Kb / 6P
Raisonances complete, low-cost starter kits for STM8 and ST7
ST72321BARx STMICROELECTRONICS-ST72321BARx Datasheet
2Mb / 187P
32K to 60K dual voltage High Density Flash
October 2008 Rev 5
ST72321BJx STMICROELECTRONICS-ST72321BJx Datasheet
2Mb / 187P
32K to 60K dual voltage High Density Flash
October 2008 Rev 5
More results

Similar Description - ST72321BXXX-AUTO

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
ST72325 STMICROELECTRONICS-ST72325_07 Datasheet
3Mb / 196P
8-bit MCU with 16 to 60K Flash/ROM, ADC, CSS, 5 timers, SPI, SCI, I2C interface
ST72325XX STMICROELECTRONICS-ST72325XX Datasheet
3Mb / 197P
8-bit MCU with 16 to 60K Flash/ROM, ADC, CSS, 5 timers, SPI, SCI, I2C interface
ST7232A STMICROELECTRONICS-ST7232A Datasheet
1Mb / 154P
8-BIT MCU WITH 8K FLASH/ROM, ADC, 4 TIMERS, SPI, SCI INTERFACE
ST72F321 STMICROELECTRONICS-ST72F321 Datasheet
3Mb / 189P
64/44-PIN 8-BIT MCU WITH 32 TO 60K FLASH/ROM, ADC, FIVE TIMERS, SPI, SCI, I2C INTERFACE
ST72321M6 STMICROELECTRONICS-ST72321M6 Datasheet
2Mb / 175P
80-pin 8-bit MCU with 32 to 60 Kbytes Flash, ADC, five timers, SPI, SCI, I2C interface
ST72321 STMICROELECTRONICS-ST72321_04 Datasheet
4Mb / 189P
64/44-PIN 8-BIT MCU WITH 32 TO 60K FLASH/ROM, ADC,FIVE TIMERS, SPI, SCI, I2C INTERFACE
ST72321B STMICROELECTRONICS-ST72321B Datasheet
3Mb / 187P
64/44-pin 8-bit MCU with 32 to 60K Flash/ROM, ADC, five timers, SPI, SCI, I2C interface
ST72325 STMICROELECTRONICS-ST72325 Datasheet
1Mb / 193P
8-BIT MCU WITH 16 TO 60K FLASH/ROM, ADC, CSS, FIVE TIMERS, SPI, SCI, I2C INTERFACE
ST72321J STMICROELECTRONICS-ST72321J Datasheet
2Mb / 179P
8-BIT MCU WITH NESTED INTERRUPTS, FLASH, 10-BIT ADC, 5 TIMERS, SPI, SCI, I2C INTERFACE
July 2003 Rev. 1.8
ST72F521R6TA STMICROELECTRONICS-ST72F521R6TA Datasheet
3Mb / 215P
80/64-PIN 8-BIT MCU WITH 32 TO 60K FLASH/ROM, ADC, FIVE TIMERS, SPI, SCI, I2C, CAN INTERFACE
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com