HDLC External Serial Interface Configuration (TSAs)
Am186™CC/CH/CU Microcontrollers User’s Manual
16-7
16.4
REGISTERS
Table 16-2 lists the three unique registers that program each individual TSA. The x shown
in the register name is A, B, C, or D, depending on the channel selected. The offset shown
is for Channel A; for Channel B, add 08h to the offset. Both the Am186CC and Am186CH
microcontrollers support Channels A and B.
The Am186CC microcontroller also supports Channels C and D. Add 10h to the offset for
Channel C and add 18h for Channel D.
Appendix A summarizes the bits in all the registers. For a complete description of all the
peripheral registers, see the
Am186™CC/CH/CU Microcontrollers Register Set Manual,
order #21916.
16.5
OPERATION
16.5.1
Usage
Note: Before using the TSA channels, ensure multiplexed pins are configured to reflect the
use of the external interface desired and not other functionality (see Table 16-1 on
page 16-5).
Configure the Time Slot Assigner (TSA) controllers using the following process:
1. Define the bit start position for the transmitted or received data frame for each specific
TSA channel in the TSA Channel Bit Start Position (TSxSTART) register.
2. Define the bit stop position for the transmitted or received data frame for each specific
TSA channel in the TSA Channel Bit Stop Position (TSxSTOP) register.
3. Configure the operating modes for each specific TSA channel in the TSA Channel
Configuration (TSxCON) register—channel mode, channel frame sync pulse polarity,
and channel adjust bit drive level—and enable each TSA channel by setting the EN bit
to 1. These bits may be set simultaneously but EN cannot be set before steps 1–2.
The TSAs are now enabled for data transfers. For information about configuring HDLC
channels to begin transferring the data, see “Usage” on page 15-7.
For information about using GCI, see “Usage” on page 17-5.
Table 16-2
TSA Register Summary
Offset
1
Notes:
1. The
x
shown in the register name can be A, B, C, or D, depending on the channel selected. The offset shown is
for Channel A; for Channel B, add 08h to the offset; Channel C, add 10h; Channel D, add 18h. Both the Am186CC
and Am186CH microcontrollers support Channels A and B. The Am186CC microcontroller also supports Channels
C and D.
Register
Mnemonic
Register Name
Description
2C0h
TSxCON
TSA Channel Configuration
Configures and enables the TSA channel.
2C2h
TSxSTART
TSA Channel Bit Start Position
Defines the time slot start position for transmit
and receive data frames.
2C4h
TSxSTOP
TSA Channel Bit Stop Position
Defines the bit stop position for transmit and
receive data frames.
CC
CC
Содержание Am186 CC
Страница 1: ...Am186 CC CH CU Microcontrollers User s Manual Order 21914B...
Страница 4: ...iv Am186 CC CH CU Microcontrollers User s Manual...
Страница 18: ...Table of Contents xviii Am186 CC CH CU Microcontrollers User s Manual...
Страница 24: ...Introduction xxiv Am186 CC CH CU Microcontrollers User s Manual...
Страница 39: ...Architectural Overview Am186 CC CH CU Microcontrollers User s Manual 1 15 Figure 1 6 32 Channel Linecard CH CC...
Страница 40: ...Architectural Overview 1 16 Am186 CC CH CU Microcontrollers User s Manual...
Страница 86: ...System Overview 3 36 Am186 CC CH CU Microcontrollers User s Manual...
Страница 92: ...Emulator Support 4 6 Am186 CC CH CU Microcontrollers User s Manual...
Страница 112: ...DRAM Controller 6 8 Am186 CC CH CU Microcontrollers User s Manual...
Страница 134: ...Interrupts 7 22 Am186 CC CH CU Microcontrollers User s Manual...
Страница 186: ...Programmable I O Signals 9 8 Am186 CC CH CU Microcontrollers User s Manual...
Страница 200: ...Watchdog Timer 11 6 Am186 CC CH CU Microcontrollers User s Manual...
Страница 232: ...Asynchronous Serial Ports UARTs 13 24 Am186 CC CH CU Microcontrollers User s Manual...
Страница 242: ...Synchronous Serial Port SSI 14 10 Am186 CC CH CU Microcontrollers User s Manual...
Страница 264: ...High Level Data Link Control HDLC 15 22 Am186 CC CH CU Microcontrollers User s Manual...
Страница 332: ...Universal Serial Bus USB 18 34 Am186 CC CH CU Microcontrollers User s Manual...
Страница 348: ...Register Summary A 16 Am186 CC CH CU Microcontrollers User s Manual...
Страница 376: ...Index Index 18 Am186 CC CH CU Microcontrollers User s Manual...