Jump to content
Sign in to follow this  
john27

Rs232 Setup

Recommended Posts

Here at the technical college, we have been using CCS which has a very simple function to set up RS232 either in hardware or in a software emulation. I have been gradually switching my students over to Sourceboost and all has been going well except when we attempted to get serial communication going.

 

The sample serial code did not work correctly in UART simulation by producing the wrong baud rate. We tested it in the Proteus simulation application and eventually got both receiving and transmitting working but could not get the receive to work in actual hardware (on a 16F873) even though it worked under Proteus. Also, setting up the defines seems to be too tricky for beginning students who just need a basic serial link.

 

So that's my enhancement request: a simple way to set up software serial I/O on a PIC -such as a 16F84A (which students can use in the Lite version of Proteus.)

 

Thanks.

Share this post


Link to post
Share on other sites

hello,

 

 

The PIC16F84 can only use the software USART. So it is advised that you may follow the boostbasic example of designing the software USART.

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
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  

×