Transmission from atmega32 to PC using max232 not working. When I checked the data from the Tx pin (in the realterm software) of atmega32 it was fine. But there was no output data from max232, when I was trying to read data in the realterm software. I have attached the circuit that I used.Where am I going wrong?
Check if the voltages at output of level converter are correct by giving logic 0/logic 1 at its input (use a multi meter to check output voltage of level converter). You haven't mentioned about the software used at host side to send/receive data. If you are using any terminal emulator like putty/minicom, check their settings for correct port settings, baud rate settings and make sure that flow control lines (RTS, CTS) are disabled. If all of these are not working, it would be a good idea to check the output of TX line of microcontroller using a logic analyser/oscilloscope. If such a setup is not available, use a loopback connection to ensure that your UART driver can actually send and receive bytes.
Also check if your microcontroller is properly decoupled from power supply.