| поискавой системы для электроныых деталей |
|
AD7910ARMZ2 датащи(PDF) 20 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7910ARMZ2 датащи(HTML) 20 Page - Analog Devices |
|
20 / 24 page ![]() AD7910/AD7920 Rev. C | Page 20 of 24 MICROPROCESSOR INTERFACING The serial interface on the AD7910/AD7920 allows the parts to be directly connected to a range of different microprocessors. This section explains how to interface the AD7910/AD7920 with some of the more common microcontroller and DSP serial interface protocols. AD7910/AD7920 TO TMS320C541 INTERFACE The serial interface on the TMS320C541 uses a continuous serial clock and frame synchronization signals to synchronize the data transfer operations with peripheral devices like the AD7910/AD7920. The CS input allows easy interfacing between the TMS320C541 and the AD7910/AD7920 without any glue logic required. The serial port of the TMS320C541 is set up to operate in burst mode (FSM = 1 in the serial port control register, SPC) with internal serial clock CLKX (MCM = 1 in SPC register) and internal frame signal (TXM = 1 in the SPC), so both pins are configured as outputs. For the AD7920, the word length should be set to 16 bits (FO = 0 in the SPC register). This DSP allows frames with a word length of 16 bits or 8 bits. Therefore, in the case of the AD7910 where just 14 bits could be required, the FO bit would be set up to 16 bits also. This means that to obtain the conversion result, 16 SCLKs are needed and two trailing zeros are clocked out in the two last clock cycles. To summarize, the values in the SPC register are: FO = 0 FSM = 1 MCM = 1 TXM = 1 The format bit, FO, can be set to 1 to set the word length to eight bits to implement the power-down mode on the AD7910/AD7920. Figure 25 shows the connection diagram. It should be noted that for signal processing applications, it is imperative that the frame synchronization signal from the TMS320C541 provides equidistant sampling. AD7910/AD7920* SCLK SDATA CS CLKX CLKR FSX FSR TMS320C541* *ADDITIONAL PINS OMITTED FOR CLARITY DR Figure 25. Interfacing to the TMS320C541 AD7910/AD7920 TO ADSP-218x The ADSP-218x family of DSPs is interfaced directly to the AD7910/AD7920 without any glue logic required. The SPORT control register should be set up as follows: TFSW = RFSW = 1, Alternate Framing INVRFS = INVTFS = 1, Active Low Frame Signal DTYPE = 00, Right Justify Data ISCLK = 1, Internal Serial Clock TFSR = RFSR = 1, Frame Every Word IRFS = 0, Sets up RFS as an Input ITFS = 1, Sets up TFS as an Output SLEN = 1111, 16 Bits for the AD7920 SLEN = 1101, 14 Bits for the AD7910 To implement power-down mode, SLEN should be set to 0111 to issue an 8-bit SCLK burst. The connection diagram is shown in Figure 26. The ADSP-218x has the TFS and RFS of the SPORT tied together, with TFS set as an output and RFS set as an input. The DSP operates in alternate framing mode and the SPORT control register is set up as described. The frame synchronization signal generated on the TFS is tied to CS and, as with all signal processing applications, equidistant sampling is necessary. However, in this example, the timer interrupt is used to control the sampling rate of the ADC and, under certain conditions, equidistant sampling can not be achieved. AD7910/AD7920* SCLK SDATA CS SCLK DR RFS TFS ADSP-218x* *ADDITIONAL PINS OMITTED FOR CLARITY Figure 26. Interfacing to the ADSP-218x The timer registers are loaded with a value that provides an interrupt at the required sample interval. When an interrupt is received, a value is transmitted with TFS/DT (ADC control word). The TFS is used to control the RFS and thus the reading of data. The frequency of the serial clock is set in the SCLKDIV register. When the instruction to transmit with TFS is given, that is, TX0 = AX0, the state of the SCLK is checked. The DSP waits until the SCLK has gone high, low, and high before transmission starts. If the timer and SCLK values are chosen such that the instruction to transmit occurs on or near the rising edge of SCLK, the data can be transmitted or it can wait until the next clock edge. |
|
|
ссылки 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 |