Sony AR-B1570 manual Keyboard Controller, Interrupt Controller

Page 9

AR-B1570 Users Guide

2.3 KEYBOARD CONTROLLER

The 8042 processor is programmed to support the keyboard serial interface. The keyboard controller receives serial data from the keyboard, checks its parity, translates scan codes, and presents it to the system as a byte data in its output buffer. The controller can interrupt the system when data is placed in its output buffer, or wait for the system to poll its status register to determine when data is available.

Data can be written to the keyboard by writing data to the output buffer of the keyboard controller.

Each byte of data is sent to the keyboard controller in a series with an odd parity bit automatically inserted. The keyboard controller is required to acknowledge all data transmissions. Therefore, another byte of data will not be sent to keyboard controller until acknowledgment is received for the previous byte sent. The “output buffer full” interruption may be used for both send and receive routines.

2.4 INTERRUPT CONTROLLER

The equivalent of two 8259 Programmable Interrupt Controllers (PIC) are included on the AR-B1570 board. They accept requests from peripherals, resolve priorities on pending interrupts in service, issue interrupt requests to the CPU, and provide vectors which are used as acceptance indices by the CPU to determine which interrupt service routine to execute. These two controllers are cascaded with the second controller representing IRQ8 to IRQ15, which is rerouted through IRQ2 on the first controller.

The following is the system information of interrupts levels:

Interrupt Level

NMI

CTRL1 CTRL2 IRQ0

IRQ1

IRQ2

Description

Parity check

System timer interrupt from timer 8254 keyboard output buffer full Rerouting to IRQ8 to IRQ15

 

 

 

 

IRQ8:Real time clock

 

 

 

 

 

 

 

 

IRQ9:Reserved

 

 

 

 

IRQ10:LAN adapters(based on PCI INT routing)

 

 

 

 

IRQ12:Reserved for PS/2 mouse

 

 

 

 

 

 

 

IRQ13:Math.Co-processor

 

 

 

 

IRQ14:Hard disk adapter

 

 

 

 

IRQ15:Hard disk adapter

 

 

 

 

IRQ3

 

Serial port(depends on setup assignment)

IRQ4

 

Serial port(depends on setup assignment)

IRQ5

 

Reserved

IRQ6

 

Reserved for floppy disk adapter

IRQ7

 

Parallel port 1

 

 

 

 

Interrupt Controller

8

Image 9
Contents Industrial Grade CPU Board AR-B1570 User’s Guide Save & Exit Setup Exit Without Saving Preface Organization Static Electricity PrecautionsOverview 1SPECIFICATIONPacking List CPU NS Geode GX1 BGAFeatures Award BiosCPU NS Geode GX1 System Controller MicroprocessorDMA Controller Keyboard Controller Interrupt ControllerInterrupt Controller Hex Range Device 1 I/O Port Address MapSSD Port Address MapReal-Time Clock and Non-Volatile RAM TimerAddress Description Real-Time Clock & Non-Volatile RAMSerial Port Line Status Register LSR Modem Control Register MCRModem Status Register MSR Divisor Latch LS, MSRegister Address Parallel PortPrinter Interface Logic Data SwapperBit’s Definition Printer Control Latch & Printer Control SwapperSystem Setting Setting UP the SystemOverview External System LocationPin Hard Disk IDE Connector CN8 Hard Disk IDE ConnectorPin Hard Disk IDE Connector CN7 Pin SignalFDD Port Connector CN3 Hard Disk IDE1 ConnectorFDD Pin Assignment 4 PS/2 KB/Mouse Connector CN4 & PS1 Ethernet RJ-45 Connector LAN1Reset Header J7 PS-ON Header CN9CRT Connector P4 Power Connector PWR2LCD Panel Display Connector LCD1 P4 CRT ConnectorLED Header J8 USB ConnectorUSB1LCD Display Pin Assignment Pin Description13 PC104 Connector Pin PC/104 Connector Bus a & B PC104Pin PC/104 Connector Bus C & D PC104 16 Ext. Battery CN1 Parallel Port Connector CN2Battery Jumper JP2 15 IR. Header J118 COM1, COM2 CN5, CN6 RS-232 Connector Pin AssignmentRS-232/RS-485 Select for COM1 P2 & P3 RS-485 Terminator Select J2Touch Screen Connector J3 & J4 ATX Power External Bottom Connector J620 D.O.C. Memory Address Select JP1 Installation Driver InstallationUtility Diskette Watchdog Timer Watchdog Block DiagramDisk Watchdog Timer Setting Watchdog Timer TriggerIRQ Bios Console Bios Setup OverviewBios Setup Main Menu Date & Time Setup Standard Cmos SetupHard Disk Setup Floppy SetupHalt On EGA/VGAMono Bios Features Setup Typematic Delay Msec Typematic Rate SettingVideo Bios Shadow Memory Parity CheckBit I/O Cycle Recovery Time Chipset Features SetupChipset Features Setup Sdram CAS latency TimeLoad Default Setting PNP/PCI ConfigurationLoad Bios Defaults Load Setup DefaultsIntegrated Peripherals Password Setting Bios ExitIDE HDD Auto Detection