UART_read returns 0 in portable after a power-cycle on CC13x0 and CC26x0 devices

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • TI Device Drivers
    • TIDRIVERS-3635
    • 3.80.00
    • TIDRIVERS_4_20_NEXT
    • Hide
      On the portable (and portableNative) examples, the UART_read in the console thread returns 0 on the first read after a power cycle. The example currently takes this as an error and closes the UART.

      A simple work-around is to either:

      1. Delay the first UART_read until the UART is stabilized after the power cycle. We've found the following enough of a delay.

         ** for (i = 0; i < 100000; i++)

      { }
      2. Don't treat the zero return as an error. Instead simply call UART_read again.
      Show
      On the portable (and portableNative) examples, the UART_read in the console thread returns 0 on the first read after a power cycle. The example currently takes this as an error and closes the UART. A simple work-around is to either: 1. Delay the first UART_read until the UART is stabilized after the power cycle. We've found the following enough of a delay.    ** for (i = 0; i < 100000; i++) { } 2. Don't treat the zero return as an error. Instead simply call UART_read again.

      UART_read returns 0 in portable after a power-cycle on CC13x0 and CC26x0 devices

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-1781 - UART_read returns 0 in portable aft...
                SYNCHRONIZED
                • Last Sync Date: