Other Parts Discussed in Thread: ENERGIA
I want to connect a gps geceiver, a gsm modem and a tm4c123gxl to cc3200. How can I accomplish it as cc3200 only have 2 uarts.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Because CC3200 have only two UARTs you can communicate at on moment only with two devices. You will need multiplex one of the UARTs (UART will be shared). For this purpose you can use external MUX chip or use internal pinmux (see API PinTypeUART()).
Let say you want use UART0 with pins 55, 57 and 4, 3:
// use pins 4, 3 for RX, TX UART0 PinTypeUART(PIN_03, PIN_MODE_7); PinTypeUART(PIN_04, PIN_MODE_7); // use pins 57, 55 for RX, TX UART0 PinTypeUART(PIN_55, PIN_MODE_3); PinTypeUART(PIN_57, PIN_MODE_3);
Jan