Title |
Title
Software Implementation of Asynchronous Serial I/O
|
---|---|
Name |
Name
AN555
|
Date |
Date
06/24/2015
|
Application Categories |
Application Categories
Software /
Code Examples
Software /
Microchip Libraries for Applications
|
Product Categories |
Product Categories
8-bit MCU
|
Description |
Description
PIC16CXXX microcontrollers from Microchip Technology, Inc., high-performance, EPROM-based 8-bit microcontrollers. Some of the members of this series (like the PIC16C71 and PIC16C84) do not have an on-chip hardware asynchronous serial port. This application note describes the interrupt driven software implementation of Asynchronous Serial I/O (Half Duplex RS-232 Communi-cations) using PIC16CXXX microcontrollers. These microcontrollers can operate at very high speeds with a minimum of 250 ns cycle time (with input clock frequency of 16 MHz). To test the RS-232 routines, a simple Digital Voltmeter (DVM)/Analog Data Acquisition System has been implemented using a PIC16C71, in which, upon reception of a command from host (IBM PC-AT Ò ), an 8-bit value of the selected A/D channel is transmitted back to the host.
|
Title | Title | Download | Date | Size |
---|---|---|---|---|
AN555 Source Code - Software Implementation of Asynchronous Serial I/O 62.3 KB 06/24/2015 | AN555 Source Code - Software Implementation of Asynchronous Serial I/O | Download | 06/24/2015 | 62.3 KB |