I'm using a SAMD20 with a UART interface to the host. Data transfer between SAMD20 and host works fine up to a baud rate of 115200. For anything higher than that we see data corruption.
For the UART we are using SERCOM1 in async mode, internal clock of 8MHz and slow clock of 32KHz, 8 data bits, 1 start bit, no parity. We use AtmelStart for project configuration. SAMD20 is operating at 8MHz with internal clock.
Since SAMD20 can support upto 3MHz baud, data corruption beyond 115200 is rather surprising. Has anyone faced similar issues? Any ideas on how to solve this problem?
Any help greatly appreciated!