To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 4104
4103  |  4105
Subject: 
Serial line interrupt
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 6 Jul 1998 16:29:17 GMT
Original-From: 
jab@dee.fct.unl.pt/AvoidSpam/
Viewed: 
1068 times
  
Hello all,

I'm currently trying to communicate between the Handy Board and a PC (i486)
using the existing serial line between the two. Sending data from the handy
Board to the PC is no problem. An interrupt handler puts all incoming serial
data into a buffer, which the main program can read from.

Sending data from the PC to the Handy Board is another story. The serial
routines on http://www.ai.mit.edu/people/rsargent/ic/serialio.html work
fine if
the PC isn't sending very fast. The current 'solution' is to put the PC in a
short loop after it has sent a character to slow it down. But that's not a
very
elegant solution.

Is there a way to use the same technique on the handy Board as on the PC
(using
an interrupt handler)? If so, has anyone used that approach and is willing to
share this code?

If there is a simpler way of doing things, I would also be glad to know about
it.

Jan Sipke van der Veen


Jose Antonio Barata de Oliveira
Universidade Nova de Lisboa - Dep. Eng. Electrotecnica
Quinta da Torre
P 2825 - Monte da Caparica
Portugal


TF: +351-1-2948535
FAX: +351-1-2948532



Message has 2 Replies:
  Re: Serial line interrupt
 
(...) I had the same problem a few weeks ago, ended up writing an interrupt handler for the Handy Board which will buffer up the incoming serial information so that none of it is lost. I guess the Handy Board normally just polls the serial port (I (...) (26 years ago, 6-Jul-98, to lugnet.robotics.handyboard)
  Re: Serial line interrupt
 
(...) to (...) about (...) Hi, you could simply build and Acknowledge routine so that every character sent by the PC could be echoed back by the HandyBoard. It asks a bit more of processing time from the HandyBoard, but at least it's simple to build (...) (26 years ago, 6-Jul-98, to lugnet.robotics.handyboard)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR