Thanks,
I'm using the RTS only (you can have a look at my elec. scheme above). so I wanted to configure the TXRTSE register.
If I'm writing straight to the registers:
UART1->S1 & UART_MODEM_TXRTSPOL(1); //setting it as active high
UART1->S1 & UART_MODEM_TXRTSE(1);
1. Is this the correct way to do it?
2. If so, when I connect a scope, I see the RTS line is getting high right pass this line:
PORT_SetPinMux(PORTC, PIN1_IDX, kPORT_MuxAlt3); /* PORTC1 (pin 71) is configured as UART1_RTS_b */
which is strange by itself (why does setting this pin as a RTS asserted it to '1'?),
and also, it stays there as '1' for good (why did my previous lines did not changed it back to '0'?)
Roy