Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watcgl.UUCP Path: utzoo!watmath!watnot!watcgl!jchapman From: jchapman@watcgl.UUCP (john chapman) Newsgroups: net.micro.cpm Subject: Re: Help needed with 8251 USART Message-ID: <2895@watcgl.UUCP> Date: Thu, 2-Jan-86 11:38:40 EST Article-I.D.: watcgl.2895 Posted: Thu Jan 2 11:38:40 1986 Date-Received: Fri, 3-Jan-86 01:41:55 EST References: <1098@brl-tgr.ARPA> Organization: U of Waterloo, Ontario Lines: 27 > Does anyone out there have any experiece programming the 8251 USART? I > am using a Royal Alphatronic PC with CP/M 2.2, and want to be able to > set and change the baud rate. I have the data sheets for the 8251, and > through much experimentation, I am able to change the baudrate to suit > my needs. Unfortunatly, as soon as I try to send data out the port, > the chip locks up. Data coming in works fine. Anyone know anything > about this? I can send you the code that I am using if you think > that you can help me out... > > Thanks... > Mike Spitzer > mjs@purdue-ecn > [decvax,ucbvax,ihnp4,inuxc]!pur-ee!mjs I have tried to do the same thing on two different machines (one multibus z80 based and the other an s100 8086 based) and found the same thing you did. What seemed to work was sending the initialization sequence twice, e.g. write a subroutine to set up the 8251 and just call it twice in a row. I'd be interested to know if this works for you...... -- John Chapman ...!watmath!watcgl!jchapman Disclaimer : These are not the opinions of anyone but me and they may not even be mine.