KyungHee Univ. 1-0 Parallel Input/Output Controller (PIO)

Slides:



Advertisements
Similar presentations
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Advertisements

PROGRAMMABLE PERIPHERAL INTERFACE -8255
Programmable Interval Timer
Programmable Keyboard/ Display Interface: 8279
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
External Interrupt Module MTT EXTERNAL INTERRUPT REQUEST MODULE (IRQ)
Chapter 2 HARDWARE SUMMARY
Kuliah Mikrokontroler AVR Comparator AVR Eru©September 2009 PENS.
Refer to Chapter 6, 9 in the reference book
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
AVR32 GPIO CS-423 Dick Steflik. What is a GPIO GPIO – General Purpose Input/Output  Flexible software control digital signal  Each GPIO represents a.
NS Training Hardware. System Controller Module.
ARM Session , Spring Copyright © 2012 Mohammad Moallemi.
1 EKT 225 MICROCONTROLLER I CHAPTER 3 I/O PORT PROGRAMMING.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Embedded Systems Design 1 Lecture Set 6 I/O Ports.
Parallel Ports, Power Supply and the Clock Oscillator Material to be covered  Parallel I/O ports  Interfacing external switches and LEDs  Clock Oscillator.
Multiplexed External Bus Interface-MEBIV3 By: Prof. Mahendra B. Salunke Asst. Prof., Department of Computer Engg., SITS, Pune-41
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
The 8253 Programmable Interval Timer
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
I NTRODUCTION P IN CONFIGARATION O PERATING MODE.
Teachers Name : Suman Sarker Telecommunication Technology Subject Name : Microcontroller & Embedded System Subject Code : 6871 Semester : 7th Department.
AT91 Embedded Peripherals
Timers.
Lecture 11 Low Power Modes & Watchdog Timers
I/O Interfacing A lot of handshaking is required between the CPU and most I/O devices. All I/O devices operate asynchronously with respect to the CPU.
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
1 General Purpose and Alternate Function I/O (GPIO and AFIO)
PCA9557: REMOTE 8-BIT I 2 C AND SMBus LOW- POWER I/O EXPANDER.
IO Subsystem IV Ports and peripherals. IO Subsystem (1) All devices connected to the system buses, other than memory and CPU – Input and output ports.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
Microcontroller Intel 8051 [I/O Ports]. Pin out of the 8051 –40 pin package –32 pins are used for the 4 ports. –V CC / V SS –ALE Address Latch Enable.
PPI-8255.
Programmable Interrupt Controller (PIC)
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
MACHINE CYCLE AND T-STATE
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
 The Programmable Interrupt Controller (PlC) functions as an overall manager in an Interrupt-Driven system. It accepts requests from the peripheral equipment,
8255:Programmable Peripheral Interface
HCS12 Technical Training Module 6 – Port Integration, Slide 1 MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All.
16F877A.
AT91SAM7X256 - PIO YoonMo Yeon
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Introduction An interrupt is an event which informs the CPU that its service (action) is needed. Sources of interrupts: Internal fault (e.g.. divide by.
UNIT – Microcontroller.
Refer to Chapter 10 in the reference book
CPU Sequencing 6/30/2018.
Each I/O pin may be configured as either input or output.
Programmable Interval Timer
The 8255 Programmable Peripheral Interface
8259-programmable interrupt controller
Presentation On 8259 Made by Md Shabbir Hasan.
Programmable Interrupt Controller 8259
YOVI 2008 Core Interrupt Controller (INTC)
Architectural Features
PROGRAMMABLE PERIPHERAL INTERFACE -8255
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
Erasable Programmable Logic Devices (EPLDs)
Programmable Electrically Erasable Logic Devices (PEEL)
Port Integration Module
8259 Programmable Interrupt Controller
A register design with parallel load input
XC9500 Architectural Features
Programmable Interrupt Controller (PIC)
CPU Sequencing 7/20/2019.
Presentation transcript:

KyungHee Univ. 1-0 Parallel Input/Output Controller (PIO)

KyungHee Univ. 1-1  Each I/O line of the PIO Controller features: An input change interrupt enabling level change detection on any I/O line. A glitch filter providing rejection of pulses lower than one-half of clock cycle. Multi-drive capability similar to an open drain I/O line. Control of the pull-up of the I/O line. Input visibility and output control. The PIO Controller also features a synchronous output providing up to 32 bits of data output in a single write operation.

KyungHee Univ. 1-2  PIO Controller Block Diagram

KyungHee Univ. 1-3  Parallel Input/Output Controller (PIO)  Pin Multiplexing General-purpose I/O line Peripheral I/Os  External Interrupt Lines Interrupt signals FIQ and IRQ0 to IRQn are multiplexed through the PIO Controllers  Power Management Power Management Controller controls the PIO Controller clock  Interrupt Generation PIO Controller interrupt lines are connected among the interrupt sources 2 to 31

KyungHee Univ. 1-4  PIO I/O Line Control Logic

KyungHee Univ. 1-5  Functional Description  Pull-up Resistor Control Each I/O line is designed with an embedded pull-up resistor Pull-up resistor can be enabled or disabled by writing respectively PIO_PUER (Pull-up Enable Register) and PIO_PUDR (Pull-up Disable Resistor).  I/O Line or Peripheral Function Selection PIO_PER (PIO Enable Register) PIO_PDR (PIO Disable Register) PIO_PSR (PIO Status Register)  Peripheral A or B Selection PIO_ASR (A Select Register) PIO_BSR (Select B Regis-ter) PIO_ABSR (AB Select Status Register)  Output Control PIO_OER (Output Enable Register) PIO_ODR (Output Disable Register) PIO_OSR (Output Status Register)

KyungHee Univ. 1-6  Functional Description  Synchronous Data Output Controlling all parallel busses using several PIOs requires two successive write operations in the PIO_SODR and PIO_CODR registers. This may lead to unexpected transient values. The PIO controller offers a direct control of PIO outputs by single write access to PIO_ODSR (Output Data Status Register). Only bits unmasked by PIO_OWSR (Output Write Status Register) are written. The mask bits in the PIO_OWSR are set by writing to PIO_OWER (Output Write Enable Register) and cleared by writing to PIO_OWDR (Output Write Disable Register).  Multi Drive Control (Open Drain) Each I/O can be independently programmed in Open Drain by using the Multi Drive feature. PIO_MDER (Multi-driver Enable Register) PIO_MDDR (Multi-driver Disable Register) PIO_MDSR (Multi-driver Status Register)

KyungHee Univ. 1-7  Functional Description  Inputs PIO_PDSR (Pin Data Status Register)  PIO_PDSR 상태를 읽어서 현재 각 I/O Line 의 상태를 알 수 있다.  Input Glitch Filtering Glitch with a duration of less than 1/2 Master Clock (MCK) cycle is automatically rejected, Pulse with a duration of 1 Master Clock cycle or more is accepted. PIO_IFER (Input Filter Enable Register) PIO_IFDR (Input Filter Disable Register) PIO_IFSR (Input Filter Status Register)  Input Change Interrupt PIO Controller can be programmed to generate an interrupt when it detects an input change on an I/O line. PIO_IER (Interrupt Enable Register) PIO_IDR (Interrupt Disable Register) When an input change is detected on an I/O line, the corresponding bit in PIO_ISR (Interrupt Status Register) is set. If the corresponding bit in PIO_IMR is set, the PIO Controller interrupt line is asserted When the software reads PIO_ISR, all the interrupts are automatically cleared.

KyungHee Univ. 1-8  PIO Controller Register Mapping

KyungHee Univ. 1-9  PIO Controller Register Mapping