Shop OBEX P1 Docs P2 Docs Learn Events
New to Propeller — Parallax Forums

New to Propeller

JavaPaulJavaPaul Posts: 9
edited 2006-08-27 02:03 in Propeller 1
I am currently using a pair of Javelin Stamps in my application, which requires 4 continuous PWM outputs, an I2C interface, a few analog inputs, and 4 UARTS (plus an additional pair of UARTS for bi-directional Javelin-to-Javelin communication). It seems that a single Propeller device might be able to satisfy these requirements while providing improved performance.

I've only read the introductory Propeller documentation. If I understand correctly, the 8 cogs could be programmed to provide the PWM and UART functionality. Does this make sense? Is it possible to support an I2C interface at the same time?

Thanks in advance for your thoughts.

Paul

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2006-08-27 02:03
    Yes. I assume you mean servo motor control when you mention PWM. There is an object that will support up to 32 servos using one cog. Each full duplex UART will require a cog, and the I2C interface will require a cog. You can do I2C, Servo PWM, and a simple UART using SPIN in a cog as well, but the specialized routines are written in assembly and are faster.
Sign In or Register to comment.