Chip 24FJ128GA306 has Hardware RTS/CTS flow control lines.
I can't see anything in the CCS #use RS232( ) that even mentions hardware flow control.
On earlier projects (PIC18) I implemented RTS/CTS in my code.
Does CCS have any functions to enable/use the built in Hardware RTS/CTS.
I some how don't think the hardware can do that automatically. I guess I'm being a little lazy and could study the data sheet some more. !
My question is:
Must I handle the UARTs built in Flow control ?
Thanks
Ttelmah
Joined: 11 Mar 2010 Posts: 19536
Posted: Fri Aug 14, 2015 12:26 am
It is in #use RS232. However _only__ if you enable buffering. Look again. It is a huge section entitled 'Flow Control Options', after the section 'Serial Buffer Options'. You can specify the pins for RTS/CTS, what level to use, and control the actual timing involved (there is a misprint in the manual here, with the FLOW_CONTROL_MODE option referring to RTS, when it should refer to CTS). SIMPLEX_MODE controls RTS.
Are you sure you are using the current manual?.
soonc
Joined: 03 Dec 2013 Posts: 215
Thanks
Posted: Fri Aug 14, 2015 5:07 am
Ttelmah wrote:
Are you sure you are using the current manual?.
Thanks You nailed it.
As the V5.048 IDE debugger really is not working (it is being fixed, I hope)
I moved down to the V4.124 IDE and of course the help file does not include "Flow Control Options" in the #use RS232
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum