Home arrow Forum
FreakLabs Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Serial Port problem (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 1
TOPIC: Serial Port problem
#8812
David Thompson (Visitor)
Apprentice Freak
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Serial Port problem 7 Months, 4 Weeks ago Karma: 0  
Since the Freakduino Chibi runs on the internal oscillator, there is a problem with serial input at the higher speed > 100K. I was able to get a single character recognized, but the second one wasn't. For example I type a single A into the Arduino serial monitor and hit enter; it works fine. I type AA and hit enter, the first character is fine, the second is something other than A.

It works fine at the slower speeds and I can send a whole sentence without problems.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8819
Akiba (Admin)
Admin
Posts: 1242
graph
User Online Now Click here to see the profile of this user
Re:Serial Port problem 7 Months, 3 Weeks ago Karma: 23  
Actually the problem is also still visible with an external crystal if you use 115200 bps. For those speeds, you would need an exact divider like 7.3728 MHz or 11.059 MHz. The boards work well with the internal oscillator and a UART at 250 kbps which is the speed used for DMX, but that's because there's 0% error with 8 MHz.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8821
David Thompson (Visitor)
Apprentice Freak
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Serial Port problem 7 Months, 3 Weeks ago Karma: 0  
Thank you. I may just up it to 250 to see how well my laptop handles that speed. I don't really need input to the board at that high a speed, but it's really nice to be able to get it out that fast. I use the input to choose which address out of a list I want to listen to, so a single character works fine for now.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop