The maximum power dissipation of the TL064CD is 670mW, which is calculated based on the maximum junction temperature (TJ) of 150°C and the thermal resistance (RθJA) of 125°C/W.
While the TL064CD is an op-amp, it can be used as a comparator in a pinch. However, it's not the best choice due to its limited slew rate and bandwidth. A dedicated comparator like the LM339 would be a better choice.
To ensure stability, make sure to follow proper compensation techniques, such as adding a capacitor in the feedback loop to reduce the gain at high frequencies. Additionally, ensure that the op-amp is not oscillating by checking the output waveform with an oscilloscope.
The input impedance of the TL064CD is typically around 2MΩ, but this can vary depending on the specific application and operating conditions. It's always a good idea to check the datasheet and application notes for more information.
The TL064CD is rated for operation up to 125°C, but its performance may degrade at higher temperatures. If you need to operate in a high-temperature environment, consider using a more specialized op-amp designed for high-temperature operation.