4 pin name list, 5 product dependencies, 1 i/o lines – Rainbow Electronics AT91CAP9S250A User Manual

Page 581: 2 power management, 3 interrupt, 6 functional description

Advertising
background image

581

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

36.4

Pin Name List

36.5

Product Dependencies

36.5.1

I/O Lines

The pins used for interfacing the compliant external devices may be multiplexed with PIO lines.

Before using the SSC receiver, the PIO controller must be configured to dedicate the SSC
receiver I/O lines to the SSC peripheral mode.

Before using the SSC transmitter, the PIO controller must be configured to dedicate the SSC
transmitter I/O lines to the SSC peripheral mode.

36.5.2

Power Management

The SSC is not continuously clocked. The SSC interface may be clocked through the Power
Management Controller (PMC), therefore the programmer must first configure the PMC to
enable the SSC clock.

36.5.3

Interrupt

The SSC interface has an interrupt line connected to the Advanced Interrupt Controller (AIC).
Handling interrupts requires programming the AIC before configuring the SSC.

All SSC interrupts can be enabled/disabled configuring the SSC Interrupt mask register. Each
pending and unmasked SSC interrupt will assert the SSC interrupt line. The SSC interrupt ser-
vice routine can get the interrupt origin by reading the SSC interrupt status register.

36.6

Functional Description

This chapter contains the functional description of the following: SSC Functional Block, Clock
Management, Data format, Start, Transmitter, Receiver and Frame Sync.

The receiver and transmitter operate separately. However, they can work synchronously by pro-
gramming the receiver to use the transmit clock and/or to start a data transfer when transmission
starts. Alternatively, this can be done by programming the transmitter to use the receive clock
and/or to start a data transfer when reception starts. The transmitter and the receiver can be pro-
grammed to operate with the clock signals provided on either the TK or RK pins. This allows the
SSC to support many slave-mode data transfers. The maximum clock speed allowed on the TK
and RK pins is the master clock divided by 2.

Table 36-1.

I/O Lines Description

Pin Name

Pin Description

Type

RF

Receiver Frame Synchro

Input/Output

RK

Receiver Clock

Input/Output

RD

Receiver Data

Input

TF

Transmitter Frame Synchro

Input/Output

TK

Transmitter Clock

Input/Output

TD

Transmitter Data

Output

Advertising