Electronic Components Datasheet Search
  English  ▼

X  

MEC1632 Datasheet(PDF) 66 Page - Microchip Technology

Part # MEC1632
Description  Low Power 32-Bit Mobile Embedded Controller
PDF  636 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MEC1632 Datasheet(HTML) 66 Page - Microchip Technology

Back Button MEC1632 Datasheet HTML 62Page - Microchip Technology MEC1632 Datasheet HTML 63Page - Microchip Technology MEC1632 Datasheet HTML 64Page - Microchip Technology MEC1632 Datasheet HTML 65Page - Microchip Technology MEC1632 Datasheet HTML 66Page - Microchip Technology MEC1632 Datasheet HTML 67Page - Microchip Technology MEC1632 Datasheet HTML 68Page - Microchip Technology MEC1632 Datasheet HTML 69Page - Microchip Technology MEC1632 Datasheet HTML 70Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 636 page
background image
MEC1632
DS00001592B-page 66
 2012-2018 Microchip Technology Inc.
5.5.3
CONFIGURATION SEQUENCE EXAMPLE
To program the configuration registers, the following sequence must be followed:
1.
Enter Configuration State
2.
Program the Configuration Registers
3.
Exit Configuration State.
The following is an example of a configuration program in Intel 8086 assembly language.
;----------------------------.
; ENTER CONFIGURATION STATE
;----------------------------'
MOV DX,CONFIG_PORT_BASE_ADDRESS
MOV AX,055H ; Config Entry Key
OUT DX,AL
;----------------------------.
; CONFIGURE BASE ADDRESS,
|
; LOGICAL DEVICE 8
|
;----------------------------'
MOV DX,CONFIG_PORT_BASE_ADDRESS
MOV AL,07H
OUT DX,AL ; Point to LD# Config Reg
MOV DX,CONFIG_PORT_BASE_ADDRESS+1
MOV AL, 08H
OUT DX,AL ; Point to Logical Device 8
;
MOV DX,CONFIG_PORT_BASE_ADDRESS
MOV AL,60H
OUT DX,AL ; Point to BASE ADDRESS REGISTER
MOV DX,CONFIG_PORT_BASE_ADDRESS+1
MOV AL,02H
OUT DX,AL ; Update BASE ADDRESS REGISTER
;-----------------------------.
; EXIT CONFIGURATION STATE
;-----------------------------'
MOV DX,CONFIG_PORT_BASE_ADDRESS
MOV AX,0AAH ; Config Exit Key
OUT DX,AL.
5.5.4
CONFIGURATION REGISTER ADDRESS MAPPING
The INDEX PORT defines 256 bytes for configuration. The first 48 of these bytes are Global Configuration registers,
which reside in the first 48 bytes of the Configuration part of the address frame for Logical Device 3Fh. Values of INDEX
greater than 48 map into registers that are specific to the Logical Device specified in the Global Configuration Logical
Device Number Register 7h. These registers reside in upper 20 bytes of the Logical Device address frame. See Section
5.9.2, on page 74 for details.
5.6
Configuring Runtime Register Addresses
5.6.1
RUNTIME REGISTERS
Runtime Registers are registers that are accessible to the Host within the Host I/O address space. These Host I/O
accesses are all mapped into the MEC1632 AHB address space onto devices located on the LPC SPB. Runtime reg-
isters all reside within the first 256 bytes of a 1KB Logical Device address frame. The Host accesses these registers
with 8-bit LPC I/O accesses. Each 8-bit I/O address is mapped into an 8-bit address in the AHB address space, so the
first 256 bytes of the Logical Device frame can accommodate 256 LPC Runtime Registers per Logical Device. The Host
I/O addresses are determined by a block of Base Address Registers located in the LPC Logical Device. The Embedded
Controller can access all the Runtime Registers as well, using loads and stores to full AHB addresses.
5.6.2
BASE ADDRESS REGISTERS
Each Logical Device has a Base Address Register (BAR). These BARs are located in blocks of Configuration Registers
in Logical Device 0Ch, in the AHB address range FF_3360h through FF_3384h. On every LPC bus I/O access all Base
Address Registers are checked in parallel and if any matches the LPC I/O address the MEC1632 claims the bus cycle.



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



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