1 mpc 555 memory controller and chip select. 2 how does keyboard know it’s memory map? processor...

13
1 MPC 555 Memory Controller and Chip Select

Upload: norman-barker

Post on 24-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

1

MPC 555 Memory Controller and Chip

Select

Page 2: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

2

How Does Keyboard Know It’s Memory Map?

processor

Keyboard

Data register 0xf0000000Control register R 0xf0000004

CS Base(0xf0000000)

#Bytes (256) Chip-Select 0 (CS0)

ChipEnable

Page 3: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

3

MPC 555 Memory Controller

Page 4: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

4

Memory Controller Block Diagram

Page 5: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

5

Chip Select Based System Design

Device (Keyboard)

CSx

Page 6: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

6

Chip Select with Peripheral

ACS: Address to CS SetupCSNT: Chip Select Negation Time

Page 7: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

7

Memory Controller Address Map

Page 8: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

8

Chip Select Programming

Page 9: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

9

CS Base Address Register bits

31 V Mapping is valid

Page 10: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

10

CS Programming: Option Registers

Page 11: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

11

Option Register bits

Page 12: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

12

Address Match Logic

Page 13: 1 MPC 555 Memory Controller and Chip Select. 2 How Does Keyboard Know It’s Memory Map? processor Keyboard Data register 0xf0000000 Control registerR 0xf0000004

13

Example Device

Keyboard/Device foo memory map:

0x001f 0000 to 0x00ff ffff

CS1 programmed as: BR1[BA] 0x003e;

OR1[AM] 0x01fe;