Why we have steup phase in apb

I was reading apb spec and there is state diagram. so if we want to transfer any data then why we have setup phase, we can just move to access phase like no need of penb signal, handshaking can done by only psel and prdy signal.

In reply to satyajeett:

The psel signal is used to select a specific peripheral, and the penb signal is used to enable or activate the selected peripheral. The APB protocol has a setup phase followed by an access phase:

Setup Phase (penb asserted):
During the setup phase, the peripheral is selected (psel is asserted) and enabled (penb is asserted).
The address (paddr) and write data (pwdata) may be driven during this phase.


rahulvala@gmail.com
Freelancer/verification engineer
https://www.linkedin.com/in/rahulvala/