音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

AB-130 Datasheet

  • AB-130

  • AB-130 - INTERFACING THE DAC714 TO MICRO-CONTROLLERS VIA SPI

  • 3頁(yè)

  • ETC

掃碼查看芯片數(shù)據(jù)手冊(cè)

上傳產(chǎn)品規(guī)格書(shū)

PDF預(yù)覽

INTERFACING THE DAC714 TO
MICRO-CONTROLLERS VIA SPI
By Gebhard Haug
1
The DAC714 is a complete, easy-to-use 16-bit digital to
analog converter featuring a voltage output with and a
precision reference together with a serial interface.
The suggested timing as shown in the timing diagrams of the
DAC714 data sheet makes the part difficult to use with an
SPI interface. The part seems to need 16 clock cycles to load
the serial shift register and an additional clock to update the
DAC register. Also, to update the DAC register, A1 has to be
pulled low for this clock cycle. This application note shows
an easy way to use the DAC714 on a SPI interface without
any glue logic.
Although the DAC714 contains a pin called CLK, the data
does not necessarily have to be clocked into the DAC using
this pin. A closer look at Figure 1 of the data sheet shows
that there is some combinatorial logic internal to the DAC714
before the signals are applied to the shift and DAC registers.
Instead of gating the clock signal using A0 or A1, A0 can be
used to generate the internal clock signal for the DAC714
while CLK is held low. This is an important fact if an SPI is
used to control the DAC. If the clock is used to fill in the
shift register and to update the DAC register, a total of 17
clock cycles is needed to operate the DAC properly. This is
an additional clock cycle that is difficult to generate with a
plain SPI interface. If A0 is used to shift the data into the
DAC, SCLK can be applied directly to CLK because it
needs just 16 clock cycles to shift a new value into the DAC.
The update signal can then be applied using a clr/set se-
quence of a normal port pin. In order for the DAC to operate
properly, it is best if the clock idles high between two
conversions.
The interface described can be made even easier by pulling
CLK low on all DAC714 devices or if just a single device
(the DAC) is used at the SPI port. The serial bit stream is
then shifted continuously into the D/A converters. After a
complete set of new data has been sent to the converter(s),
the update pin (A1) is toggled so the all DAC714 changes to
the new frame of data at the same time. SS can be used as
the update pin in this case because it is not needed for the
SPI communication in this scenario.
To achieve a well defined power up behavior, CLR could be
derived out of the reset circuit used for most micros. This
would insure that there is no undefined output voltage before
the controller completes its initialization routines.
Note that the same kind of interface could be done using the
synchronous serial port of 8051 style micro controllers.
Figure 1, the Motorola 68HC11 type micro controller is
interfaced to a string of DAC714s. The timing diagrams in
Figure 2 were acquired using a logic analyzer for a single
DAC714. Figure 3 is a sample program using a setup with a
single DAC714 controlled by a Motorola 68HC11. This code
can be downloaded from http://www.burr-brown.com/Prod-
ucts/DataSheets/DAC714.html
SDI
A0
68HC11
CLK
A1
SDOUT
SDI
A0
CLK
DAC714
A1
SDOUT
V
OUT
Channel 0
SDI
A0
CLK
DAC714
A1
SDOUT
V
OUT
Channel 1
SDI
A0
CLK
DAC714
A1
SDOUT
V
OUT
Channel 1
FIGURE 1. Circuit Diagrams.
1998 Burr-Brown Corporation
AB-130
1
Printed in U.S.A. April, 1998

AB-130相關(guān)型號(hào)PDF文件下載

您可能感興趣的PDF文件資料

熱門(mén)IC型號(hào)推薦

掃碼下載APP,
一鍵連接廣大的電子世界。

在線人工客服

買(mǎi)家服務(wù):
賣(mài)家服務(wù):
技術(shù)客服:

0571-85317607

網(wǎng)站技術(shù)支持

13606545031

客服在線時(shí)間周一至周五
9:00-17:30

關(guān)注官方微信號(hào),
第一時(shí)間獲取資訊。

建議反饋
返回頂部

建議反饋

聯(lián)系人:

聯(lián)系方式:

按住滑塊,拖拽到最右邊
>>
感謝您向阿庫(kù)提出的寶貴意見(jiàn),您的參與是維庫(kù)提升服務(wù)的動(dòng)力!意見(jiàn)一經(jīng)采納,將有感恩紅包奉上哦!