Digi NS7520 DJ Equipment User Manual


 
www.digi.com
      257
Serial Controller Module
If the serial channel is configured to operate in DMA mode, the DMA channel is
signaled to close the buffer and start a new buffer. If the serial channel is configured
in interrupt mode, the expiration of the timer causes an interrupt to be generated.
The receive character timer uses F
XTALE
and a 9-bit prescaler within the SER module.
The receive character timer is configured with a 10-bit programmable counter. The
effective buffer timer value is defined by this equation:
TIMEOUT = [512 * (CT + 10)] / F
XTALE
Register bit assignment
Bits Access Mnemonic Reset Description
D31 R/W TRUN 0 Enable timer to run
Set to 1 to allow the receive character gap
timer to operate.
D30:10 N/A Reserved N/A N/A
D09:00 R/W CT 0 CT value
The required value for the receive character
timer is a function of the channel bit-rate. It is
recommended that you set the character timer
to a value that is 10 times the character period
for the channel bit-rate. Use this equation to
define the recommended character timer
value:
CT RECOMMENDED =
[(10 * F
XTALE
) / (bit-rate * 512)] - 1
Table 93: Serial Channel Receive Character Gap Timer bit definition
13121110987654321015 14
31 29 28 27 26 25 24 23 22 21 20 19 18 17 1630
Reserved
CT
TRUN
Reserved