I have the Launchpad connected on the Debug ICDI with VCP using UART0.
I would like to use other UARTs discretely on the Booster pack headers but its confusing to me to see which UARTs are easiest to be used. I want to be able to use UART0 with additional UARTs. (At least one additional UART, preferably more)
I basically have 2 questions, one sw one hw:
1. My sw question:
I am looking at replicating the uart_echo sample for a different UART. Eventually I want to pass data between multiple UARTs using uDMA channels. The code currently uses UART_BASE0 to select the UART. But I dont understand why only UART0, UART1 and UART2 are defined as possible UARTs in uartstdio.c:
//*****************************************************************************
//
// The list of possible base addresses for the console UART.
//
//*****************************************************************************
static const uint32_t g_ui32UARTBase[3] =
{
UART0_BASE, UART1_BASE, UART2_BASE
};
Could uartstdio.c be expanded beyond UART2 or is there a hardware reason why only UART0,UART1 and UART2 are used in this mode?
2. My hw launchpad question: Which UARTs beyond UART0 are easiest to set up given the hardware connections?
I looked to use UART1 or UART2 given my possible restriction listed in question #1 above.
When I look at UART1 cannot find U1Rx or U1Tx in the boosterpack tables (But curiously I see other signals from UART1 brought out to the headers).
I do see UART2, U2Rx and U2Tx in 2 spots between boosterpack and breadboard connections:
A. Header pins A2-6, A2-7(GPIO PD4, PD5) This seems to be mixed up the CAN bus and JP4 and JP5. It seems that I would need to move IDCI from UART0 to UART4? I prefer to stay on UART0 until #1 is resolved.
B. Breadboard adapter pins 25, 27 (GPIO PA6, PA7). If I could manage to solder onto these pins, I'm concerned about the schematic note:
PA6 and PA7 are also used by the onboard radio.
Configure the radio to tri-state these GPIO before
using them on the boosterpack interface.
I see no mention of Radio elsewhere except in actual BoosterPacks. Is this a typo or how would I "Configure the radio to tri-state'?
Thanks for any help,
-Phil B