Shop OBEX P1 Docs P2 Docs Learn Events
Maximum # of Uart VPs? — Parallax Forums

Maximum # of Uart VPs?

ChrisBChrisB Posts: 19
edited 2005-03-29 18:59 in General Discussion
What's the maximum number of Uart VPs that can be active on a Javelin at any one time?

Does the number change if a Uart is stopped when not in use?

Thanks
Chris

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-02-24 06:27
    You can run 6 VP's

    These can be all uarts or all different types

    If you stop a VP you can start another

    regards peter
  • ChrisBChrisB Posts: 19
    edited 2005-02-24 14:27
    Peter -



    Thanks. I was mainly curious about the stop/start issue.



    Chris

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-03-29 18:31
    Well, you can 'unload' a VP, but if you unload a UART, then it's not 'listening' to the pin any more. As long as this is not a problem, then it will work. Personally, when I have a UART 'listening' on a pin, I don't want it to stop listening. On the other hand, if you are using a 'sending' UART, it only needs to be active when it needs to send data.

    And note that of the 6 VP's mentioned above, a duplex UART will take 2 VP's -- one to send, and one to recieve.
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-03-29 18:59
    A Uart with handshake can be stopped safely as long as the handshake

    signal is set to off while the Uart is not running.

    I use the following setup for multiple Uarts:

    VP0: timers

    VP1: transmit Uarts (only 1 transmit Uart active at any time)

    VP2: receive Uarts with handshake (only 1 receive Uart active at any time)

    VP3,VP4,VP5: receive Uarts without handshake (always running)

    This scheme allows me to use more than 8 uarts, though not

    simultaneously.

    regards peter
Sign In or Register to comment.