Shop OBEX P1 Docs P2 Docs Learn Events
Catalina 3.4 RS232 support? — Parallax Forums

Catalina 3.4 RS232 support?

RetrobitsRetrobits Posts: 46
edited 2012-04-03 20:27 in Propeller 1
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 :-)

Thanks,

- Earl

Comments

  • RaymanRayman Posts: 14,844
    edited 2012-04-03 08:42
    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.
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2012-04-03 16:40
    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.
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-04-03 18:10
    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.
  • RetrobitsRetrobits Posts: 46
    edited 2012-04-03 20:27
    Thanks for that info! Yes, I'll be using a MAX3232 (built into the PPDB board) for the RS232 interface.

    Chat with you soon,

    - Earl
Sign In or Register to comment.