----boundary-LibPST-iamunique-432507916_-_-
Content-type: text/plain
> I meant the length of the stop bit is 1.5 bit time.
Yes...
but one and half stops work only with 5 bits words,
(*
>From 16550D Datasheet
Bits 0 and 1:
These two bits specify the number of bits in each transmitted or received
serial character.
The encoding of bits 0 and 1 is as follows:
Bit 1 Bit 0 Character Length
0 0 5 Bits
0 1 6 Bits
1 0 7 Bits
1 1 8 Bits
Bit 2:
This bit specifies the number of Stop bits transmitted and received in each
serial character.
If bit 2 is a logic 0, one Stop bit is generated in the transmitted data.
If bit 2 is a logic 1 when a 5-bit word length is selected via bits 0 and 1,
one and a half Stop bits are generated.
If bit 2 is a logic 1 when either a 6-, 7-, or 8-bit word length is
selected, two Stop bits are generated.
The Receiver checks the first Stopbit only, regardless of the number of Stop
bits selected.
*)
MODULE Test;
IMPORT CommV24;
PROCEDURE Init*;
VAR c: CommV24.Connection;
BEGIN
CommV24.Open( 'COM1', 4800, {CommV24.bits5, CommV24.stop15}, c); (*5
bits 1.5 stop bit *)
ASSERT( c # NIL); (* Fails *)
END Init;
END Test.
Test.Init
----- Original Message -----
From: "Hof, Philipp" <p.hof{([at]})nowhere.xy
To: "BlackBox Mailing List" <blackbox{([at]})nowhere.xy
Sent: Friday, May 05, 2006 12:23 AM
Subject: [BlackBox] - FW: [BlackBox] - CommV24 assertion failure
>
> I meant the length of the stop bit is 1.5 bit time.
>
> -----Original Message-----
> From: Hof, Philipp
> Sent: Friday, 5 May 2006 3:16 p.m.
> To: 'blackbox{([at]})nowhere.xy> Subject: RE: [BlackBox] - CommV24 assertion failure
>
> It means to wait 1.5 bit time (other values 1 or 2 bit) after the stop bit
> and before transmitting the next start bit.
>
> It seems there is a fault in CommV24 with 1.5 bit time not working.
>
> Regards,
> Philipp
>
> -----Original Message-----
> From: WSFPGA [mailto:wsfpga{([at]})nowhere.xy> Sent: Friday, 5 May 2006 2:39 p.m.
> To: blackbox{([at]})nowhere.xy> Subject: [BlackBox] - CommV24 assertion failure
>
> This work on BB1.5 Win2000SP4;
>
> CommV24.Open( 'COM1', 4800, {}, c);
>
> from hardware's point of view whats means one and half stops bits ?
>
> Walter,
>
> ----- Original Message -----
> From: "Hof, Philipp" <p.hof{([at]})nowhere.xy> To: "BlackBox Mailing List" <blackbox{([at]})nowhere.xy> Sent: Thursday, May 04, 2006 10:50 PM
> Subject: [BlackBox] - CommV24 assertion failure
>
>
> > Have you tried
> >
> > CommV24.Open("COM1:", 4800, {V24.stop2}, c);
> >
> > or this
> >
> > CommV24.Open("COM1:", 4800, {}, conn);
> >
> > No idea why 1.5 doesn't work. Code above will work.
> >
> > Regards,
> > Philipp
> >
> > -----Original Message-----
> > From: Rex Couture [mailto:rex{([at]})nowhere.xy> > Sent: Friday, 5 May 2006 11:24 a.m.
> > To: blackbox{([at]})nowhere.xy> > Subject: [BlackBox] - CommV24 assertion failure
> >
> > What's wrong with this module? I can't get past the first step.
> > The parameters (4800 baud, 8 bits, 1 stop bit) should be valid. Running
> on
> > Win XP. Thanks.
> >
> > Rex Couture
> >
> >
> > MODULE Test;
> > IMPORT CommV24;
> >
> > PROCEDURE Init*;
> > VAR c: CommV24.Connection;
> > BEGIN
> > CommV24.Open( 'COM1', 4800, {CommV24.stop15}, c);
> > (* 8 bits is default; stop15 is actually 1 stop bit *)
> > ASSERT( c # NIL); (* Fails *)
> > END Init;
> > END Test.
> >
> > --- BlackBox
> > --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy> >
> > --- BlackBox
> > --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy> >
>
> --- BlackBox
> --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy>
> --- BlackBox
> --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy>
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-432507916_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXG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jaFxw
YXINCn19AHdyb24=
----boundary-LibPST-iamunique-432507916_-_---
Received on Fri May 05 2006 - 16:02:53 UTC