my question is when it is aligned it is ok, but when it is unaligned. if we are sending the 4 byte data then, if starting address is 0x03 or 0x07 then at the address of 0x03 or 0x07 which byte of data will be stored. whether it is 1st or 2nd or 3rd or 4th byte ? and what about remaining bytes?
On a 32 bit data bus, if you signalled AWSIZE = 0x2 (4 bytes) then the 4th byte would be stored. The other bytes would be discarded as the address used indicates that these are not to be accessed.
In your attached diagram, the greyed out boxes are indicate the bytes that will not be stored with the above combination of transaction attributes.