| Electronic Components Datasheet Search |
|
AD7908 Datasheet(PDF) 23 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7908 Datasheet(HTML) 23 Page - Analog Devices |
|
23 / 24 page ![]() AD7908/AD7918/AD7928 REV. A TMS320C541* AD7908/ AD7918/ AD7928* CLKX CLKR DR DT FSX FSR VDD SCLK DOUT DIN CS VDRIVE *ADDITIONAL PINS REMOVED FOR CLARITY Figure 21. Interfacing to the TMS320C541 AD7908/AD7918/AD7928 to ADSP-21xx The ADSP-21xx family of DSPs are interfaced directly to the AD7908/AD7918/AD7928 without any glue logic required. The VDRIVE pin of the AD7908/AD7918/AD7928 takes the same supply voltage as that of the ADSP-218x. This allows the ADC to operate at a higher voltage than the serial interface, i.e., ADSP-218x, if necessary. The SPORT0 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 SLEN = 1111, 16-Bit Data-Words ISCLK = 1, Internal Serial Clock TFSR = RFSR = 1, Frame Every Word IRFS = 0 ITFS = 1 The connection diagram is shown in Figure 22. 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 equi- distant 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 may not be achieved. AD7908/ AD7918/ AD7928* ADSP-218x* SCLK DR RFS TFS DT VDD SCLK DOUT CS DIN VDRIVE *ADDITIONAL PINS REMOVED FOR CLARITY Figure 22. Interfacing to the ADSP-218x The Timer Register, for example, is loaded with a value that will provide 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 (i.e., AX0 = TX0), the state of the SCLK is checked. The DSP will wait until the SCLK has gone High, Low, and High before transmission will start. If the timer and SCLK values are chosen such that the instruction to transmit occurs on or near the rising edge of SCLK, then the data may be transmitted or it may wait until the next clock edge. For example, if the ADSP-2189 had a 20 MHz crystal such that it had a master clock frequency of 40 MHz, then the master cycle time would be 25 ns. If the SCLKDIV register was loaded with the value 3, then an SCLK of 5 MHz is obtained, and eight master clock periods will elapse for every one SCLK period. Depending on the throughput rate selected, if the timer register is loaded with the value, say 803 (803 + 1 = 804), 100.5 SCLKs will occur between interrupts and subsequently between transmit instruc- tions. This situation will result in nonequidistant sampling as the transmit instruction is occurring on a SCLK edge. If the number of SCLKs between interrupts is a whole integer figure of N, then equidistant sampling will be implemented by the DSP. AD7908/AD7918/AD7928 to DSP563xx The connection diagram in Figure 23 shows how the AD7908/ AD7918/AD7928 can be connected to the ESSI (Synchronous Serial Interface) of the DSP563xx family of DSPs from Motorola. Each ESSI (two on board) is operated in Synchronous mode (SYN bit in CRB = 1) with internally generated word length frame sync for both Tx and Rx (bits FSL1 = 0 and FSL0 = 0 in CRB). Normal operation of the ESSI is selected by making MOD = 0 in the CRB. Set the word length to 16 by setting bits WL1 = 1 and WL0 = 0 in CRA. The FSP bit in the CRB should be set to 1 so the frame sync is negative. It should be noted that for signal processing applications, it is imperative that the frame synchronization signal from the DSP563xx provides equidis- tant sampling. In the example shown in Figure 23, the serial clock is taken from the ESSI so the SCK0 pin must be set as an output, SCKD = 1. The VDRIVE pin of the AD7908/AD7918/AD7928 takes the same supply voltage as that of the DSP563xx. This allows the ADC to operate at a higher voltage than the serial interface, i.e., DSP563xx, if necessary. AD7908/ AD7918/ AD7928* DSP563xx* SCK SRD STD SC2 VDD SCLK DOUT CS DIN VDRIVE *ADDITIONAL PINS REMOVED FOR CLARITY Figure 23. Interfacing to the DSP563xx –23– |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |