Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: HenrikOlsson; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    41
    Views
    46,978

    Re: Multiple PICs on usart network

    Andy,
    Just like Richard says the key is to make sure that the slaves never ever starts to speak without being spoken to. If you have one master and multiple slaves you need to come up with a scheme...
  2. Replies
    41
    Views
    46,978

    Re: Multiple PICs on usart network

    Robert,
    I've done quite a bit of work with half duplex RS485 where you have a pin telling the tranceiver chip if it should operate in TX or RX mode.
    If I do

    TxRx = Tx ' Switch tranceiver to...
  3. Replies
    41
    Views
    46,978

    Re: Multiple PICs on usart network

    Hi,
    This....


    TXSTA.5 = 1 ' Enable USART TX function
    HSEROUT (slave sends reply only when spoken to by master)
    TXSTA.5 = 0 '...
  4. Replies
    41
    Views
    46,978

    Re: Multiple PICs on usart network

    Hi Robert,
    I think the two TX-pins are fighting each other. When neither are trying to send they are both idle at high (or low, I can't remember). Then all of a sudden one is trying to send a bit...
Results 1 to 4 of 4