Jump to content
Sign in to follow this  
bsane

Software Usart Timing Problem?

Recommended Posts

I'm using BoostC 1.9.3 with a 16F876A, and having problems with the supplied software USART...

 

I set up all the required variables, but it appears that the delay loop is not correct. From the documentation it expects the loop to be 8 instructions long, but it appears to me to only be less (maybe there is better optimization now? ;-) )

 

I got it to work by subsituting an appropriate delay instead of the code supplied.

 

 

Scott Wilson

Share this post


Link to post
Share on other sites

Scott,

 

I've had a look at this code, and to me it does look so good regarding the delay timing for software UART.

 

Sounds like you have done the right thing changing the delays to use the built in delay functions.

 

Regards

Dave

Share this post


Link to post
Share on other sites

Joe,

 

Its on the todo list, it might not make it into the next release though - its all a little trickier that it might at first appear.

 

Regards

Dave

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...