[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Read full 8-bit character from serial port?
Ron Kneusel <oneelkruns@hotmail.com> wrote:
> I'm unclear on initialization of the port and can't find anything about it
> online.
I think I can fix that, now that I've found the 8530 manual, but it may
not be neccesary at all (unless there's a need because you want some
baud rate that's not possible to setup via firmware ) :
I think that if you open the serial port, set it up using the firmware,
ans then close it, the setup will remain in the SCC and that's all that
is needed for the code that I posted to work.
In other words, closing the port from the firmware does not disable the
SCC (in fact the SCC can't be "disabled"), just disables the interrupts
and/or the polling routines.
--
Jorge Chamorro Bieling