Hello,
MMG135 wrote:
Would you say it is essential to have a common power source for both the DS1822 and the MCU? Is this required to enable the proper functioning of the pullup resistor when the GPIO pin is in High-Z state?
What I was previously referring to was the Vdd voltage applied to the MCU. If you are using a plug pack as the primary source, its output will be regulated down to 3.0 or 3.3 volts. To avoid any potential damage to the MCU, the pullup resistor must be returned to a similar voltage level (the GPIO pins are not 5 volt compliant).
If you were to then connect the DS1822 to 5 volts, rather than the lower voltage level, it is possible that a 3 volt maximum at the DQ pin might be insufficient for proper logic switching within the device. You will need to check the datasheet for the DS1822 to see if this is so.
MMG135 wrote:
Hypothetically, if a common source is not possible between the DS1822 and MCU and I did not want to go to a separate MCU, could I use something like the DS1WM (1 Wire Master) from Maxim and feed the output into the MC9S08GT60 via one of the GPIO pins and then transmit this data via Zigbee using the same 13192-EVB board. Here is a link to information on the DS1WM: http://www.maxim-ic.com/datasheet/index.mvp/id/2834. If I need to get a separate MCU and go that route I will.
This device uses a parallel interface, and would require access to many more GPIO pins. This would not solve the interface problems that you may have.
I notice that there are other versions that have a IIC (or I2C) interface. These might be useful should the disabling of interrrupts during one-wire communications prove to be problematic for Zigbee operation, particularly with the longer duration one-wire reset pulse. However, significant additional code would be necessary for the operation of the IIC module.
Regards,
Mac