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

PINCC26XX shall not update PORTID bits when updating IOCFG register

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • High
    • Resolution: Fixed
    • TI Device Drivers
    • TIDRIVERS-4787
    • TIDRIVERS_5_30_00
    • Hide
      TIDRIVERS_5_50_00
      TIDRIVERS_5_40_00
      Show
      TIDRIVERS_5_50_00 TIDRIVERS_5_40_00
    • Hide
      CC13x2
      CC26x2
      Show
      CC13x2 CC26x2
    • If the application must modify the IOCFG register, it must perform a byte-wise write to the 3 MSBs .
    • PINCC26XX_setIoCfg() function has been updated to prevent potentially undefined behavior occurring on internal IO signals.

    Description

      Any 32-bit write to the IOCFG register which writes to the PORTID, WU_EN, or RTC_EN fields will trigger the SoC's internal finite state machine which could lead to undefined behavior. This trigger occurs even if the values of the bits are not changed. All the aforementioned bits are in the first byte of the IOCFG register (bits 0 - 7).

      Only way to avoid potentially undefined behavior is to do byte-wise write to the 3 most-significant bytes of the IOCFG register.

      This affects the PINCC26XX_setIoCfg() implementation as calls to this function may causes internal glitching on the IO lines and other undefined behavior.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: