Giter VIP home page Giter VIP logo

Comments (3)

Datenheld avatar Datenheld commented on July 17, 2024

Hi Stein,

100 000 is probably an unsupported baud rate by the driver. Please try 115
200. You cannot just use arbitrary values, I am afraid.

Best regards,
Datenheld aka bulldog.

2014-11-06 12:08 GMT+01:00 SteinMaerivoet [email protected]:

Hi,
if I want to set the baudrate of my beaglebone black, I get the following
error:
error setting baudrate - unknown speed: -1231931436
I want to set the baudrate at 100.000 bits/s.

Any solutions for this problem?

Regards,
Stein


Reply to this email directly or view it on GitHub
#14.

from bulldog.

Datenheld avatar Datenheld commented on July 17, 2024

Hi, here are the supported baud rates:

case 50: baudRate = B50 ; break ;case 75: baudRate = B75 ;
break ;case 110: baudRate = B110 ; break ;case 134: baudRate =
B134 ; break ;case 150: baudRate = B150 ; break ;case 200: baudRate
= B200 ; break ;case 300: baudRate = B300 ; break ;case
600: baudRate
= B600 ; break ;case 1200: baudRate = B1200 ; break ;case
1800: baudRate
= B1800 ; break ;case 2400: baudRate = B2400 ; break ;case
9600: baudRate
= B9600 ; break ;case 19200: baudRate = B19200 ; break ;case
38400: baudRate
= B38400 ; break ;case 57600: baudRate = B57600 ; break ;case
115200: baudRate
= B115200 ; break ;case 230400: baudRate = B230400 ; break ;

2014-11-06 19:52 GMT+01:00 Sam Fisher [email protected]:

Hi Stein,

100 000 is probably an unsupported baud rate by the driver. Please try 115
200. You cannot just use arbitrary values, I am afraid.

Best regards,
Datenheld aka bulldog.

2014-11-06 12:08 GMT+01:00 SteinMaerivoet [email protected]:

Hi,
if I want to set the baudrate of my beaglebone black, I get the following
error:
error setting baudrate - unknown speed: -1231931436
I want to set the baudrate at 100.000 bits/s.

Any solutions for this problem?

Regards,
Stein


Reply to this email directly or view it on GitHub
#14.

from bulldog.

steinmaerivoet avatar steinmaerivoet commented on July 17, 2024

Hi,

thanks for the quick reply. Do you think that it would be possible to change the baud rate by changing register values? Most microcontrollers only support a standard set of baudrates, but some succeed to set the baudrate to a custom value.
My knowledge of microcontrollers is limited, so I don't know what's possible and what's not.

I also posted my question on google groups in the BeagleBoard Group.
https://groups.google.com/d/msg/beagleboard/NDD6ljuOso0/Kifl_8LaGEwJ

Btw, thumbs up for your library.

Regards,
Stein

from bulldog.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.