Instruction manual
Description of the data path
Reading data requires the following series of actions:
• Query RDRD f g (buffer ready?) and writ f s the
RBUF_CNT.
• Read the number of bytes pending in the receive buffer RBUF_ST (more data in the buffer
than the host wanted to read?) and the number of bytes left for reading from the receive
FiFo in RBUF_CNT (more data the host want n w in the
• Read received characters from SIO_DATA_REGISTER, beginning at char
• To input more characters, repeat from step 1.
Writing data requires the following series of actions:
• Query TDRD flag (buffer ready?) and write the number of bytes to send (copied from SIO
register to transmit FiFo) to TBUF_CNT.
• Read the available data space left in TBUF_ST (in the case the buffer can hold more bytes
than are to t nsmit) and number of bytes ran buffe (in the
case that more data is to transmit than fits in the buffer).
• Write characte to SIO_DATA_REGISTER, begi r 0
• To output more characters, repeat from step 1.
Contact your local dealer if you require further information or additional test programs or
software.
AVT recommends the use of munication programs to test the
functionality of this feature.
la e the number o byte host wants to read to
ed to read tha ere buffer?).
0.
ra written to t smit r in TBUF_CNT
r nning at cha .
Hyperterminal™ or other com
MARLIN Technical Manual
Page 90