| поискавой системы для электроныых деталей |
|
AD5231 датащи(PDF) 21 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD5231 датащи(HTML) 21 Page - Analog Devices |
|
21 / 28 page ![]() Data Sheet AD5231 Rev. D | Page 21 of 28 PROGRAMMING EXAMPLES The following programming examples illustrate a typical sequence of events for various features of the AD5231. See Table 7 for the instructions and data-word format. The instruction numbers, addresses, and data appearing at SDI and SDO pins are in hexadecimal format. Table 13. Scratchpad Programming SDI SDO Action 0xB00100 0xXXXXXX Writes data 0x100 into RDAC register, Wiper W moves to 1/4 full-scale position. Table 14. Incrementing RDAC Followed by Storing the Wiper Setting to EEMEM SDI SDO Action 0xB00100 0xXXXXXX Writes data 0x100 into RDAC register, Wiper W moves to 1/4 full-scale position. 0xE0XXXX 0xB00100 Increments RDAC register by one to 0x101. 0xE0XXXX 0xE0XXXX Increments RDAC register by one to 0x102. Continue until desired wiper position is reached. 0x20XXXX 0xXXXXXX Stores RDAC register data into EEMEM(0). Optionally tie WP to GND to protect EEMEM values. The EEMEM value for the RDAC can be restored by power-on, by strobing the PR pin, or by programming, as shown in Table 15. Table 15. Restoring the EEMEM Value to the RDAC Register SDI SDO Action 0x10XXXX 0xXXXXXX Restores the EEMEM(0) value to the RDAC register. 0x00XXXX 0x10XXXX NOP. Recommended step to minimize power consumption. Table 16. Using Left-Shift by One to Increment 6 dB Step SDI SDO Action 0xC0XXXX 0xXXXXXX Moves the wiper to double the present data contained in the RDAC register. Table 17. Storing Additional User Data in EEMEM SDI SDO Action 0x32AAAA 0xXXXXXX Stores data 0xAAAA in the extra EEMEM location USER1. (Allowable to address in 14 locations with a maximum of 16 bits of data.) 0x335555 0x32AAAA Stores data 0x5555 in the extra EEMEM location USER2. (Allowable to address in 14 locations with a maximum of 16 bits of data.) Table 18. Reading Back Data from Memory Locations SDI SDO Action 0x92XXXX 0xXXXXXX Prepares data read from EEMEM(2) location. 0x00XXXX 0x92AAAA NOP Instruction 0 sends a 24-bit word out of SDO, where the last 16 bits contain the contents in the EEMEM(2) location. The NOP command ensures that the device returns to the idle power dissipation state. Table 19. Reading Back Wiper Settings SDI SDO Action 0xB00200 0xXXXXXX Writes RDAC to midscale. 0xC0XXXX 0xB00200 Doubles RDAC from midscale to full scale (left-shift instruction). 0xA0XXXX 0xC0XXXX Prepares reading wiper setting from RDAC register. 0xXXXXXX 0xA003FF Reads back full-scale value from SDO. |
|
ссылки 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 |