Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/02/02 04:28
Read: times


 
#33532 - RE: Simple 8052 O/S


Daniel McBrearty wrote:
-------------------------------
Up to now I have the OS working, in a mod'ed form (I hard coded the priority stuff to suit my app in the timer ISR), and two tasks attached to it. It's very tight for RAM, but it fits so far. In an 8052 would be no problem.



But I have a few speed issues. My board is a MIDI processing device, when it gets a bunch of bytes all at once it's not keeping up. MIDI is 31250 bauds, or a byte every 330us or so. When several complete message arrives, my code is not keeping up. I have some restruring to do to try to improve that, or I might try running at 24MHz with another chip

-------------------
why don't you simply store the incoming charecters by using circular buffer?then you can signal the serial handler.that should
prevent missing any chars.ofcourse your interrupt disable time should be less than 330 us:-)
pranav

List of 30 messages in thread
TopicAuthorDate
Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S @ erik            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S @ Erik            01/01/70 00:00      
RE: Simple 8052 O/S @ Erik            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      
RE: Simple 8052 O/S            01/01/70 00:00      

Back to Subject List