A good PCB layout for the OPA2340 involves keeping the input and output traces short and away from each other, using a solid ground plane, and placing decoupling capacitors close to the power pins.
The choice of gain resistors depends on the desired gain, bandwidth, and noise requirements. A good starting point is to use the gain resistor calculator tool provided by Texas Instruments or to consult the application notes.
The maximum power dissipation of the OPA2340 is dependent on the ambient temperature and the thermal resistance of the package. A safe estimate is to limit the power dissipation to 500mW to ensure reliable operation.
Yes, the OPA2340 can be used as a unity-gain buffer by connecting the output to the inverting input and using a non-inverting input configuration. However, this may affect the noise performance and bandwidth of the amplifier.
To protect the OPA2340 from EMI, use a shielded enclosure, keep the input and output traces short, and use a common-mode choke or ferrite bead on the input lines. Additionally, consider using a low-pass filter or EMI filter on the input.