1200/2400bps MSK Modem for Trunked Radio Systems
13
MX429A
5.4 Basic Power Up Software
Power Up
Set up a 1 byte variable - initialise to zero
(Rx Msg Length)
Set up an 8 byte buffer
start address - (Rx Buffer)
Set up a 1 byte variable - initialise to zero
(Tx Msg Sent)
Set up an 8 byte variable
start address - (Tx Buffer)
Write 04 to Control Register
- Wait at least 1 bit -
Write zeros to MX 429A Control
Register
Enable microprocessor interrupts
Receive
or
Transmit?
Transmit
Receive
Put message for transmission into
buffer [Tx Buffer]
Write to Control Register
Bit0 - Tx Enable = '1'
Bit1 - Tx Parity Enable = '0'
Write to Control Register
Bit2 - Rx Enable = '1'
Bit3 - Rx Message Format = '0'
Wait 1 byte
(Specification requires a minimum of
two bytes preamble)
Write [Tx Buffer{
Ø}]
to
Tx Data Buffer
Return to Main Program
Figure 7: Basic Power-Up Software
© 1998 MX-COM Inc.
www.mxcom.com Tel: 800 638-5577 336 744-5050 Fax: 336 744-5054
Doc. # 20480128.007
4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA
All trademarks and service marks are held by their respective companies.