PDA

View Full Version : Catalina host serial support



michael1991j
11-10-2011, 03:12 PM
Hello

I am currently working on a project with a propeller board and I was wondering if anybody knew if catalina the c compiler supports host USB serial. I am trying to interface a IMU over serial. It appears to me that I can not find any example code. Could somebody please point me in the right direction or possibly provide an example.

thank you

David Betz
11-10-2011, 03:21 PM
Hello

I am currently working on a project with a propeller board and I was wondering if anybody knew if catalina the c compiler supports host USB serial. I am trying to interface a IMU over serial. It appears to me that I can not find any example code. Could somebody please point me in the right direction or possibly provide an example.

thank you
If you mean using the PropPlug to interact with a program running on the Propeller over a serial connection you can do that by using the PC HMI. I think -DPC on the command line is all that is needed to select this option.

michael1991j
11-10-2011, 03:25 PM
If you mean using the PropPlug to interact with a program running on the Propeller over a serial connection you can do that by using the PC HMI. I think -DPC on the command line is all that is needed to select this option. currently I am using a ftdi chip to interface with it

David Betz
11-10-2011, 03:28 PM
I think that should still work. The PropPlug is nothing but an FTDI chip anyway. If you use your FTDI chip to download the Propeller you can almost certainly use it with the -DPC option.

Cluso99
11-10-2011, 07:01 PM
michael1991j: Firstly, welcome to the fabulous world of the propeller and this great forum.

You are referring to "host" USB. The answer is therefore more complex than it seems. It really depends on what interface and protocols are required for the USB host driver. If it is merely a serial interface, then Catalina supports a serial interface to which we often attach a USB device chip (usually the FT232RL) and often called a PropPlug. This connects to the PC using a virtual serial driver in Windows. *nix etc have also been used on the PC.