In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: Günther, You are quite correct. Actually the MIDI baud rate is 31250, which sounds like a really "weird" baud rate becuase we're conditioned to 9600, 19200, 38400, etc. The fact is that back in the 80's when MIDI was created, microprocessors ran on rather slow clocks and the MIDI folk wanted an easy way to derive the baud from the same clock that drove the CPU. They were concerned about adding extra parts/cost to products. So, take a 1 MHz clock, divide it by 32 and what do you get? 31250, that's what. It meant that you could toss some flip-flips (remember those?) or other such soultions at the problem and get the clock to drive your UART. [list]Thanks, PeterM[/list] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=107557#m107794 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)