Mega2560 Serial1, 2 and 3 speed capped?
my testing until shows usart0 running nicely @ speeds 1mbps. usart1, 2 , 3 however, seem lose plot @ around 200k.
anybody have experience this?
anybody have experience this?
could baud rate error? @ high speeds, resolution of baud rate generator problem - use calc: http://wormfood.net/avrbaudcalc.php
you don't see issue uart0 through atmega16u2-as-serial-adapter on mega2560 because 16u2 avr clocked @ 16mhz, subject same baud rate issues, 2 still match.
your serial adapters may not able support speed - many serial adapters have limited selection of speeds, , based on dividing clock that's chosen multiple of normal baud rates (ex 9600) rather ones 500000 or 2000000. check specs on serial adapters.
you don't see issue uart0 through atmega16u2-as-serial-adapter on mega2560 because 16u2 avr clocked @ 16mhz, subject same baud rate issues, 2 still match.
your serial adapters may not able support speed - many serial adapters have limited selection of speeds, , based on dividing clock that's chosen multiple of normal baud rates (ex 9600) rather ones 500000 or 2000000. check specs on serial adapters.
Arduino Forum > Using Arduino > Microcontrollers > Mega2560 Serial1, 2 and 3 speed capped?
arduino
Comments
Post a Comment