Quantcast
Viewing all articles
Browse latest Browse all 262198

CC3220SF-LAUNCHXL: CC3220 UART1 TX output appears on 2 pins at the same time

Part Number:CC3220SF-LAUNCHXL

I am adding UART support to the CC3220 project "shadow_sample_console_echo."

I am using UART1 as I believe UART0 is used by XDS110.

I find that regardless of how I configure the Tx/Rx pins for UART1 in CC3220SF_LAUNCHXL.c:

{
.baseAddr = UARTA1_BASE,
.intNum = INT_UARTA1,
.intPriority = (~0),
.flowControl = UARTCC32XX_FLOWCTRL_NONE,
.ringBufPtr = uartCC3220SRingBuffer[CC3220SF_LAUNCHXL_UART1],
.ringBufSize = sizeof(uartCC3220SRingBuffer[CC3220SF_LAUNCHXL_UART1]),
.rxPin = UARTCC32XX_PIN_59_UART1_RX,
.txPin = UARTCC32XX_PIN_58_UART1_TX,
.ctsPin = UARTCC32XX_PIN_UNASSIGNED,
.rtsPin = UARTCC32XX_PIN_UNASSIGNED
}

(I have tried Tx=pin58, tx=pin1, tx=pin7), that when I write to the uart:

UART_Params_init(&uartParams);
uart = UART_open(Board_UART1, &uartParams);
UART_write(uart, echoPrompt, sizeof(echoPrompt));

the data (as observed with a logic analyzer) always appears on BOTH pin1 and pin7.

Why can't I change the Tx output?

Why does it show up on 2 pins at the same time?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>