View Full Version : Catalina 3.4 RS232 support?
04-02-2012, 11:03 PM
Does Catalina 3.4 have support for RS232 communications? I have a project that would be a great fit for Catalina, but need serial comms at 38400 baud. No hardware handshaking is necessary (just RX/TX), and it's a pretty standard (8 bits, no parity) set of serial parameters.
I did search through the manual and other info sources, and couldn't find the answer. Apologies in advance if it was somehow in front of my face :-)
04-03-2012, 03:42 PM
I'm sure Ross will chime in soon, but I know Catalina has serial support...
The default mode for a lot of the examples is to talk over USB serial link to your PC. That is, using the PC as a serial terminal to view Propeller output.
04-03-2012, 11:40 PM
I'm also almost certain that you can load in a serial object from the catalina library. Use a max3232 and a D9 and pick any two free prop pins. 38400 works fine.
04-04-2012, 01:10 AM
If you use the -D PC option this compiles using the PC serial over P31 & P30 as a default. I am using this at 115200 baud. However, we have run into a buffering problem in that 16 bytes is not large enough. With Ross's help I have modified the driver and am about to test. The mods allow for receive buffering to be set to 4/8/16/32/64/128/256 bytes.
I am unsure where you set the baud and pins, but I do know they are configurable.
As Drac said, use a Max3232 chip to convert to RS232.
04-04-2012, 03:27 AM
Thanks for that info! Yes, I'll be using a MAX3232 (built into the PPDB board) for the RS232 interface.
Chat with you soon,