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

Who controls HREADY in AHB?

Note: This was originally posted on 5th March 2011 at http://forums.arm.com

Q1: Who controls HREADY in AHB?In FAQ, it is said: "General: Is HREADY an input or an output from slaves?
Applies to: AHB
An AHB slave must have the HREADY signal as both an input and an output.
HREADY is required as an output from a slave so that the slave can extend the data phase of a transfer.
HREADY is also required as an input so that the slave can determine when the previously selected slave has completed its final transfer and the first data phase transfer for this slave is about to commence.
Each AHB Slave should have an HREADY output signal (conventionally named HREADYOUT) which is connected to the Slave-to-Master Multiplexer. The output of this multiplexer is the global HREADY signal which is routed to all masters on the AHB and is also fed back to all slaves as the HREADY input."

Does it mean that it is slave that controls the HREADY?

If it is, if a master writes data into a slave, how can the slave know when the transmission is completed? that is to say, when to set HREADY to high or low?

Thanks a lot.
Parents
  • Note: This was originally posted on 6th March 2011 at http://forums.arm.com

    For example, when master 1 is writing 320 bytes to slave 1, the arbiter changes HGRANT1 to HGRANT2 when master1 only writes 160bytes,

    since HREADY is high on each valid data cycle, 
    does it mean that master1 has to handover the control to master 2 even he does not complete the transaction?

    Thanks a lot.
Reply
  • Note: This was originally posted on 6th March 2011 at http://forums.arm.com

    For example, when master 1 is writing 320 bytes to slave 1, the arbiter changes HGRANT1 to HGRANT2 when master1 only writes 160bytes,

    since HREADY is high on each valid data cycle, 
    does it mean that master1 has to handover the control to master 2 even he does not complete the transaction?

    Thanks a lot.
Children
No data