I am new to Atmel studio and SAMG55 microcontroller.
I am using DK20648 TDK InvenSense. In that, SAMG55 is interfaced to ICM20648 using I2C/SPI. I am using I2C. Now I want to transfer this data from SAMG55 to other microcontroller using UART.
So I connect SAMG55 USART0 pins (Rx: PA9, Tx: PA10, CTS: PA25, RTS: PA26) to UART pins of other microcontroller. USART0 on SAMG55 is used for FTDI.
Now the problem is: on other microcontroller I always receive garbage values. I have set baudrate as 921600 on SAMG55 and other microntroller also. On SAMG55, baudrate was 2MHz for USART0. I changed it to 921600.
I am not understanding why the garbage value is received. What am I doing wrong?
Is it okay to use FTDI UART pins to transmit the data or should I use some other UART port?