arduino / ArduinoCore-megaavr

Arduino Core for the ATMEGA4809 CPU
104 stars 62 forks source link

MuxTO UART reception problem #128

Open chalupec opened 1 year ago

chalupec commented 1 year ago

Hello, i have loaded successfully last version, i have replaced CRC table with calculation. I have encountered errors on UART reception. 115200baud speed. Transmittion from atsam->atmega works great(perfect timing and levels), also atmega->atsam works (checked by external receiver, perfect timing and levels), but atsam passes invalid data to serial terminal in PC. Basically i am sending "POS 1|1|1|1\r\n" and i get "POScddd>d" in terminal or "Pdcdddkd".. Does anybody encountered something similar?

V 1.8.8

chalupec commented 1 year ago

Even if i CRC lookup table is left unchanged and some other parts like JTAG etc, which are not used at that moment, are removed, it will enable me to compile and download firmware, but same problem with corrupted UART receive message occure, so that it is likely that speed of CRC calculation doesnt affect communication.

chalupec commented 1 year ago

Hello @facchinm did you ever observe something similar, or can you estimate why is this happening?