Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify padding requirements for write channel #93

Merged
merged 2 commits into from
Mar 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions source/hw-spec/controller/channels/write_channel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ Write Word Alignment
---------------------

Hardware implementations of controllers might require a :ref:`word
size<write-word-alignment-reg>` greater than 8 bits. In that case, the host will
keep the specified sample sizes and just add padding bytes with the value 0xFF
at the end of a frame to align with the required word size. The controller must
ignore these padding bytes.
size<write-word-alignment-reg>` greater than 8 bits. In this case
the host MUST add after every frame transmission, single- or multi-sample,
as many padding bytes with the value 0xFF as needed to comply with alignment
requirements. No other modifications to frame transmission must occur.

.. note:: Contrary to the :ref:`Read Channel<read-word-alignment>`,
word alignment requirements on the Write Channel do not entail
any modification of the ``Write_Sample_Size`` field of the :ref:`dev-desc`.