[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: synchronous serial bidirectional master mode
>And while those pulses are generated, the master receives data from
>Which also prevents the master from transmitting data...
>-one for input only, where the slave can use flowcontrol to
>indicate it has something to send
>-one for output only, where the master only generates frames
>when it has something to send
No. The clock always runs in master mode. There is no
excpetion to this (trust me, I have tried a lot of things
to make the stupid clock stop running). The only way I can
think of is to disable the synchronous serial port in
R_GEN_CONFIG_II when you want the clock to stop but that
may have other undesirable effects (such as glitches on
the serial line).
From: Pieter Grimmerink [mailto:firstname.lastname@example.org]
Sent: Monday, December 09, 2002 10:03 AM
To: Mikael Starvik; dev-etrax
Subject: RE: synchronous serial bidirectional master mode
> The frame pulses are generated even when there is no data to send.
And while those pulses are generated, the master receives data from
> The slave can use the flow control to indicate that no frames
> should be generated (and hence no data received).
Which also prevents the master from transmitting data...
> The synchronous serial port is a bit odd because it always runs
> even when there is nothing to do. This is rather confusing and
> it would be better if this behaviour could be disabled with
> a configuration option.
Yes, but I think that when running bidirectional mode, frames
should be generated all the time, to allow the slave to send
Anyway, can I conclude that bidirectional mode synchronous
serial is not ideal, and that it might be better to use two
single direction synchronous serial ports together;
-one for input only, where the slave can use flowcontrol to
indicate it has something to send
-one for output only, where the master only generates frames
when it has something to send
Thanks, and best regards,