serial comunication rs232
Johnnyfumi
Posts: 14
Hello this is the first time for me on this forum, i have a little problem and i'm looking for someone that can help me...I'm new whit the propeller chip and i don't know how to interface my propeller board whit pc trought rs232 serial protocol.··Should i use a circuit adapter? and if it's true can i use a max232 chip? and then does exist a libraryes that can i use?
thank you all and sorry for my bad english
Johnny
thank you all and sorry for my bad english
Johnny
Comments
Included with the Propeller Tool is an object (library) called "FullDuplexSerial" which implements a buffered Full Duplex Serial channel up to about 230KBaud. There's no flow control, but the buffers can be made larger than the default 16 bytes and that usually avoids the need for flow control.
There's also a slower "Simple_Serial" object in the Propeller Object Exchange (obex.parallax.com/) that's written completely in Spin and could be easily modified to provide flow control.
I can see in the SPIN portion the buffer I need to change, but being new to ASM, I am wondering are there some changes needed in the ASM to support my increased RX buffer size.· I believe there would need to be a counter of some sort where it would need to be changed.
Any help would be appreciated -
Thanks
Shawn
·
Thanks
Shawn