Electronic Components Datasheet Search
  English  ▼

X  

AN2104 Datasheet(PDF) 9 Page - Freescale Semiconductor, Inc

Part # AN2104
Description  Using Background Debug Mode for the M68HC12 Family
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

AN2104 Datasheet(HTML) 9 Page - Freescale Semiconductor, Inc

Back Button AN2104 Datasheet HTML 5Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 6Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 7Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 8Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 9Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 10Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 11Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 12Page - Freescale Semiconductor, Inc AN2104 Datasheet HTML 13Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 20 page
background image
Application Note
M68HC12 Operating Modes
AN2104
9
These examples deal with the levels on the BKGD, MODA, and MODB
pins during a reset to determine which mode the part will come up in. The
user can also change the mode of operation by writing to the mode
register after the part is powered up. See Figure 5.
The MODE register can be read at any time. However, writing to this
register presents some restrictions. First, if the part comes up in the
normal mode, it can be changed only to another normal mode. This
change can be done only once.
The special mode does not have this limitation, since the values of the
MODA and MODB pins can be changed as many times as desired as
long as the part remains in special mode.
Next, coming up in the special mode, the part can change to the normal
mode, but must write to the SMODN bit in this register two times, as the
first write is ignored.
Table 4. Mode Selection
BKGD
MODB
MODA
Mode
Port A
Port B
0
0
0
Special single chip
General-
purpose I/O
General-
purpose I/O
0
0
1
Special expanded narrow
ADDR[15:8]
DATA[7:0]
ADDR[7:0]
0
1
0
Special peripheral
ADDR
DATA
ADDR
DATA
0
1
1
Special expanded wide
ADDR
DATA
ADDR
DATA
1
0
0
Normal single chip
General-
purpose I/O
General-
purpose I/O
1
0
1
Normal expanded narrow
ADDR[15:8]
DATA[7:0]
ADDR[7:0]
11
0
Reserved
(forced to peripheral)
——
1
1
1
Normal expanded wide
ADDR
DATA
ADDR
DATA
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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