| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
MCP4728 bảng dữ liệu(PDF) 23 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP4728 bảng dữ liệu(HTML) 23 Page - Microchip Technology |
|
23 / 50 page ![]() Quick Start Instructions © 2009 Microchip Technology Inc. DS51837A-page 19 • Parameters in the Script Detail column: 1.3.2.7 SAVE THE SCRIPT FILE AND PROGRAMMING THE MCP4728 DAC REGISTERS 1. Type in any script name (i.e., MCP4728_W_Fast) in the space below the Script Name menu. 2. Click Save Script button. 3. Click Execute Script button. 4. You can also see the SCL and SDA waveforms using the Oscilloscope. 5. Read the VOUT voltage at the VOUT test pads: In order to update the DAC output register, the LDAC pin must be “Low”. • Press “S1” button in the MCP4728 Evaluation Board. The device will update the VOUT as soon as the LDAC pin switch S1 is pressed. You can now measure the DAC output voltages (VOUT A, VOUT B, VOUT C, VOUT D) using a voltmeter. When Examples 1, 2, and 3 are executed sequentially, all channels use an internal reference. Figure 1-13 shows the expectation of each DAC channel out- puts. Script Detail I2CSTART * I2CWRTBYT * 09 -------> This means there are nine bytes to send. C0 -------> Address byte = 1100-0000 (See Note). 0F -------> 1st byte of DAC A Register (Channel A) = 0000-1111 FF -------> 2nd byte of DAC A Register (Channel A) = 1111-1111 07 -------> 1st byte of DAC B Register (Channel B) = 0000-0111 FF -------> 2nd byte of DAC B Register (Channel B) =1111-1111 03 -------> 1st byte of DAC C Register (Channel C) = 0000-0011 FF -------> 2nd byte of DAC C Register (Channel C) = 1111-1111 01 -------> 1st byte of DAC D Register (Channel D) = 0000 -0001 FF -------> 2nd byte of DAC D Register (Channel D) = 1111-1111 I2CSTOP * Note: All parameters above must be listed in order. The parameter above with * are not modifiable. The MCP4728 device on the evaluation board has I2C address bits (A2, A1, A0) = (0,0,0). Note: At this point, the PICkit Serial transmits the I2C Write Command to the MCP4728 device. The saved file name will appear in Users I2C Scripts column, and can be re-used any time by selecting the file name. Note: When you click on the “Execute Script” menu, the “Busy” LED on the PICkit Serial Analyzer will momentarily turn on and then turn off. If the LED remains ON, a communications problem has occurred. Remove the PICkit Serial Analyzer from your computer and recheck the parameter values including the order of parameters under the “Script Detail” column including the I2C address of the device, and try again until the “Busy” LED turns OFF immediately after sending the I2C command. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |