| поискавой системы для электроныых деталей |
|
DAC7573IPW датащи(PDF) 27 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
DAC7573IPW датащи(HTML) 27 Page - Texas Instruments |
|
27 / 30 page ![]() www.ti.com 8 6 4 9 5 7 1 2 3 12 14 11 10 13 16 15 DAC7573 VOUTA VOUTB VREFH VDD VREFL GND VOUTC VOUTD A3 A2 A1 A0 IOVDD SDA SCL LDAC GPIO-2 GPIO-1 IOVDD Microcontroller or Microprocessor NOTE: DAC7573 power and input/output connections are omitted for clarity, except I2C Inputs. DAC7573 SLAS398 – SEPTEMBER 2003 APPLICATION INFORMATION (continued) Figure 41. Using GPIO With a Single DAC7573 Bit-banging I2C with GPIO pins can be done by setting the GPIO line to zero and toggling it between input and output modes to apply the proper bus states. To drive the line low, the pin is set to output a zero; to let the line go high, the pin is set to input. When the pin is set to input, the state of the pin can be read; if another device is pulling the line low, this reads as a zero in the port’s input register. Note that no pullup resistor is shown on the SCL line. In this simple case the resistor is not needed. The microcontroller can simply leave the line on output, and set it to one or zero as appropriate. It can do this because the DAC7573 never drives its clock line low. This technique can also be used with multiple devices, and has the advantage of lower current consumption due to the absence of a resistive pullup. If there are any devices on the bus that may drive their clock lines low, the above method should not be used. The SCL line should be high-Z or zero, and a pullup resistor provided as usual. Note also that this cannot be done on the SDA line in any case, because the DAC7573 drives the SDA line low from time to time, as all I2C devices do. Some microcontrollers have selectable strong pullup circuits built in to their GPIO ports. In some cases, these can be switched on and used in place of an external pullup resistor. Weak pullups are also provided on some microcontrollers, but usually these are too weak for I2C communication. Test any circuit before committing it to production. 27 |
|
ссылки 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 |