Other Parts Discussed in Thread: AWR1642
I am trying to use MSS_UARTB (aka UART3) as a full duplex UART with RX and TX. I can see that there are pins that can be muxed to the MSS_UARTB_RX signal according to the datasheet - N4 and P4. However, I noticed that in the UART driver, there is a configuration which says UART3 is TX only. (This is in drivers/uart/platform/uart_xwr16xx.c) It also says in this file that "This should *NOT* be modified by the customer." It doesn't make a whole lot of sense to me that you would go through all the trouble to mux the UART3 RX signal out if it can't do RX. I suspect this is an error in the UART driver. I'm hoping that a TI engineer can confirm that I can change this configuration without breaking something, since there is that warning.
You might wonder why I care about this. I am trying to get a bidirectional UART without going through the USB connector. Since both of the pads that could be used for MSS_UARTA_RX are wired to other peripherals on the AWR1642BOOST, the only option seems to be MSS_UARTB. I tried modifying the mmWave Demo by setting the pinmux to set P4 to RX for UARTB and then swapping the indices for the UART_open() calls for the command and logging UARTs so that UARTB became the command UART (since that uses full duplex). When I tried running this, I just got an endless stream of mmwDemo:/> prompts being output to the command port. It didn't appear to be listening. After a while, I realized this was probably happening because of the driver configuration I have described.