Shouldn't both frequencies be the same?
How does the communication take place if both the frequencies are different?
I am trying to make my own development board. While doing this, I cam to know that we need an USB to TTL Converter for the MCU to be able to receive data.For this, FT232RL is being used. When I checked the datasheet, it is given that the chip works at 12Mhz and I know that arduino works at 16 Mhz.Shouldn't both frequencies be the same? How does the communication take place if both the frequencies are different?Here is the link of the datasheet I found:https://is.gd/pk9O7ZThanks in advance.
Bothe the FTDI and AVR chip divide their respective (and different) clock frequecies by internal divisors until they get a new clock to use for the serial communications interface (UART.)For example, to run the UART at 9600bps, the AVR divides 16MHz by 1667 and the FTDI divides 12MHz by 1250. (it's a bit more complicated than that, but that's the general idea.)
I assume you are aware of the "bit-bang" mode of the 232R?I'd like to buy the engineer who came up with that idea a drink of his choice.