Jump to content

Eusart Interrupt Routine Circular Buffer

Recommended Posts

I need to understand how write a program to do this things with PIC18f8722@25MHz :


1) How Setting the Usart (1 or 2) to work at 115.200BRate or other BRates.

2) How make a circular buffer of 256 bytes that fill in interrupt by receive chars trought Usart->RX pin asynch.

3) How, when a special chars at the end of circular buffer exist, I can send ALL string trought Usart->TX pin asynch (even in interrupt).


I try to migrate from PicBasicPro to SourceBoostC but with more difficulty.



Sorry for language.


There is an angel to help me ???? Thank's so much!!!!



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.

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.

  • Create New...