-2

I am trying to communicate UART with PIC32MX795F512L. I am really confused with this thing that we should use MAX232/ADM3202 or pins will directly commnicate. Because in some microcontroller, it is not required but in others it is required. Please help.

Thanks

anna carolina
  • 366
  • 1
  • 5
  • 17

2 Answers2

0

Yes, you will need to have MAX232 or ADM3203 along with allied components for making your microcontroller communicate with a computer over UART/USART Serial interface.

RS232 is a standard and defines the signal level requirements at transmitter and receiver. Therefore to make it compatible with the TTL output, an interface (coverter) component is required which shall convert the TTL logic to RS232 standard and vice versa. MAX232 does that for you.

WedaPashi
  • 1,670
  • 17
  • 29
  • Many motherboard rs232 can work with TTL logic levels these days. The signal may need to be inverted, but this can be done at the microcontroller level. A full tranceiver is often not required. – Scott Seidman Jul 15 '15 at 10:33
  • @ScottSeidman: Yes, true. But at the basic level, people will assert that you need one. – WedaPashi Oct 15 '15 at 12:10
0

If you are using UART to communicate with another controller with same logic levels, you don't need max232 ic.

RS232 is a standard that also has specifications on logic levels.Your PC can understand only RS232 logic levels while your controller controller communicates in TTL logic. To bridge this, you need MAX232 ic.

seetharaman
  • 476
  • 1
  • 6
  • 17