GMSK Packet Data Modem
CMX909B
Command Register B3, B2, B1, B0: TASK - Task
Operations such as transmitting a data block are treated by the modem as ‘tasks’ and are initiated
when the µC writes a byte to the Command Register with the TASK bits set to one of the data
handling commands (marked BOLD in the table below).
Mobitex modem tasks:
B3 B2 B1 B0
Receive Mode
Transmit Mode
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
NULL
SFH
R3H
RDB
SFS
NULL
T7H
Search for Frame Head
Read 3 byte Frame Head
Read Data Block
Search for Frame Sync
Read Single Byte
Transmit 7 byte Frame Head
Reserved
Transmit Data Block
Transmit 4 Bytes
Transmit Single Byte
Transmit Scrambler Output
TDB
TQB
TSB
TSO
RSB
LFSB
Load Frame Sync Bytes
RESET Cancel any current
action
RESET Cancel any current action
1
1
1
1
1
0
0
1
1
1
0
1
0
1
1
1
1
0
0
1
SFHZ
RSD
SFSZ
SFH with zero errors
Read Short Data Block
SFS with zero errors
Reserved
Transmit Short Data Block
Reserved
TSD
PSBias Turn off Bias during power save
PSBiXt Turn off Bias and Xtal during power save
Note: All other bit patterns are reserved.
Bold text indicates a ‘data handling command’
The µC should not write a data handling command to the Command Register or write to or read
from the Data Buffer when the BFREE (Buffer Free) bit of the Status Register is ‘0’.
Different tasks apply in receive and transmit modes.
When the modem is in transmit mode, all data handling commands other than TSO instruct the
modem to transmit data from the Data Buffer, formatting it as required. For these tasks the µC
should wait until the BFREE (Buffer Free) bit of the Status Register is ‘1’, before writing the data to
the Data Buffer, then it should write the desired task to the Command Register. If more than 1 byte
needs to be written to the Data Buffer, byte number 0 of the block should be written first.
Once the byte containing the desired task has been written to the Command Register, the modem
will:
Set the BFREE (Buffer Free) bit of the Status Register to ‘0’.
Take the data from the Data Buffer as quickly as it can - transferring it to the Interleave Buffer
for eventual transmission. This operation will start immediately if the modem is ‘idle’ (i.e. not
transmitting data from a previous task), otherwise it will be delayed until there is sufficient
room in the Interleave Buffer.
Once all of the data has been transferred from the Data Buffer the modem will set the BFREE
and IRQ bits of the Status Register to ‘1’, (causing the chip IRQN output to go low if the
IRQNEN bit of the Mode Register has been set to ‘1’) to tell the µC that it may write new data
and the next task to the modem.
ã 2001 Consumer Microcircuits Limited
17
D/909B/1