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

I2SCC26XX incorrectly calculates dmaBuffSizeConfig in MONO mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • TI Device Drivers
    • TIDRIVERS-3808
    • CORESDK_4_10_01
    • TIDRIVERS_5_10_00
    • Hide
      CC13x2
      CC26x2
      Show
      CC13x2 CC26x2

      The driver will halve dmaBuffSizeConfig when in mono mode in dual phase type.

      This results in the interrupts being fired 2x as often as expected.

      From the TRM:

      "Mono: I2S:AIFWMASKx.MASK = 0x01

      • Input: Left (0) channel is stored to memory.

      • Output: Left (0) channel is fetched from memory and is repeated for the right channel"

       

      This means we shouldn't need to halve the buffer size because only useful samples will be stored by DMA. So the driver should take full advantage of whatever is set in  fixedBufferLength. The h/w will handle ignoring the other samples for us.

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

              Created:
              Updated:
              Resolved: