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

PINCC26XX shall not update PORTID bits when updating IOCFG register

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • TI Device Drivers
    • TIDRIVERS-4786
    • TIDRIVERS_4_20_03
    • TIDRIVERS_4_20_04
    • Hide
      CC13x0
      CC26x0
      Show
      CC13x0 CC26x0
    • 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.

      Any 32-bit write to the IOCFG register which writes to the PORTID field 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.

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

              Created:
              Updated:
              Resolved: