Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Maximum Baud Rate


  • Please log in to reply
10 replies to this topic

#1 dropsofjupiter89

dropsofjupiter89

    Member

  • Members
  • PipPip
  • 15 posts

Posted 13 February 2011 - 07:55 PM

What is the (regular) Netduino's maximum baud rate? I have been using 115200 with my camera, but my camera can support up to 1228800! I increased Netduino's baud rate to 115200x2 = 230400, but my camera appears to stop working/ Netduino does not recieve any "good" data via the RX pin. I find it hard to believe that Netduino will only have a max rate of 115200. Can someone confirm? Suggestion and comments will be most helpful!

#2 dropsofjupiter89

dropsofjupiter89

    Member

  • Members
  • PipPip
  • 15 posts

Posted 14 February 2011 - 05:01 AM

Update: After a few experiments, I managed to get the serial device and Netduino to communicate at 230400bps. I will try for 460800bps next and let you guys know if it works out.

#3 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 14 February 2011 - 07:22 AM

Update: After a few experiments, I managed to get the serial device and Netduino to communicate at 230400bps. I will try for 460800bps next and let you guys know if it works out.

Netduino maximum baud rate is 3000000 bps (48 MHz divided by 16 for 16× oversampling*). The question is at what speed the managed code will not be fast enough to consume received data - so let us know your findings.

* It could be doubled at 8× oversampling, but this would require change in firmware to modify values set during UART initialization, or to provide additional properties to the object model.

#4 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 15 August 2012 - 02:47 PM

i can only get a max of 115200! :angry:

Edited by Chris Walker, 15 August 2012 - 03:33 PM.
minor word filter


#5 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 15 August 2012 - 03:20 PM

i can only get a max of 115200 without my np going tits up! :angry:

COM1 or COM2? COM1 has some limitations if I'm correct.
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#6 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 15 August 2012 - 03:31 PM

Im using Com1, Com2 is being used for rs422 so i dont mind swapping :rolleyes:

#7 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 15 August 2012 - 03:34 PM

Hi ash, We generally recommend a maximum of 115,200 bps. You may be able to send and receive data at higher speeds, but 115,200 is generally the fastest UART used by SerialPorts. If you're having trouble communicating at faster speeds, I highly recommend analyzing your physical data stream using a logic analyzer. That will help sort out where data is getting lost. Chris

#8 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 15 August 2012 - 03:41 PM

something is not quite right for some reason its taking nearly 10secs to transfer a 20k jpeg image @ 115200! something is a miss somewhere. :huh:

#9 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 15 August 2012 - 04:11 PM

something is not quite right for some reason its taking nearly 10secs to transfer a 20k jpeg image @ 115200!

20kByte = 163840 bit. Devided by 10 seconds = 16384bps.
So it's not reaching it's full potential indeed.

Tried both COM ports?
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#10 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 16 August 2012 - 08:41 AM

no, thats a good point. will have a bash today, cheers.

#11 unospacer

unospacer

    Member

  • Members
  • PipPip
  • 11 posts
  • LocationGDL, MX

Posted 19 February 2013 - 10:57 PM

I know this is for the regular netduino, but just wanted to report I'm getting speeds via both, COM1 and COM2 on the Neduino + 2 at 2Mbaud.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.