| поискавой системы для электроныых деталей |
|
MCP4728 датащи(PDF) 32 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP4728 датащи(HTML) 32 Page - Microchip Technology |
|
32 / 50 page ![]() MCP4728 Evaluation Board User’s Guide DS51837A-page 28 © 2009 Microchip Technology Inc. • Parameters in the Script Detail column: 1.3.2.13 SAVE THE SCRIPT FILE AND PROGRAMMING THE MCP4728 DAC REGISTERS 1. Type in any script name (i.e., MCP4728_W_SeqB) 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 terminals: Since the UDAC bit is set to “0” in the command, the device will update the VOUT B, C, and D outputs as soon as the command is executed regardless of the condition of the LDAC pin switch S1. Script Detail I2CSTART * I2CWRTBYT * 08 -------> This means there are eight bytes to send. C0 -------> Address byte = 1100-0000 (See Note). 52 -------> Command Type and Ch. B is a starting channel 0F -------> Configuration register bits and data nibble for Ch. B FF -------> Data byte for Ch. B FF -------> Data byte for Ch. C 90 -------> Configuration register bits and data nibble for Ch. D I2CSTOP * FF -------> Data byte for Ch. D 8F -------> Configuration register bits and data nibble for Ch. C 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. |
|
ссылки 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 |