This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bit-band data size clarification

Parents
  • Note: This was originally posted on 17th August 2011 at http://forums.arm.com


    The one-bit per word mapping and data representation is fixed, however, the instruction dictates what size AHB transactions are used to perform the bit-band access.

    If the peripheral being accessed via the bit-band alias has different behaviour or limitations depending on whether it is accessed via an 8, 16 or 32-bit transaction, then LDRB/H can be used to select what size transaction is performed.

    hth
    s.


    Thanks for clarification!

    Could you give one example where a peripheral being accessed via  bit-banding alias has different behavior or limitations depending on  whether 8, 16 or 32 access?

    Thanks.
    Zhang Wei
Reply
  • Note: This was originally posted on 17th August 2011 at http://forums.arm.com


    The one-bit per word mapping and data representation is fixed, however, the instruction dictates what size AHB transactions are used to perform the bit-band access.

    If the peripheral being accessed via the bit-band alias has different behaviour or limitations depending on whether it is accessed via an 8, 16 or 32-bit transaction, then LDRB/H can be used to select what size transaction is performed.

    hth
    s.


    Thanks for clarification!

    Could you give one example where a peripheral being accessed via  bit-banding alias has different behavior or limitations depending on  whether 8, 16 or 32 access?

    Thanks.
    Zhang Wei
Children
No data