Skip to content

I3C Master does not get NACKs when RECOVERY FIFO is full #4154

Open

Description

@apatil-26
  • Caliptra Version(s) 2.0.2
  • Caliptra Mode Subsystem Mode

The OCP recovery spec at i3c-core/doc/source/recovery_flow.md at v1p5-msft · antmicro/i3c-core · GitHub suggests checking for I3C NACKs to know the fifo status. It is expected to receive NACK at I3C master side when it tries to write when FIFO is full.

Actual Observation:

While testing on HAPS we observed BMC does not get NACK when FIFO is full. It seems I3C target discards the data written by BMC when FIFO is full.

Test we performed at our end:

Write 256 byte of data from Host controller back to back
No I3C Driver NACK observed.
Target discards the second chunk of data silently.

Working Flow:
To perform the complete OCP recovery flow E2E, we are checking the FIFO status and only writes to FIFO when it is empty

Activity

  1. self-assigned this
    on Aug 31, 2026
  2. mhatrevi commented on Sep 2, 2026

    @mhatrevi
    Collaborator

    Based on my initial review, this appears more likely to be an I3C hardware/RTL issue than a Caliptra firmware issue. I3C-core/hardware owners should investigate the expected NACK behavior when the recovery FIFO is full.

    In the meantime, the BMC-side recovery software, acting as the I3C master, can continue polling the FIFO status before sending the next data chunk as a temporary workaround.

  3. clayton8 commented on Sep 2, 2026

    @clayton8

    Hi, this is an I3C spec issue. There is no way to NACK this transaction because the only ACK/NACK window is before we know you are targeting the FIFO
    image

    BMC needs to wait for FIFO_EMPTY and then write the next 256B.

  4. apatil-26 commented on Nov 4, 2026

    @apatil-26
    Author

    Hi Clayton Kuchta, Need spec update to reflect the same

  5. naveen253199 commented on Nov 12, 2026

    @naveen253199

    @clayton8 , wondering if there is any update on this?

  6. clayton8 commented on Nov 16, 2026

    @clayton8

    Changes were made in chipsalliance/i3c-core#243 they will be available in the next v1p6 release. It will take a little bit of time for these to show up in main.

  7. naveen253199 commented on Dec 3, 2026

    @naveen253199

    @clayton8 . Thanks, and any tentative ETA is available as its been 2 weeks already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions