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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/1.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/2.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/3.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/4.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/5.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/6.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/7.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/8.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/9.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/10.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/11.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/12.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062716/56649dbb5503460f94aad043/html5/thumbnails/13.jpg)
13
Example Device
Keyboard/Device foo memory map:
0x001f 0000 to 0x00ff ffff
CS1 programmed as: BR1[BA] 0x003e;
OR1[AM] 0x01fe;