STV3550B STMicroelectronics, STV3550B Datasheet - Page 106
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STV3550B
Manufacturer Part Number
STV3550B
Description
Manufacturer
STMicroelectronics
Datasheet
1.STV3550B.pdf
(145 pages)
Specifications of STV3550B
Operating Temperature (min)
0C
Operating Temperature (max)
70C
Operating Temperature Classification
Commercial
Mounting
Surface Mount
Lead Free Status / Rohs Status
Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
TV chassis control
7.7.9
7.7.10
7.7.11
106/145
Loopback mode
Enabling operation
Transmit and receive buffers
The transmit and receive buffers are used to allow the SSC2 to do back-to-back transfers
(i.e. continuous clock and data transmission).
The transmit buffer (SSCTBUF), is written with the data to be sent out of the SSC2. This is
loaded into the shift register for transmission. Once this has been done, the SSCTBUF is
then available to be loaded again with a new data frame. This is indicated by the assertion of
the transmit interrupt request status bit, SSCTIR, which indicates that the transmit buffer is
empty. This will cause an interrupt if the transmit buffer empty interrupt is enabled by setting
the SSCTIEN bit in the interrupt enable register.
A transmission is started in master mode by a write to the transmit buffer. This starts the
clock generation circuit and loads the shift register with the new data.
Continuous transfers of data are therefore possible, by reloading the transmit buffer
whenever the interrupt is received. The software interrupt routine has the length of time for a
complete data frame in order to refill the buffer, before it is next emptied. If the transmit
buffer is not reloaded in time, when in slave mode, a transmit error condition, SSCTE is
generated.
The number of bits to be loaded into the transmit buffer is determined by the frame data
width selected in the control register, SSCBM. The unused bits are ignored.
The receive buffer (SSCRBUF) is loaded from the shift register when a complete data frame
has been shifted in. This is indicated by the assertion of the receive interrupt request status
bit, SSCRIR, which indicates that the receive buffer is full. This will cause an interrupt if the
receive buffer full interrupt is enabled by setting the SSCRIEN in the interrupt enable
register.
The CPU should then read out the contents of this register before the next data frame has
been received otherwise the buffer will be reloaded from the shift register over the top of the
previous data. This will be indicated as a receive error condition, SSCRE.
The number of bits which will be loaded into the receive buffer is determined by the frame
data width selected in the control register, SSCBM. The unused bits are not valid and should
be ignored.
A loopback mode is provided which connects the serial_data_out to serial_data_in. This
allows software and testing to be done without the need for an external bus device. This
mode is enabled by setting the SSCLPB bit in the control register. A setting of logic 1
enables loopback, logic 0 puts the SSC2 into normal operation.
The transmission and reception of data by the SSC2 block can be enabled or disabled by
setting the SSCEN bit in the control register. A setting of logic 1 turns on the SSC2 block for
transmission and reception. Logic 0 prevents the block from reading or writing data to the
serial_data in and out ports.
STV3550