At 22:54 3/29/2001 -0500, Evan Carew wrote:
I went to your web site and did infact see the rad51 assembler for windows.
I didn't see any assembly example files tho, unless they were bundled with
the assembler. Perhaps all I really need to know is what did you mean by
"to auto reload on each bit cell time"?
There are examples in the RAD51 product but also with each board, such as
and then select the sample program ZIP file which prints from both UARTs
and sets up the baud rate in order to do that.
Any of the 8051 tech refs explain using timers to generate the baud rate.
Basically you want to divide down the processor crystal to get the uart bit
time (ie baud rate), and you want that to run automatically so that you
don't have to manage it. The timers can run in autoreload mode in which
they start at some value, count up to FF, and this triggers another auto
reload with the reload value and the cycle goes on forever. Every time the
counter overflows, that generates a UART bit cell boundary. It's just a way
to generate a divide-by-N counter in the 8051.
You can also generate an overflow interrupt and then your firmware has to
execute to reload the timer but why not do it automatically? That's the
8-bit auto reload mode.
------- http://www.SYSTRONIX.COM ----------
Real embedded Java and much more
High speed 8051 systems
+1-801-534-1017 Salt Lake City, USA