Multichannel Function - Analog Devices adsp-2100 Manual

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

5 Serial Ports
{enable SPORT1}
{Place first transfer value into TX1}
.ENDMOD;
Figure 5.24 Autobuffering Example Configuration Code
5.12
SPORT0 supports a multichannel function. In the multichannel mode of
operation, serial data is time-division multiplexed. Each subsequent word
belongs to the next consecutive channel so that, for example, a 24-word
block of data contains one word for each of 24 channels. SPORT0 supports
32 or 24 channels and can automatically select words for particular
channels while ignoring the others.
15
14
1
MCE
(Multichannel Enable)
1 = Multichannel Operation
In single-channel mode, receive and transmit framing identifies the start of
5 – 30
IMASK = 6;
AX0 = 0x0C1F;
DM(0x3FFF) = AX0;
AX0 = DM(I0,M0);
TX1 = AX0;
RTS;

MULTICHANNEL FUNCTION

SPORT0 Control Register (Multichannel Version)
13
12
11
10
9
MFD
(Multichannel
Frame Delay)
MCL (Multichannel Length)
0 = 24 Words
1 = 32 Words
{enable SPORT1 interrupts}
{enable SPORT1 leave PWAIT,}
{BWAIT as default}
0x3FF6
8
7
6
5
INVTDV (Invert Transmit Data Valid)
4
3
2
1
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents