This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello:
We are using some MAX3232 in a project, we use like with suggested components showed in datasheet diagram, we are using T2 and R2 channels (7,8,9 and 10 pin) if we power MAX232 and them connect to RS232 device, systems works fine, and power current is about 0.5 mA, all OK, but if we connect RS232 device and them we power max 3232, power current is about 400 mA and doesn't work.
System only works if we first power MAX3232 and after we connect to RS232.
We tryied connecting not used channel inputs (11 and 13 pins) to ground or VCC like explained in datasheet, but doesn't work. We tryied with some different MAX3232 units.
¿What's the problem?
Best regards.
Andy,
Sorry to hear your problem with MAX3232. Can you give more information about your power design? Do you have two supplies for MAX3232 and RS232 device? Does the supply have any current limit? When you observed 400mA, was the total power from both MAX3232 and RS232 device? When the current was 400mA, what's the voltage level of the supply? As you power up the system with MAX3232 and RS232 device connected, what's the status of pin 7,8,9,10?
Regards,
Hao
Hello Hao:
We have one power supply for MAX3232 and a Atmega MCU (Linear regulator) we also tryied to power with our laboratory power supply to discard power supply problems. RS232 device is powered with another power supply with common grounds between RS232 device, MAX3232 and MCU. We tested with different RS232 devices.
If we power MAX3232 and MCU with RS232 connected current reach 460 mA at 5V (MCU and MAX3232) and doesn't work fine.
If we power MAX3232 and MCU with RS232 disconnected, current reach about 45 mA, then, after power upMCU+MAX3232 we connect RS232 device and current is maintained in 45 mA (And works fine)
We also test with MAX3232 to MCU TTL connection disconected with same result.
Best regards.
Hao:
Yes, pin 9 and 10 are connected to MCU(TTL side), and 7 and 8 (RS232 side) to a RS232 laptot computer port
When power consumption is 460 mA i attach voltage levels of each pin:
pin2 4.1v
pin6 2.5v
pin7 2.9v
pin8 2.2v
pin9 3.6v
pin10 4.2v
When system works fine and power consumption is 50 mA (MCU+MAX3232) in stand-by mode i attach voltage levels of each pin:
pin2 9.5v
pin6 -9.1v
pin7 -8.5v
pin8 -8.5v
pin9 5v
pin10 5v
Best regards.
Hao:
We test with TTL side disconnected (pin 9 and 10), then power MAX3232 and MCU: Doesn't work, power consumption is 450 mA
We test with all connections except RS232 IN connected (pin8): power consumption is normal, about 50mA (MAX3232+MCU)
Regards.
Andy,
Do you have any decoupling cap from Vcc to ground, how many, where and what the values are?
What's the RIN connection? Is it pulled high or low? By default, that pin is biased to ground internally. Can you try with setting RIN high? From your description, the abnormal power might not come from the interaction between MCU and MAX3232 (at least from TTL side).
Do you have any schematics? If so, it would be helpful. I draw a simplified diagram.
Regards,
Hao
Hi Hao:
Finally we tryied changing MAX3232 to another MAX3232 reference (MAX3232CSE+T) and now it's working fine, works perfect without problems (We don't know why, because both reference are equivalent, but with this reference works fine)
Problem solved!
Thank you for your attention Hao.
Best regards.