samic45mit1
Member level 3
Hello,
I try to interface PCF8591 with ATMEGA32. And successfully run DAC and all modes of ADC but when I try to read ADC data and write same data on DAC then this not work. Even when control register of PCF 8591 is reinitialized . First I use internal oscillator of PCF8591 by grounding EXT pin, with this ADC and DAC work correctly (but not together as I mansion). Then I connect EXT pin with VCC and give 75KHz clock form PWM channel of AVR, in this case both ADC and DAC stop working. While using internal oscillator I see that during ADC read operation DAC stop working. Sohow to use ADC and DAC of PCF8591 together(it is possible ??).
I try to interface PCF8591 with ATMEGA32. And successfully run DAC and all modes of ADC but when I try to read ADC data and write same data on DAC then this not work. Even when control register of PCF 8591 is reinitialized . First I use internal oscillator of PCF8591 by grounding EXT pin, with this ADC and DAC work correctly (but not together as I mansion). Then I connect EXT pin with VCC and give 75KHz clock form PWM channel of AVR, in this case both ADC and DAC stop working. While using internal oscillator I see that during ADC read operation DAC stop working. Sohow to use ADC and DAC of PCF8591 together(it is possible ??).