Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437
Posted: 01:53am 10 Jul 2015
Copy link to clipboard
Print this post
Hi ,
I know mmbasic cant handle 480 kb with serial baudrate
but i like to know what chip can handle this baudrate ?
Pc serial has also a slow serial in my case.
Mfg
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2437
Posted: 02:07am 10 Jul 2015
Copy link to clipboard
Print this post
i'm running an arduino nano at 500,000 baud, and had no problems even at 1,000,000 baud - meaning that an atmel ATmega328p is ok at these speeds.
at these high baud rates it can help to select a baud rate that is a multiple of the system clock. for instance, while a nano worked fine at 500,000 baud, it failed to communicate at 460,800 baud. the nano's clock is 16MHz. in the same vein, if the device you are talking to supports it, you may like to try the micromite at 500,000 baud.
cheers,
rob :-)
addendum: if one end of your serial link is through a USB to serial bridge, you will strike an issue that USB is limited to 1000 "transactions" per second, where the size of each transaction can be small (only 1 character) or big (10,000 or more characters). so to achieve good throughput you do need to be sending data from your PC in relatively large chunks, not one character at a time.Edited by robert.rozee 2015-07-11
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9593
Posted: 02:12am 10 Jul 2015
Copy link to clipboard
Print this post
The new MM+ beast can support up to 1Mb on all four serial ports via MMBASIC.
From manual for new MM+ page 71:
Smoke makes things work. When the smoke gets out, it stops!
plasma Guru Joined: 08/04/2012 Location: GermanyPosts: 437