Hi Experts,
I am using the tiva dk-tm4c123g(H6PGEI36A79QWG4) board to set up multiple UARTs.
Generally speaking, the board is good with detailed output pins and easy to connect.
My question has two parts:
1. how do i setup UART2 in software level.
2. how do i have voltage for PD6(U2RX) and PD7(U2TX)?
I am eager to know why no voltage on PD6.7...
here is what I defined in source code:
#define GPIO_PORT_BASE GPIO_PORTD_BASE
#define GPIO_PIN_TX GPIO_PIN_7
#define GPIO_PIN_RX GPIO_PIN_6
#define UART_BASE UART2_BASE
#define INT_UART INT_UART2
#define SYSCTL_PERIPH_GPIO SYSCTL_PERIPH_GPIOD
I config the pins and interrupts to make UART2 to be working, maybe buggy but I leave the question later.
Currently, first step, I have to have voltage for PD6.7.
I am wondering if any "jumper" needs to be used to get voltage on pin?
Cheers,
mh