Parallel ports - micro-controller, Computer Engineering

Assignment Help:

The main I/O used by micro controllers are the parallel ports , the 68HC11F1 has seven  8 bit ports namely Port A,B,C,D,E,F and G . The use of ports depends on the mode configuration of the system and the use of the other peripheral devices, since they share pins. In order to program the ports we need to write/read data to special registers, the area from 0x1000 to 0x105f is memory mapped to the peripheral devices.  NOTE: The monitor has moved the register block to start at 0x00 i.e Padr = 0x00, Paddr = 0x1 etc.

Below are shown the RAM based I/O registers i.e. 0x0 to 0x0a
 
  Address   Register
 
  0x0000  Port A register Padr
   0x0001  Port A Data direction register Paddr
  0x0002  Port G register Pgdr
  0x0003  Port G Data direction register Pgddr
  0x0004  Port B register Pbdr
  0x0005  Port F register Pfdr
  0x0006  Port C register Pcdr
  0x0007  Port C Data direction register Pcddr
  0x0008  Port D register Pddr
  0x0009  Port D Data direction register Pdddr
  0x000a  Port E register Pedr
 
Port A, D, are bi-directional 8 bit ports and have alternate uses G timer, serial comms and chip selects respectively.
 
Port B is an 8 bit general purpose output port with alternate function as the upper address bus in the extended mode.
 
Port C is a general purpose 8 bit port with alternate functions as the data bus in the extended mode
 
Port E is an 8 bit general purpose 8 bit input port with an alternate function as the ADC input
 
Port F is a 8 bit general purpose output port with alternate function as the lower address bus in the extended mode.
 
On the target system provided the 68HC11 is set in extended mode therefore the only ports available are A,D,E and G since B,F form the address bus and C forms the data bus to the EPROM. Each register is bit defined in that each bit configures one feature of the respective port , however all the data registers and data direction registers work on the same principle.


Related Discussions:- Parallel ports - micro-controller

Explain the working of interpreter, Explain the working of Interpreter? ...

Explain the working of Interpreter? The Interpreter is a program that executes instructions written in a high-level language. There are two manners to run programs written in a

Cognitive science applications, This branch of AI is concerned with incor...

This branch of AI is concerned with incorporating knowledge from varied disciplines such as biolog neurology psychology mathematics and several linked disciplines. It is typic

Methods to resolve collision during hashing., What are the two methods to r...

What are the two methods to resolve collision during hashing. The two methods to resolve collision during hashing are: a) Open addressing and b) Chaining.

Define parity bit and list its types, Define parity bit and List its types....

Define parity bit and List its types. The most common error detection code used is the parity bit. Parity bit is a extra bit contained with a binary message to make the total n

What is socket, A socket is one end-point of a two-way communication link a...

A socket is one end-point of a two-way communication link among two programs running on the network. Socket classes are used to show the connection among a client program and a ser

What is computer virus, What is computer virus?  A  computer  virus  is...

What is computer virus?  A  computer  virus  is  a  computer  program  that  is  designed  to  spread  itself between   computers.   Computer virus are inactive when standing a

What are parallel algorithms, What are Parallel Algorithms? The central...

What are Parallel Algorithms? The central assumption of the RAM model does not hold for some newer computers that can implement operations concurrently, i.e., in parallel algor

Object orientation and uml, In this task you are supposed to create three U...

In this task you are supposed to create three UML diagrams. The conditions are given by the scenario in the document Theatre Case (on Blackboard). A theatre manager has ordered a s

ASP.NET, I have developed a web application in .net & if the web applicati...

I have developed a web application in .net & if the web application is idle for some time & after that if we perform some action on that web page then it doesn''t respond. Can you

What are difference between latches and flipflops, What are difference betw...

What are difference between latches and flipflops? Difference : Latches are level-sensitive, while, flipflops is edge sensitive. It means to say edge sensitive that O/p change

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd