Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9278

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

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Medium
    • Resolution: Unresolved
    • 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.

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: