Serial port communication, Computer Engineering

Assignment Help:

The 68HC11F1 has two types of serial ports namely asynchronous (SCI) and synchronous (SPI). The most common form of communication device used in control is the SCI as this provides the user with a variable baud rate, stop bits, start bits, but no parity. The SCI occupies the same pins as the parallel port D. Similar to the parallel ports the control registers are memory mapped i.e.

      Address   Register
      0x002b  Baud rate
       0x002c    SCI control 1 SCCR1
      0x002d  SCI control 2 SCCR2
       0x002e    SCI status SCSR
      0x002f    SCI Communication data register SCDR
 
Before we use the SCI we must first configure the serial channel with the correct protocol, normally most systems use a baud rate of 9600, 1 stop bit and no parity. The first two registers are used to configure these parameters. The next register is used to handle the status of the SCI i.e. is it ready to transmit or have I received data. Finally data is actually transmitted/ received via the data register SCDR. Let us consider an example.


Related Discussions:- Serial port communication

Parallelism conditions, Parallelism Conditions As discussed earlier, pa...

Parallelism Conditions As discussed earlier, parallel computing needs that the segments to be implemented in parallel must be free of each other. Thus, before implementing para

Library markup language, 1. Design a DTD for a new XML application called L...

1. Design a DTD for a new XML application called Library Markup Language (LibML) appropriate to capture the list of your items of collection . Put the DTD into a file named librar

Modelsim, design a basic computer

design a basic computer

Advanced microprocessor, Write a program to mask bits D3D2D1D0 and to set ...

Write a program to mask bits D3D2D1D0 and to set bits D5D4 and to invert bits D7D6 of the AX register.

What is a switchboard, What is a switchboard A switchboard is only a f...

What is a switchboard A switchboard is only a form with command button that open other switchboard or perform tasks like opening forms and printing reports. Switchboard is a t

What do you mean by supercomputers, Q. What do you mean by Supercomputers? ...

Q. What do you mean by Supercomputers? The upper end of state of art mainframe machine is supercomputers. These are among the fastest machines in terms of processing speed and

Illustrate about compact disk rewritable, Q. Illustrate about Compact Disk ...

Q. Illustrate about Compact Disk Rewritable? CD-RW optical disk can be repeatedly written and overwritten same as with a magnetic disk. Even though a number of techniques have

What is semaphores, What is semaphores?  A semaphore 'S' is a synchroni...

What is semaphores?  A semaphore 'S' is a synchronization tool which is an integer value that, apart from initialization, is accessed only by two standard atomic operations; wa

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