The only case where I think baud rate should matter on a PC is when data is being transmitted by the PC to the bridge. And yet, when a wrong baud rate is set in the PC serial terminal, gibberish is received, even though the data is received over USB without any traces of UART stench on it. I've read somewhere that the PC ignores any baud rate setting used with USB CDC. So I can see why it is important that the ATMEGAU2 and ATMEGA328 agree on a baud rate. The baud rate is needed by the bridging device to know the signalling rate to be used on the TX/RX lines.įor example, the ATMEGA16U2 used with the ATMEGA328 on Arduino Unos is responsible for receiving USB packets from the PC and translating them to UART signals for the ATMEGA328. As I understand it, in PC-to-MCU communications over USB CDC, specifying a baud rate is only necessary when the MCU sends its received data to a UART.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |