why is UART used in circuits and particularly with ATMEGA32? Is it necessary to have a uart for connecting a usb to the circuit?
thanks, it helped me alotUART is still being used on micros because:
1) it is easy to implement in hardware
2) historical and legacy reasons, backward compatibility.
USB needs much more than hardware to implement. It requires a lot of software overhead to implement the USB protocol. You will not find USB in low end MCUs.
UART and USB are two completely different things.
There is such a thing as a UART-to-USB bridge, such as Silicon Labs CP2102 which can be used to connect an MCU with UART to a host computer USB.
However, the PC sees the MCU as a UART COM port, not a USB device.