Re: Plus/4 RS232 woes

From: smf <smf_at_null.net>
Date: Mon, 3 Sep 2018 11:16:17 +0100
Message-ID: <1b89792d-a5af-6f73-c4ee-8e9ca12471fd@null.net>
On 03/09/2018 09:14, André Fachat wrote:
>
> They switch off rx and/or tx at inconvenient times and in the middle 
> of transactions.
>
> So no, I don't know a good wayof using them, sorry
>
If it turns off transmit in the middle of sending a byte then you could 
try waiting until the transmit buffer is empty before disabling it, 
although I can't see why it would stop immediately. From reading the 
description in the datasheet I would assume it would finish sending but 
no longer generate an interrupt to say the buffer is empty. It's 
annoying that you can't send just because you haven't been able to 
process the data you received yet. You would certainly need to make sure 
your protocol avoids deadlocks.

Ironically I can't see any reason in the datasheet why changing the RTS 
line would affect receiving.
Received on 2018-09-03 13:00:05

Archive generated by hypermail 2.2.0.