Hi all,
I am trying to give rs 485 connectivity to my MSP430F5438 kit. As per suggestions to control direction pin i have written following code.
while (!(UCA0IFG&UCTXIFG)); // USCI_A0 TX buffer ready?
P1OUT |= BIT0; // P1.0 = 1
UCA0TXBUF = UCA3RXBUF;
if(UCA0STAT == UCBUSY);
P1OUT &= ~BIT0;
But the problem is when i try to communicate and transmit transmitter misses some character after every 14-18 character.
Please help me implementing the same.Are there some other methods to do this?
Regards.