PEB 2091
PEF 2091
Programming
Example: Monitor Channel Transmission and Reception
Basic Configuration, IOM®-2 Clocks must be active
w
w
w
STCR = 0x15
SWST = 0x0C
ADF2 = 0x48
// TE Mode, EOC Auto Mode
// Access to C/I and Monitor channel
// Monitor access to transceiver core
Transmission
r
w
w
r
r
w
r
r
MOSR = 0x00
MOX 0x80
MOCR = 0x30
ISTA = 0x11
MOSR = 0x28
// Transmission inactive (MAC = 0)
// Mon-8 Command
// Transmit Command
// Monitor MDA Interrupt
// Ackn. Indication
// Access to Register 0
// Monitor MDA Interrupt
// Ackn. Indication
=
MOX
=
0x00
ISTA = 0x11
MOSR = 0x28
Reception
w
r
r
r
w
r
r
r
r
r
w
MOCR = 0x80
ISTA = 0x08
MOSR = 0x80
// Enable Receive of Monitor Message
// Monitor MDR Interrupt
// Data Received
// Value read Monitor 8 Command Ind.
// Acknowledge Reading
// Monitor MDR Interrupt
// Data Received
// Data from Register 0 (Identification)
// Monitor MDR Interrupt
// EOM received
MOR
=
0x80
MOCR = 0xC0
ISTA = 0x08
MOSR = 0x80
MOR
=
0x03
ISTA = 0x08
MOSR = 0x40
MOCR = 0x80
// Enable Interrupts.
Semiconductor Group
234
Data Sheet 01.99