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

I2C_transfer() occasionally fails when called from an interrupt context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • TI Device Drivers
    • TIDRIVERS-3636
    • CORESDK_4_10_00
    • Hide
      CC13x0
      CC26x0
      Show
      CC13x0 CC26x0
    •  A current work around is to initiate all I2C transfers from a thread context.
    • I2C_transfer() calls made from an interrupt context when the driver is used in callback mode occasionally fail. In general, this is a niche use case.

      I2C_transfer() can be called from an interrupt context when the driver is used in callback mode. Based on test cases, an occasional failure may occur when a transaction is started from this context. Use i2c_transfer_hwi to investigate these random failures further.

      In general, this is a niche use case. I work around is to initiate all I2C transactions from a thread context.

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

              Created:
              Updated: