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.

UARTSmartCardEnable() halts UART's work

With TX and RX shorted and using pull-up resistor I succesfully got ATR sequence, PPS bytes 2 times (I presume one of them is because of tx and rx being shorted) and byte sequence (one time) using TI TM4C123. So, not understanding why did this happen I thought I'll try ISO 7816 support and check what I get. Hooked up I/O to Rx (pull-up added) and tried to send or get something with no success at all. What could be a problem?

Code for init:

void UART1Init(void){
    SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB);                    /* Enable PORT B which is used UART1 */
    SysCtlPeripheralEnable(SYSCTL_PERIPH_UART1);                    /* Enabling UART1 peripheral */
    
    while(!SysCtlPeripheralReady(SYSCTL_PERIPH_UART1)){        /* If peripheral is not configured, wait a bit */
    }
    
    GPIOPinConfigure(GPIO_PB0_U1RX);                                            /* Configure pins to make sure no other peripheral takes it after accidentally */
  GPIOPinConfigure(GPIO_PB1_U1TX);                        
    
  GPIOPinTypeUART(GPIO_PORTB_BASE, GPIO_PIN_0 | GPIO_PIN_1);

    UARTClockSourceSet(UART1_BASE, UART_CLOCK_SYSTEM);         /* Use System oscillator for UART1 */
    UARTStdioConfig(1, 9600, 50000000);                                  /* Configure UART1 baudrate using Main Clok */
    UARTParityModeSet(UART1_BASE, UART_CONFIG_PAR_EVEN);
    UARTSmartCardEnable(UART1_BASE);                                            /* Turning on Smart Card mode */
}