RE: RS232 pin controlling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: kernelnewbies-bounce@xxxxxxxxxxxx 
> [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Felipe Balbi
> Sent: 21 March 2007 08:16 PM
> To: kernelnewbies
> Subject: RS232 pin controlling
> 
> with the recent git-kernel, is there a way to control the bits passing
> through each DB9 pin?
> I mean: I want to send a message using ONLY DB9 pin 1 and DB9 pin 5
> (GND). Is it possible?

Hi Felipe,

Serial communications are usually carried out with the aid of
specialised chips (UARTs), these chips use each of the lines (though not
all are necessarliy needed) in the serial connector for specific
purposes. Pin 1 of the DB9 serial connector is the carrier detect line.
IIRC this is an input line, which detects when the remote device (such
as a modem) is attached and available. See wikipedia for more info[1].
Thus I'm fairly sure you will not be able to send messages using pin 1.

Martyn

[1] http://en.wikipedia.org/wiki/RS-232

----
Martyn Welch
Principal Software Engineer
Radstone Digital Processing
Part of GE Fanuc Embedded Systems

Phone: +44 (0) 1327 322748
email: martyn.welch@xxxxxxxxxxxxxx
web: www.radstone.com


________________________________________________________________________
This e-mail has been scanned for all viruses by Star.The service is powered by MessageLabs. 
________________________________________________________________________

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux