| поискавой системы для электроныых деталей |
|
SSM2163 датащи(PDF) 14 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
SSM2163 датащи(HTML) 14 Page - Analog Devices |
|
14 / 16 page ![]() SSM2163 REV. 0 –14– SSM2163 VOUTL VOUTR 14 15 +V +5V 1/2 OP279 1/2 OP279 16 Ω 16 Ω + + 220µF 220µF 50k 50k LEFT HEADPHONE RIGHT HEADPHONE Figure 28. A Single-Supply Stereo Headphone Driver The op amp’s input offset voltage is only 4 mV maximum, so the SSM2163 output can be dc coupled. The headphone output is ac coupled through a 220 µF capacitor. The large coupling capacitor is required because of the low impedance of the headphones, which can range from 32 Ω to 600 Ω. An additional 16 Ω resistor is used in series with the output capacitor to protect the op amp’s output stage by limiting capacitor discharge current. Microcomputer Interfaces The SSM2163 serial data input provides an easy interface to a variety of single chip microcomputers ( µCs). Many µCs have a built-in serial data capability which can be used for communicating with the SSM2163. In cases where no serial port is provided, or it is being used for some other purpose (such as an RS-232 communications interface), the SSM2163 can easily be addressed in software. The SSM2163 can operate in either a 3-wire or 4-wire mode. In most cases, the 3-wire mode is more practical, due to reduced PC board traces and compatibility with µC serial interface protocols. A typical interface, using the 80C51 µC, is shown in Figure 29, while the interface waveforms are shown in the Timing Diagram, 3-Wire Mode, Figure 1. (P3.0) RxD (P3.1) TxD P1.4 P1.3 80C51 µC +5V 10k DATA IN CLK WRITE LD SYSMUTE SSM2163 NOTE: ADDITIONAL PINS OMITTED FOR CLARITY Figure 29. Interfacing the 80C51 µC to an SSM2163 in 3-Wire Mode Port in 4-Wire Mode In some cases, it may be desirable to synchronize the outputs of several SSM2163s. The 4-wire mode, shown in Figure 30, provides this capability. As shown in Figure 2, the Timing Diagram, 4-Wire Mode, the input shift register is loaded with data while the WRITE input is low. However, the data will not be latched into the SSM2163’s internal registers until the rising edge of the LOAD input. In this manner, any number of SSM2163s can be loaded with data, while the amplitude and mixer changes will not occur until the separate LOAD pulse occurs. (P3.0) RxD (P3.1) TxD P1.4 P1.3 80C51 µC +5V 10k DATA IN CLK WRITE LD SYSMUTE SSM2163 NOTE: ADDITIONAL PINS OMITTED FOR CLARITY P1.2 Figure 30. Interfacing the 80C51 µC to an SSM2163 in 4-Wire Mode An 80C51 C Interface A typical interface between the SSM2163 and an 80C51 µC is shown in Figure 30. This interface uses the 80C51’s internal serial port. The serial port is programmed for Mode 0 operation, which functions as a simple 8-bit shift register. The 80C51’s Port 3.0 pin functions as the serial data output, while Port 3.1 serves as the serial clock. When data is written to the serial buffer register (SBUF, at Special Function Register location 99H), the data is automatically converted to serial format and clocked out via Port 3.0 and Port 3.1. After 8 bits have been transmitted, the Transmit Interrupt flag (SCON.1) is set and the next 8 bits can be transmitted. The 80C51 transmits serial data in Least Significant Bit (LSB)- first format. The SSM2163, on the other hand, requires data in MSB format. A BYTESWAP routine swaps the order of the bits before transmission. The SSM2163 requires the Chip Select to go low at the begin- ning of the serial data transfer. After each 8 bits (either address or attenuation value) are transmitted, Chip Select must go high to latch data into the appropriate register. Chip Select is controlled by the 80C51’s port 1.4 pin. Software for the 80C51 Interface A software routine for the SSM2163 to 80C51 interface is shown in Listing 1. The routine transfers the 6-bit attenuation level stored at data memory location LEVEL_VALUE to the SSM2163 input addressed by the contents of location INPUT_ADDR, and turns the Left and/or Right mixer channels on/off based on bits 3 and 4 of INPUT_ADDR. |
|
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |